Geir Egeland wrote:

Hi,
The error message i get using os.system(cmd) is :

AttributeError: 'module' object has no attribute 'system'

So, this doesn't seem to work...
Doing a help(os) does not show the 'system' command under available functions.
Any other suggestions?


Some of the exec* options are available. Try those.

Regards,

Fuzzy
http://www.voidspace.org.uk/python/index.shtml


regards, geir egeland

Ed Blake wrote:

Also you may need to specify the path to the target application as WinCE has
no concept of an environment.


--- Stewart Midwinter <[EMAIL PROTECTED]> wrote:



Darn, I forgot my PDA at home so I can try this out.  My suggestion
would be to see if os.system() is available, and use that. If Pocket
Internet Explorer's file name is iexplore.exe, do something like the
following

#import sys, os
sys.path.append('\\Program Files\\Python\\Lib')
cmd = "iexplore.exe http://www.cbc.ca";
os.system(cmd)

Note that your Python app is still running, but unable to do anything
else, while iexplore is running, if you use this approach.  To unlock
the Python app, use a different approach, like execv or popen or its
variants.

Let us know if this works!

cheers
S



On Thu, 13 Jan 2005 10:04:55 +0100, Geir Egeland <[EMAIL PROTECTED]>
wrote:


Hi,
How can I launch Internet Explorer from a python program ?

-- Stewart Midwinter [EMAIL PROTECTED] [EMAIL PROTECTED] _______________________________________________ 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




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

Reply via email to