We start by installing Python 3, then review 3 ways to write and run a Python program on Mac.
The 3 ways to write and run a Python program covered in this video are:
1. Use IDLE, which is an IDE that comes with the Python installation.
2. Use any text editor (in my case I use Atom) to write a Python program, then run the program using the Terminal window.
3. Using Visual Studio Code (or simple VS Code), which is considered one of the best IDEs for Python.
Installing Python 3 on Mac can be confusing due to the existence of Python 2 which comes pre-installed on all Mac OS. However, Python 2 and Python 3 can coexist on the same machine, so we do not need to uninstall Python 2 before installing Python 3.
To install Python 3, there are no prerequisites and the installation is quite simple.
Running your Python code can be confusing for beginners, so in this video we cover 3 different ways or 3 different editors that can be used to start writing and running Python code.
When running Python code through IDLE, it is essential to run the RUN command from the text editor and then view the output in the IDLE interpreter.
While the text editor does not have the functionality to run the program by itself, we use the Terminal window to run the program.
Visual Studio Code (or simple VS Code) along with PyCharm, Jupiter Notebook and a few others are considered one of the best IDEs for Python. That's why in this video we show how VS Code can be used to write and run a Python program.
The video aims to help beginners get started installing the Python programming language on Mac and show several ways to start writing and running Python code.
Reference links:
Python download:
https://www.python.org/downloads/
Downloading Visual Studio code:
https://code.visualstudio.com/download
Atom Download:
https://atom.io/
Don't hesitate to like, subscribe and click the notification bell to be notified of my latest videos.
WATCH MORE VIDEOS HERE
SQL Tutorial – Basic Concepts:
https://www.youtube.com/playlist?listPLavw5C92dz9HQQ_COgGb7kf_1H8UWUBxO
SQL Tutorial – Intermediate Concepts:
https://www.youtube.com/playlist?listPLavw5C92dz9FD9XspliRM_HZM_jK7tkii
SQL Tutorial – Advanced Concepts:
https://www.youtube.com/playlist?listPLavw5C92dz9GbmgiW4TWVnxhjMFOIf0Q7
Practice solving basic SQL queries:
https://www.youtube.com/playlist?listPLavw5C92dz9F66P3GFo5O6nJ4DfZNhVsp
Practice solving intermediate SQL queries:
https://www.youtube.com/playlist?listPLavw5C92dz9EIYmNXJ8ZtQ1bmLIpt0SpV
Practice solving complex SQL queries:
https://www.youtube.com/playlist?listPLavw5C92dz9Fahr7taauUx5RnTfuGyL–
Professional guidance in data analytics:
https://www.youtube.com/playlist?listPLavw5C92dz9FDsr995DjwCy9XNaIukb8P
SQL courses, recommendations from the SQL training platform:
https://www.youtube.com/playlist?listPLavw5C92dz9GqF1Q_zn8KnYvFgtEOh-2n
Python tutorial:
https://www.youtube.com/playlist?listPLavw5C92dz9FePZXIo4jpsupqp3X0w2SW
Git and GitHub tutorial:
https://www.youtube.com/playlist?listPLavw5C92dz9EI1MPlqqDpe3bgr8RJZE0b
Data Analysis Projects:
https://www.youtube.com/playlist?listPLavw5C92dz9HwT_uStsDdJbuBOt_XD0ch
THANK YOU,
Thouiq
Please take the opportunity to connect and share this video with your friends and family if you find it useful.
No Comments