andy senoaji wrote: > Thanks Danny & Alan, > > your print repr(os.listdir("C:/")) has embarrased myself :(. I found out > the file name is Test.txt.txt in my c: drive. I guess I learn something > here.
If you tell Windows not to hide file extensions you won't make that mistake again. On my computer (Win2k) it is under Tools / Folder Options / View / Hide file extensions for known file types. Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor