- Original Message -
From: "Ed Blake" <[EMAIL PROTECTED]>
To:
Sent: Thursday, April 13, 2006 12:19 AM
Subject: Re: [PythonCE] Problem calling python
>
> I've been wondering about that. Don't you get the full path to a script
> when
> it is run?
I've been wondering about that. Don't you get the full path to a script when
it is run? Otherwise how would Python know where to find the file it's
supposed to execute? How can you open a file without knowing where it is?
And if you do know where a script is being run from - shouldn't that be
ge -
From: "Ali Sabil" <[EMAIL PROTECTED]>
To: "Luke Dunstan" <[EMAIL PROTECTED]>
Sent: Wednesday, April 12, 2006 1:13 AM
Subject: Re: [PythonCE] Problem calling python
> Hi again
>>
>> Running python from the command prompt works for me. Did you
Hi again
Running python from the command prompt works for me. Did you type the
full path to hello.py? If so what is the exact command you used and
what was the "current directory" in the command prompt?
i didn't use a full path, hello.py was in the current directory, when
run with an absolute
- Original Message -
From: "Ali Sabil" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, April 11, 2006 2:54 AM
Subject: [PythonCE] Problem calling python
> Hi all,
>
> I have some trouble running python files.
>
> If i open a shell (or whatever you call it) and ty
Hi all,
I have some trouble running python files.
If i open a shell (or whatever you call it) and type: python hello.py
it starts python then says :
Traceback(innermost last)
NULL:NULL
If i edit the registry thingies, and associate .py with python with
something like this :