How to read a directory path from a txt file

Samuel Kamau wachkama at gmail.com
Mon Jun 2 10:18:25 EDT 2014


I have created a txt file with various paths to directories. The paths look like this
/home/wachkama/Desktop/api/genshi
/home/wachkama/Desktop/www/portal/schedule
/home/wachkama/Desktop/show/help.genshi

How do i read this paths in python ?



More information about the Python-list mailing list