I\'m not a Python developer, but I\'m using a Python script to convert SQLite to MySQL
The suggested script gets close, but no cigar, as they say.
The line g
How about
line = line.replace("'t'", "THIS_IS_TRUE").replace("'f'", "THIS_IS_FALSE")
without using re. This replaces all occurrences of 't' and 'f'. Just make sure that no car is named t.
re
't'
'f'
t