[Tutor] (no subject)

qsqgeekyogdty at tiscali.co.uk qsqgeekyogdty at tiscali.co.uk
Wed May 28 16:14:38 CEST 2008


Hello,
(Sorry if this message gets double posted)

I have been looking at using Beautifulsoup python module to make 
changes to some static html files a total of 167 files, but being a 
newb in programming was wondering first how to open, read/process the 
file, then write it, close it and then open the next file thus creating 
the loop.

Can someone post me a simple example of doing this loop for a given 
directory.
Thanks
David



________________________
What can Tiscali do for you? http://www.tiscali.co.uk/services



More information about the Tutor mailing list