mcfletch / simpleparse

SimpleParse parser generator using mxTextTools (launchpad mirror)
Other
10 stars 12 forks source link

enabled running example in Python 3 #2

Open PanderMusubi opened 6 years ago

jaraco commented 6 years ago

The comment and commit don't match. You're not enabling the example to run under Python 3. You could have run it under Python 3 before with python3 examples/printable-unicode.py (Unix) or py -3 examples/printable-unicode.py (Windows).

Moreover, the file isn't executable, and even if it was, the .py extension makes it unsuitable as a command.

Can you explain your motivation for adding the shebang to this file? What issue does it fix for you?