Python Beginner Tutorial #1 - Installation and First Program
Skills:
Python for Data80%
Key Takeaways
This video tutorial covers the installation of Python and writing the first program using the IDLE development environment, including downloading and installing Python, setting up the environment, and running the first Python script.
Full Transcript
what is going on guys welcome to this Python tutorial series for beginners today's first episode will be about the installation of Python and writing our first program but before we get into that let me quickly tell you some things about the series first of all it is for complete beginners if you don't know anything about Python or programming in general don't worry you've come to the right place we're going to learn everything from scratch here however you can still watch this as an intermediate programmer since I'll be going into a lot of depth here and you'll definitely be able to learn something you just make sure you watch all the videos in the right order because they built on one another besides that there's not much to say except for some reasons to learn Python I guess most of you are probably already convinced that learning Python is a very good idea but for those of you who aren't let me quickly tell you why it is Python is a very simple and easy to learn language for beginners also it is extremely popular and has a great community it is the most widely used language for machine learning and data science but nevertheless it is still a general-purpose language that you can do almost everything with however if you're implementing some very resource-intensive occations like 3d games or if you want to program on a hardware level language like C or C++ might be a better choice in general Python is a great programming language to learn and that's especially the case for beginners so let us get into the installation to download Python we need to visit the official Python website there we have to go to the download area and click the button that downloads the latest version of Python you can find a link to this page in the description down below on windows you just download the setup file and save it to your desktop if you're using Linux or Mac you'll probably already have a Python version installed on your computer however it is probably not the newest one so you might consider updating it from your terminal or on this website when the download is finished you can run the setup file and you'll see a window that looks like this now here the essential thing is that you click the check box at the bottom that says add Python to path this is important because otherwise we'll not be able to access python from the command line when you've done that click on install now and wait for the setup to finish this might take a while so I'm going to skip this part when the installation is done we can close the install and check if Python was installed correctly to do this we're going to open our command line from the Start menu just type CMD and it will open up in this terminal we now type Python to run the Python shell if it installed correctly you'll see a shell like this opening up with the Python version that you installed now that we know we've installed Python properly we can start with the programming to open up our development environment we type idle into our Start menu this stands for integrated development and learning environment and it is the default editor that we're going to use in the beginner videos when you run it you'll see the same shell that we saw in the terminal before here we can directly input Python commands and statements that get executed immediately however this is not the place where we are going to write our Python code we're going to write our Python code in files and to create a new file we click on file new file and you can see this empty script opens up here we can now put all of our code and a code of today's video is just print hello world what it does it is basically outputs the text hello world onto the screen we're basically just calling the so called function print and this function accepts a so called parameter in between the parentheses there we put the text that we want to print out onto the screen in this case this is hello world but of course you can change it if you want notice that we're using quotation marks you to indicate that what we pass is an actual text this is important because otherwise we will get an error whenever some value is a text it will be surrounded by quotation marks in Python now let's run our script by clicking on run run module first we'll need to save the file on our computer I will save it on my desktop and name it hello py then it runs and here you can see the result hello world so that is our first program the hello world program we can be proud of ourselves in the next video we're going to talk about variables and data types so keep watching and make sure you subscribe to this channel if you want to see more also hit the like button if you're in this video and feel free to ask questions or give feedback in the comment section down below thank you very much for watching and see you in the next video bye [Music] you
Original Description
Python is the most popular programming language in the fields of machine learning and data science. It is very easy to learn and beginner friendly. In this first part of this tutorial series, we install Python and write our first program with it.
Download Python: https://www.python.org/downloads/
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
💻 The Algorithm Bible Book: https://www.neuralnine.com/books/
🐍 The Python Bible Book: https://www.neuralnine.com/books/
👕 Programming Merch: https://www.neuralnine.com/shop
🌐 Social Media & Contact 🌐
📱 Website: https://www.neuralnine.com/
📷 Instagram: https://www.instagram.com/neuralnine
🐦 Twitter: https://twitter.com/neuralnine
🤵 LinkedIn: https://www.linkedin.com/company/neuralnine/
📁 GitHub: https://github.com/NeuralNine
🖥️ My Coding Setup 🖥️
⌨️ Keyboard: http://hyperurl.co/neuralkeyboard
🖱️ Mouse: http://hyperurl.co/neuralmouse
🖥️ Monitor: http://hyperurl.co/neuralmonitor
🎙️ Microphone: http://hyperurl.co/neuralmicrophone
✏️ Drawing Tablet: http://hyperurl.co/neuraldraw
🎵 Outro Music From: https://www.bensound.com/
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from NeuralNine · NeuralNine · 2 of 60
1
▶
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Visualizing Stock Data With Candlestick Charts in Python
NeuralNine
Python Beginner Tutorial #1 - Installation and First Program
NeuralNine
Python Beginner Tutorial #2 - Variables and Data Types
NeuralNine
Python Beginner Tutorial #3 - Operators and User Input
NeuralNine
Python Beginner Tutorial #4 - If Statements and Conditions
NeuralNine
Python Beginner Tutorial #5 - Loops
NeuralNine
Python Beginner Tutorial #6 - Sequences and Collections
NeuralNine
Python Beginner Tutorial #7 - Functions
NeuralNine
Python Beginner Tutorial #8 - Exception Handling
NeuralNine
Python Beginner Tutorial #9 - File Operations
NeuralNine
Python Beginner Tutorial #10 - String Functions
NeuralNine
Python Intermediate Tutorial #1 - Classes and Objects
NeuralNine
Python Intermediate Tutorial #2 - Inheritance
NeuralNine
Python Intermediate Tutorial #3 - Multithreading
NeuralNine
Python Intermediate Tutorial #4 - Synchronizing Threads
NeuralNine
Python Intermediate Tutorial #5 - Events and Daemon Threads
NeuralNine
Python Intermediate Tutorial #6 - Queues
NeuralNine
Python Intermediate Tutorial #7 - Sockets and Network Programming
NeuralNine
Python Intermediate Tutorial #8 - Database Programming
NeuralNine
Python Intermediate Tutorial #9 - Recursion
NeuralNine
Python Intermediate Tutorial #10 - XML Processing
NeuralNine
Python Intermediate Tutorial #11 - Logging
NeuralNine
Python Data Science Tutorial #1 - Anaconda and PyCharm Setup
NeuralNine
Python Data Science Tutorial #2 - NumPy Arrays
NeuralNine
Python Data Science Tutorial #3 - Numpy Functions
NeuralNine
Python Data Science Tutorial #4 - Plotting Functions With Matplotlib
NeuralNine
Python Data Science Tutorial #5 - Subplots and Multiple Windows
NeuralNine
Python Data Science Tutorial #6 - Matplotlib Styling
NeuralNine
Python Data Science Tutorial #7 - Bar Charts with Matplotlib
NeuralNine
Python Data Science Tutorial #8 - Pie Charts with Matplotlib
NeuralNine
Python Data Science Tutorial #9 - Plotting Histograms with Matplotlib
NeuralNine
Python Data Science Tutorial #10 - Scatter Plots with Matplotlib
NeuralNine
Python Data Science Tutorial #11 - 3D Plotting with Matplotlib
NeuralNine
Python Data Science Tutorial #12 - Pandas Series
NeuralNine
Python Data Science Tutorial #13 - Pandas Data Frames
NeuralNine
Python Data Science Tutorial #14 - Pandas Statistics
NeuralNine
Python Data Science Tutorial #15 - Pandas Sorting and Functions
NeuralNine
Python Data Science Tutorial #16 - Pandas Merging Data Frames
NeuralNine
Python Data Science Tutorial #17 - Pandas Queries
NeuralNine
Python Machine Learning Tutorial #1 - What is Machine Learning?
NeuralNine
Python Machine Learning Tutorial #2 - Linear Regression
NeuralNine
Python Machine Learning Tutorial #3 - K-Nearest Neighbors Classification
NeuralNine
Python Machine Learning #4 - Support Vector Machines
NeuralNine
Python Machine Learning Tutorial #5 - Decision Trees and Random Forest Classification
NeuralNine
Python Machine Learning Tutorial #6 - K-Means Clustering
NeuralNine
Python Machine Learning Tutorial #7 - Neural Networks
NeuralNine
Python Machine Learning Tutorial #8 - Handwritten Digit Recognition with Tensorflow
NeuralNine
Generating Poetic Texts with Recurrent Neural Networks in Python
NeuralNine
Stock Portfolio Visualization with Matplotlib in Python
NeuralNine
Analyzing Coronavirus with Python (COVID-19)
NeuralNine
Making Text Images Readable Again with Python and OpenCV
NeuralNine
Neural Networks Simply Explained (Theory)
NeuralNine
Motion Filtering with OpenCV in Python
NeuralNine
Top 5 Programming Languages To Learn in 2020
NeuralNine
Simple TCP Chat Room in Python
NeuralNine
Image Classification with Neural Networks in Python
NeuralNine
Edge Detection with OpenCV in Python
NeuralNine
S&P 500 Web Scraping with Python
NeuralNine
Simple Sentiment Text Analysis in Python
NeuralNine
Introduction - Algorithms & Data Structures #1
NeuralNine
More on: Python for Data
View skill →Related Reads
📰
📰
📰
📰
while loops in Python: repetition with a condition
Dev.to · Javi Palacios
Building an Open-Source Python Projects Community: Join the Journey
Medium · Programming
Building an Open-Source Python Projects Community: Join the Journey
Medium · Python
Making fundamentals and advanced concepts very clear
Reddit r/learnprogramming
🎓
Tutor Explanation
DeepCamp AI