Python Insert Into String Before Substring Mysql Tutorial