I found this Perl script while migrating my SQLite database to mysql
I was wondering (since I don\'t know Perl) how could one rewrite this in Python?
Bonus point
Real issue is do you know actually how to migrate the database? What is presented is merely a search and replace loop.