Python Query
ns56645
ns56645 at swt.edu
Sun Mar 5 21:00:56 EST 2000
Hi,
Can anybody give me a code for the following in python:
Program which does directory listing and everything that is a directory,
the program puts the word "Directory" in front of it.
The output should be as follows:
a1.txt
r1.bat
k1 Directory
a2.txt
r2.txt
k2 Directory
because k1 and k2 are directories
Thanking you in anticipation
Shah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20000305/2f112c4b/attachment.html>
More information about the Python-list
mailing list