Re: Escape spaces in strings

2005-05-12 Thread Andrew Dalke
Florian Lindner wrote: > is there a function to escape spaces and other characters in string for > using them as a argument to unix command? In this case rsync > (http://samba.anu.edu.au/rsync/FAQ.html#10) It's best that you use the subprocess module and completely skip dealing with shell escapes.

Re: Escape spaces in strings

2005-05-12 Thread Jp Calderone
On Fri, 13 May 2005 00:49:21 +0200, Florian Lindner <[EMAIL PROTECTED]> wrote: >Hello, >is there a function to escape spaces and other characters in string for >using them as a argument to unix command? In this case rsync >(http://samba.anu.edu.au/rsync/FAQ.html#10) > >Thx, > >Florian Yes, but y

Escape spaces in strings

2005-05-12 Thread Florian Lindner
Hello, is there a function to escape spaces and other characters in string for using them as a argument to unix command? In this case rsync (http://samba.anu.edu.au/rsync/FAQ.html#10) Thx, Florian -- http://mail.python.org/mailman/listinfo/python-list