"Jordan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
l = os.listdir(unicode(os.getcwd()))
Other options to get the same result: l = os.listdir(os.getcwdu()) l = os.listdir(u'.')Oddly, os.getcwd() and os.getcwdu() both still exist in Python 3.0. Since the behavior is now identical it seems os.getcwdu() should be dropped.
-Mark -- http://mail.python.org/mailman/listinfo/python-list