How to Install Python on Mac OS and How to Run Python code

preview_player
Показать описание
How to install Python on Mac OS and How to write and execute or run your first Python program on Mac OS will be covered in this video.
We start by installing Python 3 and then go through 3 ways to write and execute Python program on Mac.
3 ways to write and execute Python program covered in this video are:
1. Using IDLE, which is an IDE that comes along with Python installation.
2. Using any text editor (in my case I use Atom) to write python program and then execute the program using Terminal window.
3. By using Visual Studio Code (or simple VS Code), which is considered as one of the best IDE for Python.

Installing Python 3 on Mac can be confusing due to the existence of Python 2 which is preinstalled on all Mac OS. However, Python 2 and Python 3 can co-exist on the same machine hence we do not need to uninstall Python 2 before installing Python 3.

To Install Python 3, there are no prerequisites, and the installation is pretty straight forward.
To run your Python code may be confusing for beginners hence in this video we cover 3 different ways or 3 different editors which can be used to get started with writing and running python code.

When executing python code through IDLE, it’s essential to execute the RUN command from the text editor and then view the output in IDLE interpreter.
Whereas text editor does not have the functionality to run program by itself hence we use Terminal window to run the program.
Visual Studio Code (or simple VS Code) along with PyCharm, Jupiter Notebook and few others are considered as one of the best IDE for Python hence in this video we show how VS Code can be used to write and Run Python program.

The video is aimed at helping beginners to get started with installation of Python programming language on Mac and by showing multiple ways to start writing and executing Python code.

Reference Links:
Python Download:

Visual Studio Code Download:

Atom Download:

Please like, subscribe and click on the notification bell to be notified of my latest video’s.

🔴 WATCH MORE VIDEOS HERE 👇

✅ SQL Tutorial - Basic concepts:

✅ SQL Tutorial - Intermediate concepts:

✅ SQL Tutorial - Advance concepts:

✅ Practice Solving Basic SQL Queries:

✅ Practice Solving Intermediate SQL Queries:

✅ Practice Solving Complex SQL Queries:

✅ Data Analytics Career guidance:

✅ SQL Course, SQL Training Platform Recommendations:

✅ Python Tutorial:

✅ Git and GitHub Tutorial:

✅ Data Analytics Projects:

THANK YOU,
Thoufiq
Рекомендации по теме
Комментарии
Автор

I was genuinely so confused on just where I could practice coding this helped so much thank you

keatonmorehead
Автор

Hit like if you plan to learn Python in 2024

MrShaikhkabir
Автор

You're literally a lifesaver, dude. Since most python tutorials on the Internet are geared towards Windows users, i was getting confused while trying to start learning python. Love how your video is easy to understand and always to the point. Keep up the good work!! 👍

praveendissanayake
Автор

Thank you! You have no idea how genuinely confused I was on where to start with Python. Your presentation was truly helpful!

chiaraongkiko
Автор

Even though this was 2 years ago, I just wanted to say thank you so much for making this video. I am taking a CS class in college, but I don't know the first thing about it. You are a lifesaver.

shabbir.akhtar
Автор

Oh I was confused out of my mind because the tutorial I found first was telling ‘same like Windows do in McOS’ and it is not the same! This helped very much! Thank you

sunkara
Автор

This has been the most impactful & immediately accessible resource I've seen on Python. I was able to follow along & feel like I was really accomplishing something. Amazing. Thank you!

ultrxxu
Автор

I didn't understand VS code and how to use python on it.
This video helped me a lot.
Very easy explanation and understandable, Thanks!👌

Xyro_
Автор

For more than two days I was trying to find how to practice python on idle and this was the only video that helped me. Thanks a lot

ingridguri
Автор

You made getting python up and running for simple commands being used in tutorials easy, thank you !!!

WayneDowning
Автор

Very nicely explained setup process👌🏻 Glad that you choose to make a video on python since it’s one of the best programming language right now.
Just love your content🔥👌🏻
Would like to see more in-depth videos on SQL & Python😊Cheers✌🏻

mohammedshahil
Автор

Whoa! Just learning that command really blows my mind & is so cool. I’m ready for the more commands to come !

brooklynboyzfixedgearpov
Автор

ur the first one to actually explain it so well dude appreciate ur content

nataliar
Автор

This was fantastic! I was so confused with the options until I came acorss this video! You made it so easy to understand!

lzwvhlm
Автор

This was the best tutorial so far for installing and running Python. Thank you so much!

alyssareaves
Автор

Thank you so much! Before finding this video I watched 20 other ones trying to figure this out. You are a life saver!!!

sojyhcv
Автор

Hey. Thanks for helping me getting started on this. I wanted to do 'machine learning' but postponing it for a while. Finally started it. Glad I found your channel. 😄

sarthaktrivedi
Автор

OMG Thank you so much! This was so clear and easy for me. I am trying to earn my certificate from a free program but the video that was attached was confusing me. I somehow found yours and it all became clear. 🙌🏾

NoName-otkl
Автор

Thank you, not only did you show us how to download it but you showed us a bunch of methods on how to run it, that's awesome.

luisv
Автор

Thanks! It was really helpful, now I know how to start learning Python, before your video I didn't even know how to start doing anything with python

_andry