0

I would like to use python3 as my default python when working with the terminal. If I added the line alias python=python3 in my ~/.bashrc, could that cause problems with other programs?

mivkov
  • 162
  • 1
    No it should not. See https://askubuntu.com/questions/320996/how-to-make-python-program-command-execute-python-3 Do note this comment: https://askubuntu.com/questions/320996/how-to-make-python-program-command-execute-python-3#comment407721_320996 – Rinzwind Jun 23 '18 at 15:48
  • Better to just use python3 in all your commands. And in your python programs you must use python3. #!/usr/bin/env python3 as first line. – oldfred Jun 23 '18 at 17:47

0 Answers0