Kodi Community Forum
HELP: with Pythonscript - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+--- Thread: HELP: with Pythonscript (/showthread.php?tid=93443)



HELP: with Pythonscript - michaeldecharon - 2011-02-07

I've been trying to change a script to handle Homeseer.

Can someone help me out, how to execute the following line in Python:

D:\HTPC applicaties\HomeSeer HSPRO\HSC\hsc.exe -x Q8 off


- linuxluemmel - 2011-02-07

import os is your friend ./(


- michaeldecharon - 2011-02-07

linuxluemmel Wrote:import os is your friend ./(

Linuxluemmel,

Thanks!

But do you have a example commandline?

I'm very new to python...


- cosmicr - 2011-02-08

http://docs.python.org/library/os.html#os.system