Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
Re: python syntax
Jeroen Ruigrok van der Werven
1/7/2008 11:01:00 AM
-On [20080107 11:46], mpho raborife (mraborife@yahoo.com) wrote:
>os.system("HCopy -T 1 -C" 'os.path.join(conf_dir, "/hcopy.conf")' "-S"
>'os.path.join(list_dir, "hcopy_list.txt")')
I would guess you would want this:
os.system("HCopy -T 1 -C" + os.path.join(conf_dir, "/hcopy.conf") + "-S" +
os.path.join(list_dir, "hcopy_list.txt"))
But I'd personally not use such a contracted syntax, it makes detecting
failure on any of the three function calls difficult.
--
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
ã?¤ã?§ã?«ã?¼ã?³ ã?©ã?¦ã??ã?ã??ã?¯ ã?´ã?¡ã?³ ã??ã?« ã?¦ã?§ã?«ã?´ã?§ã?³
http://www.in-n...
|
http://www.ra...
If I promise you the Moon and the Stars, would you believe it..?
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: python syntax
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password