Ricardo Aráoz wrote: > Roger Lovelock wrote: >> OK - (and remembering I am a bit of a Python novice myself and others may >> suggest better ways) - 2 ways to do it :- >> 1/ Go into a Command window (remember DOS!!), go to your project directory >> and then give the command >> c:\python25\python <path to your ide folder>\CxnEditor.py >> 2/ Another way is to set up Windows so that all files with the extension >> .py are opened by c:\python25\python - then you can just double click the >> file in explorer etc - but my advice is ALWAYS run any IDE program in the >> home directory of your project - avoids lots of potential pitfalls with >> files ending up in the wrong place etc >> > Well, if you go #2 you'll have the CxnEditor open with the IDE folder as > the current directory, not the project directory. > As I've already suggested, a menu entry that allows you to choose the > default directory would ease all this.
There is another way: Create a batch file anywhere in your path (for example in c:\Python25). Call the batch file "daboCxnEditor.bat" Put the following line in your batchfile: python c:\yourpath2dabo\ide\CxnEditor.py Of cause replace "c:\yourpath2dabo" with your path to dabo. Now if you open a commandline, cd to your project directory and type: daboCxnEditor the CxnEditor will be opened with the right current directory. In modern times users seem to be so much used to click on icons that they don't know about the most basic things any more. Uwe _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
