2008-06-28, 11:32
Hi,
I'm trying to develop my first script in Python over XBMC/Windows, but have been having trouble getting it to work:
Trial #1 - os.system
===============
import os
os.system('xxx')
RESULT (xbmc log)
12:27:17 T:184 M:703119360 INFO: os.system(cmd)
12:27:17 T:184 M:703119360 INFO: AttributeError
12:27:17 T:184 M:703119360 INFO: :
12:27:17 T:184 M:703119360 INFO: 'module' object has no attribute 'system'
Trial #2 - subprocess.Popen
=====================
Can't find msvcrt module
...
I would appreciate any idea on the subject.
Thanks!
I'm trying to develop my first script in Python over XBMC/Windows, but have been having trouble getting it to work:
Trial #1 - os.system
===============
import os
os.system('xxx')
RESULT (xbmc log)
12:27:17 T:184 M:703119360 INFO: os.system(cmd)
12:27:17 T:184 M:703119360 INFO: AttributeError
12:27:17 T:184 M:703119360 INFO: :
12:27:17 T:184 M:703119360 INFO: 'module' object has no attribute 'system'
Trial #2 - subprocess.Popen
=====================
Can't find msvcrt module
...
I would appreciate any idea on the subject.
Thanks!