How to read a directory path from a txt file

2014-06-02 Thread Samuel Kamau
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 ? -- https://mail.python.org/mailman/listinfo/python-list

Re: How to read a directory path from a txt file

2014-06-02 Thread Chris Angelico
On Tue, Jun 3, 2014 at 12:18 AM, Samuel Kamau wachk...@gmail.com wrote: 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

Re: How to read a directory path from a txt file

2014-06-02 Thread Rustom Mody
On Monday, June 2, 2014 7:48:25 PM UTC+5:30, Samuel Kamau wrote: 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

Re: How to read a directory path from a txt file

2014-06-02 Thread Mark Lawrence
On 02/06/2014 15:18, Samuel Kamau wrote: 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 ?

Re: How to read a directory path from a txt file

2014-06-02 Thread Samuel Kamau
On Monday, June 2, 2014 10:18:25 AM UTC-4, Samuel Kamau wrote: 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

Re: How to read a directory path from a txt file

2014-06-02 Thread Denis McMahon
On Mon, 02 Jun 2014 08:13:23 -0700, Samuel Kamau wrote: I have permission issues with my web server. Hacks to fix permissions problems are dangerous. There is probably a better way to fix this issue. -- Denis McMahon, denismfmcma...@gmail.com --

Re: How to read a directory path from a txt file

2014-06-02 Thread Samuel Kamau
On Monday, June 2, 2014 12:24:59 PM UTC-4, Denis McMahon wrote: On Mon, 02 Jun 2014 08:13:23 -0700, Samuel Kamau wrote: I have permission issues with my web server. Hacks to fix permissions problems are dangerous. There is probably a better way to fix this issue. --