0

Terminal in MacBook

How to use python in terminal ? Its not taking the print command.

28th Jul 2018, 9:21 AM
Yudhvir
Yudhvir - avatar
1 Réponse
+ 1
I never used a mac, but in linux, you just have to type python3, to start the python interpreter and then you can use python. If you want to create python scripts, save them as .py and run them with python3 pathtoscript. But it is better to use an IDE like Pycharm.
28th Jul 2018, 12:04 PM
Moritz Vogel
Moritz Vogel - avatar