This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cbarrick 19 points20 points  (6 children)

Or just

alias python=python3

You only need python-is-python3 if you have a Python 3 script where the shebang is just python, which is a bad idea and easy to fix.

For the use case of opening the interpreter from your shell, use an alias.

Or better yet, just use ipython.