[Baypiggies] Python script to modify a large # of HTML files?

Sean Perry shaleh at speakeasy.net
Fri Apr 6 21:47:26 EDT 2018


Make it work for one. The BeautifulSoup package is nice for HTML.

Then use find on Linux or OSX to apply it to all of the files.


On April 6, 2018 1:54:57 PM PDT, Bill Deegan <bill at baddogconsulting.com> wrote:
>Greetings,
>
>I'm working a website which has html docs for many old versions of the
>tool.
>Ideally I'd add the google analytics snippet to them all.
>
>Anyone have a nice python script to do something like this?
>
>Thanks,
>Bill

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20180406/087e8aa1/attachment.html>


More information about the Baypiggies mailing list