problem with listdir

jimgardener jimgardener at gmail.com
Sat Apr 26 13:56:31 EDT 2008


> * Run cmd.exe and see if you can run "dir f:\\code\\python\pgmgallery/*.*"
>

that causes a message 'Invalid switch - "*.*".'

> * Try using other directories under F: drive in your program and see> when you start hitting the problem.

i tried that..on some directories in the same drive  this gives
correct result and returns a list of filenames.however the error
occurs on other directories ,looks like a weird windows problem!



More information about the Python-list mailing list