Hi guys,
Has anyone successfully got python3 to work on a mac?
I am trying to learn python, and have a book that teaches python3. my Mac only have python 2.7.2. So I install python3, yet every time I try to run a program I have written, it tries to run in python 2 and stops with syntax errors.
I know my code is good, it is a tiny program the problem is with
'print (end=" ")'
Which works with python3 but not python2.
How can I get this to work, so that I can learn this language easier? oh, and without compromising my mac.
Python3 doesn't have to be default, but I need to know how to run executables with it
Kind regards
Jonny
Has anyone successfully got python3 to work on a mac?
I am trying to learn python, and have a book that teaches python3. my Mac only have python 2.7.2. So I install python3, yet every time I try to run a program I have written, it tries to run in python 2 and stops with syntax errors.
I know my code is good, it is a tiny program the problem is with
'print (end=" ")'
Which works with python3 but not python2.
How can I get this to work, so that I can learn this language easier? oh, and without compromising my mac.
Python3 doesn't have to be default, but I need to know how to run executables with it
Kind regards
Jonny