hauntsaninja / pyp

Easily run Python at the shell! Magical, but never mysterious.
MIT License
1.41k stars 39 forks source link

Is / will there be any push to convert pyp to Python 3? #17

Closed rpural closed 4 years ago

rpural commented 4 years ago

Now that Python 2 is retired, will there be a push to convert pyp to Python 3?

rpural commented 4 years ago

After installing with pip install --user pyp, I get the following:

(base) rpn01@R5057499 ~ 0 $ pyp -h File "/Users/rpn01/.local/bin/pyp", line 542 print Colors.YELLOW + macro_name , "successfully saved!" + Colors.OFF ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(Colors.YELLOW + macro_name , "successfully saved!" + Colors.OFF)? (base) rpn01@R5057499 ~ 0 $

hauntsaninja commented 4 years ago

Hello! Thanks for checking this project out! You're installing https://github.com/hauntsaninja/pyp#pyed-piper-aka--python-power-at-the-prompt — a much older, unmaintained project from where I took the command name.

As specifically mentioned in https://github.com/hauntsaninja/pyp#installation, the command to install this project has an extra "yp", pip install pypyp. This project in fact only supports Python 3.6 and later.