Python Find Line In String Sql