Hi,

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,


If it is not a production-grade script, you can just do

python -m SimpleHTTPServer

from your bash after getting into the folder that you want to server.
Python will server it for you :) Thanks



-- 
Thank you
Balachandran Sivakumar

Arise Awake and stop not till the goal is reached.
                                                             - Swami Vivekananda

Mail: benignb...@gmail.com
Blog: http://benignbala.wordpress.com/
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to