[BangPypers] Listing files in a folder using python
benignbala at gmail.com
Tue Feb 26 13:15:27 CET 2013
On Tue, Feb 26, 2013 at 8:19 AM, T S KAMATH <tsk.kamath at 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
Arise Awake and stop not till the goal is reached.
- Swami Vivekananda
Mail: benignbala at gmail.com
More information about the BangPypers