Re: [Pydev-users] How to run a Python file without the .py extension in Aptana?
Brought to you by:
fabioz
From: Fabio Z. <fa...@gm...> - 2015-05-23 22:51:29
|
Hi there, Well, in PyDev you can just open the file with the PyDev editor (i.e.: right-click > open with > PyDev editor) and press F9 with the editor open (as you'd run any file). Still, I know Aptana has an older version of PyDev, so, I can't really attest that it'll work (but this definitely works in the latest version). Cheers, Fabio On Fri, May 22, 2015 at 1:49 PM, inhahe <in...@gm...> wrote: > I'm trying to run Limnoria (a fork of Supybot, an IRC bot written in > Python) in Aptana, but the name of the main Python file for > Supybot/Limnoria doesn't have an extension, it's just "supybot". When I try > to run it in Aptana, it just loads it in Firefox. I can't rename it to .py > because when I do that it incorrectly tries to import itself instead of the > Supybot library. How can I run the file? > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > > |