Hi,
 
You will need to pass the script name as an absolute path. See also: http://pythonce.sourceforge.net/Wikka/UsingPythonCE
 
Luke
 
----- Original Message -----
Sent: Wednesday, June 28, 2006 8:09 PM
Subject: Re: [PythonCE] Command line

 
السلام عليكم ورحمة الله وبركاته
May peace and Allah Mercy and Blessings be upon you,
 
Thanks for replying, I thought nobody will!
 
Yes I have tested it in the CMD (www.symbolictools.de)
 
like this:
cd program files\python24\
start python.exe t.py
 
 
in t.py:
 
f=file('pp.txt','w')
f.write('Besmellah')
f.close()
 
 
it gaves this error:
 
 
Traceback (innermost last):
<NULL>: <NULL>
 
 
Also I want to be able to hide the file (hidden startup) is this possible?
 
Thanks
 

لا إله إلا الله
There is no god but Allah
 
----- Original Message -----
Sent: Wednesday, June 28, 2006 2:51 PM
Subject: Re: [PythonCE] Command line

 
Hi,
 
Yes, you can run Python scripts by passing them on the command line to python.exe. This is what happens when you double-click a script. Are you having trouble in some way?
 
Luke
 
----- Original Message -----
Sent: Sunday, June 25, 2006 7:00 PM
Subject: [PythonCE] Command line

السلام عليكم ورحمة الله وبركاته
May peace and Allah Mercy and Blessings be upon you,
 
Can I execute a .py as a commandline parameter to pythonce, giving that python is installed on the device?
 
eg.
start python.exe t.py (-hidden?)
 
Thanks
 

لا إله إلا الله
There is no god but Allah
 


_______________________________________________
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


_______________________________________________
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce
_______________________________________________
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce

Reply via email to