Python argv issue

HenriG

Bit poster
I run Windows XP (family) on Parallels v7.0 on my MacBook pro.
A Python program that used to work properly is now failing.
The sys.argv function returns only the script name, and is missing the parameters.
The python script is launched from a .bat file : .\Make-Genea.py Chaumont all

the python code :

print ('Starting now : ', stamp)
basename = 'Empty'
print ("Argv :", sys.argv)

the resulting messages :

Starting now : 2011-09-29 16:33:06
Argv : ['Z:\\Users\\Henri\\Desktop\\Genea\\Livres\\Make-Genea.py']

Any idea?

Thanks
Henri
 
Back
Top