[EMAIL PROTECTED] wrote: > >I get "SyntaxError: EOL while scanning single-quoted string", which is >what should happen when you escape the double-quotes at the end. Not >sure how you're getting that WindowsErrors. > >If I do os.listdir('c:\python24') instead, it works fine.
Yes, but only by accident. It will fail again if you try to do os.listdir('c:\tmp'). You need to use the right quoting. -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list