Help Need In Coding
Alec D. Cheah
cheah at comline.com.my
Thu Oct 18 03:13:20 EDT 2001
i'm using Python 2.1
How do verified from input the variable entered is a file or a path
and how do you check whether it exist or not??
now let say ... i just specified input a value "xxx.java" i just want
to check whether it exist in a current directory or subdirectory of
current directory depending on how many directory level you have. if
not a file then check whether it a directory????
In this case it will do a searching base on the input value.
Help...
Newbie on Python....
More information about the Python-list
mailing list