[PythonCE] Problem calling python

Ali Sabil hybrid at tuxfamily.org
Mon Apr 10 20:54:41 CEST 2006

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)

If i edit the registry thingies, and associate .py with python with 
something like this :

@="\"\\Program Files\\Python24\\python.exe\" \"%1 %2 %3 %4 %5 %6 %7 %8 %9\""

I get the same exact effect when clicking on hello.py ... now if i use

@="\"\\Program Files\\Python24\\python.exe\" \"%1\""

It works, or at least almost, since it complains about import failure 
for some modules.
The problem now is that i cannot run python from a shell, and i need 
this to build a .bat that setup the environment.

Concerning the import failure, i don't know, but it's weird since the 
same code works perfectly on my linux box.

Thank you for your help


-------------- next part --------------
A non-text attachment was scrubbed...
Name: hybrid.vcf
Type: text/x-vcard
Size: 124 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonce/attachments/20060410/e7750ec4/attachment.vcf 

More information about the PythonCE mailing list