On 3/06/2011 4:30 PM, Jacob Kruger wrote:
What I'm doing is trying to open a text file, but if it's not there, then I
tell the code to exit(), and while it works when running the source code using
the python executable, after I have run the code through py2exe, and then try
testing it, I get t
> Jacob Kruger wrote:
>
> Either way, seems that while did have the import statement higher up in that
> file for the sys module, maybe there was something interfering with that,
> since when changed that statement to sys.exit() it's now working without
> any issues.
I think you haven't yet caug
rit...'
>
>
> ----- Original Message ---
>
> Subject: Re: [python-win32] 'exit is not defined'
> From: "Amaury Forgeot d'Arc"
> Date: Fri, 3 Jun 2011 09:43:47 +0200
> To: Jacob Kruger
>
>>Hi,
>>
>>2011/6/3
, but not his spirit...'
- Original Message -------
Subject: Re: [python-win32] 'exit is not defined'
From: "Amaury Forgeot d'Arc"
Date: Fri, 3 Jun 2011 09:43:47 +0200
To: Jacob Kruger
>Hi,
>
>2011/6/3 Jacob Kruger :
>> What I
What I'm doing is trying to open a text file, but if it's not there, then I
tell the code to exit(), and while it works when running the source code using
the python executable, after I have run the code through py2exe, and then try
testing it, I get the following message:
Traceback (most recen