Gallo_Pinto
Joined: 15 Jul 2005
Posts: 785
Location: BC, Canada
|
Posted: Sat Jul 30, 2005 6:47 pm Post subject: Python code to modify many html files. |
|
|
I'm working on a web page for myself. Because I'm often indecisive about my designs, I wanted a method to modify all of my html files at once. A friend of mine wrote some python code that was supposed to edit the html to change the background colour. (from bgcolor = "CCCCCC" to bgcolor = "FFFFFF").
The python file can be found at:
http://trempel.rbsstech.com/temp/search.py
If anyone out there knows any python and can tell me why it's not working, I'd very much appreciate it. We've made three or four changes from the original code already, and it hasn't seemed to help.
it asks me for the folder, I type it in, and then the window closes, nothing is edited.
thanks, though I know it's a long shot. _________________ brush your hair and comb your teeth |
|