I
Ishwor
hi check your seperator variable in the os module.
for example
'\\'
Now what you do is :-
Have a look at the error below which is same as yours. The seperator
variable is put after the drive name and not before the drive name.
Traceback (most recent call last):
File "<pyshell#21>", line 1, in -toplevel-
os.listdir("\\c");
WindowsError: [Errno 3] The system cannot find the path specified: '\\c/*.*'
In Linux this would be somewhat like thisIn general use the most platform independent variable names (e.g
os.sep) unless you intend the program to be used only by yourself.
[snip]
for example
'\\'
Now what you do is :-
Have a look at the error below which is same as yours. The seperator
variable is put after the drive name and not before the drive name.
Traceback (most recent call last):
File "<pyshell#21>", line 1, in -toplevel-
os.listdir("\\c");
WindowsError: [Errno 3] The system cannot find the path specified: '\\c/*.*'
In Linux this would be somewhat like thisIn general use the most platform independent variable names (e.g
os.sep) unless you intend the program to be used only by yourself.
[snip]