running IDLE from another program?
John Salerno
johnjsal at NOSPAMgmail.com
Sat Apr 1 19:22:33 EST 2006
Kent Johnson wrote:
> John Salerno wrote:
>> Kent Johnson wrote:
>>
>>> The working directory must be wrong. Try calling Python directly with
>>> full paths:
>>>
>>> C:\Python24\pythonw C:\Python24\Lib\idlelib\idle.pyw -r C:\path\to\myprog.py
>>
>> Perfect! Thank you so much!
>>
>> I put this line in the command line field, and I left "working
>> directory" empty because I'm not sure what goes there. Should it be the
>> main python directory, or the directory of the file being run? Either
>> way, it seems to work without a working directory.
>
> Great! I would set the working directory to the dir containing your
> program. That way if you have multiple modules in the program you will
> be able to import them without any trouble.
>
> Kent
Ok, thanks again! I love how this works now! :)
More information about the Python-list
mailing list