sjvasquez / handwriting-synthesis

Handwriting Synthesis with RNNs ✏️
4.36k stars 595 forks source link

Modernize Python 2 code to get ready for Python 3 #2

Closed cclauss closed 6 years ago

cclauss commented 6 years ago

Make the minimal, safe changes required to convert the repo's code to be syntax compatible with both Python 2 and Python 3. There may be other changes required to complete a port to Python 3 but this PR is a minimal, safe first step.

Run: futurize --stage1 -w */.py

See Stage 1: "safe" fixes http://python-future.org/automatic_conversion.html#stage-1-safe-fixes