[Tutor] python interpreter vs bat file
Dinesh B Vadhia
dineshbvadhia at hotmail.com
Sun Jul 19 07:25:53 CEST 2009
Not much more information available. Have a batch file (eg. 'test.bat') with entries:
python "program a.py"
python "program b.py"
python "program c.py"
python "program e.py"
One of the programs (eg. 'program c.py') fails with a memory error when performing a pickle.dump:
Traceback (most recent call last):
File "....py", line 176, in pickleObject
pickle.dump(self, f, 2)
When the programs are run in the same order from the Python interpreter there are no memory errors. This has happened before and it seems odd behavior.
From: Jeff Johnson
Sent: Saturday, July 18, 2009 3:24 PM
To: Dinesh B Vadhia
Cc: tutor at python.org
Subject: Re: [Tutor] python interpreter vs bat file
Need more information. Python works on Windows as good as anything
else. Maybe even better.
Dinesh B Vadhia wrote:
> During recent program testing, I ran a few Python programs from a
> Windows XP batch file which causes a memory error for one of the
> programs. If I run the same set of programs from the Python interpreter
> no memory error occurs. Any idea why this might be?
jeff at dcsoftware.com
Phoenix Python User Group - sunpiggies at googlegroups.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor