I'm guessing you're having trouble getting the python script to work, right? If you're having trouble with that, make sure that you've got the script saved in the same folder as the two text files and the gcode file you're trying to convert. Attached is the targets.txt file for converting testfile3.gcode and testfile2.g, so you can model your own targets file after that. The two file types (.gcode and .g) are interchangeable, but Python gets confused if you call it testfile3.g but it's saved as testfile3.gcode.
I'm sorry you're running into issues, I'll update my instructions so that people can better understand what I meant. Thank you for bringing up your issue and for your patience, I wish you the best of luck!