how to know whether the item in a diretory is a file/directory

sdf wqh-2 at 263.net
Tue Jul 31 21:52:39 EDT 2001


I want to process all the files in a diretory,and ignore the subdirectorys in it
,I use  os.listdir() to list all the items,but I do not know whether the selected
item is a file
__________________________________________

DVD´óƬ£¬Ò»ÂÉ10Ôª  http://shopping.263.net/category02.htm
ÃÀÈÝÑøÑÕ¡¢¼õ·ÊÊÝÉíÃؾ÷  http://shopping.263.net/category10.htm








More information about the Python-list mailing list