Python in mac terminal | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Python in mac terminal

Hello, when i type python in the mac terminal, it starts python and i can code in python. But is the standard library also onboard?

21st Jul 2016, 11:05 AM
Andreas Kilian
Andreas Kilian - avatar
3 Answers
0
I'd bet it will have Python 2.7, but it should have all the standard Python 2 libraries. I think you can check by typing which Python in the terminal. For the most part it's the same, in my experience more people use 2, but this course uses 3, so you may want to install 3 if you're used to it
21st Jul 2016, 12:32 PM
Spencer
Spencer - avatar
0
Can i write a complete script in such a terminal python? Or only short input output
21st Jul 2016, 2:15 PM
Andreas Kilian
Andreas Kilian - avatar
- 1
Yes. You are right!
21st Jul 2016, 11:44 PM
Владимир Соловьев
Владимир Соловьев - avatar