Support for Python 3 (Gedit 3.8+)

Hello, I did some of changes in your code to work on Gedit 3.8+, basically I changed some imports and did adjustments when working with strings, I also put those prints commands under comments because Gedit seems slow when we're wrinting big programs, that because the bigger the program these prints get more texts to printing, and it consumes OS resourses. You still can remove the comments for test.

Regards