<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi all,<br>I'm using following code...<br><br>for x in listdir(path)<br> some code.....<br><br>but how i can check whether x is a directory or not?<br>Because listdir() is giving all the files present in that path....<br><br>Thanks in advance.<br></div></div><br>
<!--1--><hr size=1></hr> Why delete messages? Unlimited storage is <a href="http://in.rd.yahoo.com/tagline_mail_1/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/">just a click away.</a></body></html>