Problem calling python

Ali Sabil <[email protected]>
Newsgroups gmane.comp.python.windows-ce
Message-ID <[email protected]>
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 :

[HKEY_CLASSES_ROOT\pyfile\Shell\Open\Command]
@="\"\\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

[HKEY_CLASSES_ROOT\pyfile\Shell\Open\Command]
@="\"\\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

--
Ali

_______________________________________________
PythonCE mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pythonce
hybrid.vcf (text/x-vcard, 125 B)
begin:vcard
fn:Ali Sabil
n:Sabil;Ali
email;internet:[email protected]
x-mozilla-html:FALSE
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.