Instead of saving text files i need as html

bruno at modulix onurb at xiludom.gro
Thu Jun 8 13:46:02 EDT 2006


Shani wrote:
> I have the following code which takes a list of urls
> "http://google.com", without the quotes ofcourse, and then saves there
> source code as a text file. I wan to alter the code so that for the
> list of URLs an html file is saved.

What you write in a text file is up to you  - and AFAICT, HTML is still
a text format.


-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list