[python-uk] invalid syntax

Zeth theology at gmail.com
Mon Jul 21 17:08:12 CEST 2008


In addition to what others have said,

2008/7/21 suhail shaik <suhailsqm at gmail.com>:
>     command = "./hive2 -k kf/"+file+"/ -o "+file+".xml /data/test/"+fileName
>     print command
>     os.system(command)

Whatever you are trying to do here, you might want to try doing purely
in Python instead of mixing in shell. Doing it all in Python will make
your script more likely to work cross-platform.


More information about the python-uk mailing list