I didn't read the whole PHP code, but I guess you are trying to scan a
directory for files, etc. This can be accomplished using the os.walk
function in Python - http://docs.python.org/2/library/os.html#os.walk

Regards,
BG

On Tue, Feb 26, 2013 at 8:19 AM, T S KAMATH <tsk.kam...@gmail.com> wrote:
> as a newbie to python, I am looking for some advance examples for some 
> functions.. so that my learning curve is short..
>
> I have used a code in php 
> http://www.php.net/manual/en/function.scandir.php#109115, which works fine,
>
> My question is can a similar featured listing be done in Python.. if you 
> could guide me it would be great..
>
>
> _______________________________________________
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers



--
Baishampayan Ghose
b.ghose at gmail.com
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to