python syntax
Guilherme Polo
ggpolo at gmail.com
Mon Jan 7 06:31:52 EST 2008
2008/1/7, mpho raborife <mraborife at yahoo.com>:
> Please help me get this syntax right:
>
> os.system("HCopy -T 1 -C" 'os.path.join(conf_dir, "/hcopy.conf")' "-S"
> 'os.path.join(list_dir, "hcopy_list.txt")')
>
import os
import subprocess
subprocess.Popen(["HCopy", "-T", "1", "-C", os.path.join(conf_dir,
"hcopy.conf"),
"-S", os.path.join(list_dir, "hcopy_list.txt")])
>
>
> ________________________________
> Looking for last minute shopping deals? Find them fast with Yahoo! Search.
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
-- Guilherme H. Polo Goncalves
More information about the Python-list
mailing list