Re: uniicode and executing a process with subprocess.call, or os.system

2009-07-25 Thread Martin v. Löwis
> I am very confused about unicode. Can someone point me in the right > direction? Try Python 3.1. This should accept Unicode strings directly for sp.call, so you wouldn't need to encode first. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: uniicode and executing a process with subprocess.call, or os.system

2009-07-19 Thread Rick King
Thanks. I looked around for alternatives but didn't find this one. Rick Chris Rebert wrote: On Sat, Jul 18, 2009 at 3:30 PM, Rick King wrote: Hello, I want to copy files using subprocess.call or os.system where the file names are non-ascii, e.g. Serbian(latin), c's and s's with hacheks,etc.

Re: uniicode and executing a process with subprocess.call, or os.system

2009-07-18 Thread MRAB
Rick King wrote: Hello, I want to copy files using subprocess.call or os.system where the file names are non-ascii, e.g. Serbian(latin), c's and s's with hacheks,etc. Windows stores all the file names in unicode so they are displayed ok in explorer, and I can read them into my program with lis

Re: uniicode and executing a process with subprocess.call, or os.system

2009-07-18 Thread Chris Rebert
On Sat, Jul 18, 2009 at 3:30 PM, Rick King wrote: > Hello, > I want to copy files using subprocess.call or os.system where the file names > are non-ascii, e.g. Serbian(latin), c's and s's with hacheks,etc. Windows > stores all the file names in unicode so they are displayed ok in explorer, > and I

uniicode and executing a process with subprocess.call, or os.system

2009-07-18 Thread Rick King
Hello, I want to copy files using subprocess.call or os.system where the file names are non-ascii, e.g. Serbian(latin), c's and s's with hacheks,etc. Windows stores all the file names in unicode so they are displayed ok in explorer, and I can read them into my program with listdir(u'.'), etc.