Verifying My Troublesome Linkage Claim between Python and Win7

Gib Bogle g.bogle at auckland.no.spam.ac.nz
Tue Feb 23 22:29:01 CET 2010


W. eWatson wrote:
> On 2/23/2010 11:14 AM, Gib Bogle wrote:
>> W. eWatson wrote:
>>> On 2/23/2010 8:26 AM, Rick Dooling wrote:
>>>> No telling what Windows will do. :)
>>>>
>>>> I am a mere hobbyist programmer, but I think real programmers will
>>>> tell you that it is a bad habit to use relative paths. Use absolute
>>>> paths instead and remove all doubt.
>>>>
>>>> http://docs.python.org/library/os.path.html
>>>>
>>>> RD
>>> You may be right. The actual 300 line program just reads the folder
>>> without specifying any path. I'm not that familiar with os path, but
>>> have seen it used.
>>
>> How do you invoke the program? Do you use a Command Prompt window?
> IDLE, but I'm prett sure I tried it (300 lines) with Cprompt.

I don't know what you mean by "300 lines".  Have you opened a Command Prompt 
window, changed to the directory where you copied the files, and executed:
python your_prog.py
?



More information about the Python-list mailing list