Got a question in this context. If i would like to edit an html file.
suppose i want to edit the values of href tags or the img tags, what should
i do?
should I
1. read the file as string,
2.parse it for the tags,
3.edit the tags
4.and then replace the tags by the editted tags
5.delete the main file
6. write a new one with the same name?

Or there is any python module to get this job done?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to