Erik Bethke wrote:
Hello All,

sorry for all the posts... I am *almost* there now...

okay I have this code:

import sys, os

      encoding = locale.getpreferredencoding()
      htmlpath = os.getcwd()
      htmlpath = htmlpath.decode( encoding )

You might want to try os.getcwdu() instead of this. According to http://www.python.org/doc/2.4/lib/os-file-dir.html this has been added in Python 2.3 and should work on Windows.

Bye,
   Walter Dörwald
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to