<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#330099">
<font face="Verdana">Thanks. I looked around for alternatives but
didn't find this one.<br>
Rick<br>
</font><br>
Chris Rebert wrote:
<blockquote
 cite="mid:50697b2c0907181606n2af8577ew3ad178f0463fa2d8@mail.gmail.com"
 type="cite">
  <pre wrap="">On Sat, Jul 18, 2009 at 3:30 PM, Rick King<a class="moz-txt-link-rfc2396E" href="mailto:rickbking@comcast.net"><rickbking@comcast.net></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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. and work with
the names in the program.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
You should try one of the copying functions in the shutil module
instead, it'll be much simpler than using subprocess:
<a class="moz-txt-link-freetext" href="http://docs.python.org/library/shutil.html">http://docs.python.org/library/shutil.html</a>

Cheers,
Chris
  </pre>
</blockquote>
</body>
</html>