Python Tutorial – Python Full Course for Beginners
Python tutorial – Python full course for beginners – Go from Zero to Hero with Python (includes machine learning & web development projects).
? Want to master Python? Get my Python mastery course:
? Subscribe for more Python tutorials like this:
? Watch the new edition:
? Get my FREE Python cheat sheet:
Want to learn more from me?
Courses:
Twitter:
Facebook:
Blog:
#Python, #MachineLearning, #WebDevelopment
? Supplementary Materials (Spreadsheet):
? Python Exercises for Beginners:
⭐ My Favorite Python Books
– Python Crash Course:
– Automate the Boring Stuff with Python:
– A Smarter Way to Learn Python:
– Machine Learning for Absolute Beginners:
– Hands-on Machine Learning with scikit-learn and TensorFlow:
TABLE OF CONTENT
00:00:00 Introduction
00:01:49 Installing Python 3
00:06:10 Your First Python Program
00:08:11 How Python Code Gets Executed
00:11:24 How Long It Takes To Learn Python
00:13:03 Variables
00:18:21 Receiving Input
00:22:16 Python Cheat Sheet
00:22:46 Type Conversion
00:29:31 Strings
00:37:36 Formatted Strings
00:40:50 String Methods
00:48:33 Arithmetic Operations
00:51:33 Operator Precedence
00:55:04 Math Functions
00:58:17 If Statements
01:06:32 Logical Operators
01:11:25 Comparison Operators
01:16:17 Weight Converter Program
01:20:43 While Loops
01:24:07 Building a Guessing Game
01:30:51 Building the Car Game
01:41:48 For Loops
01:47:46 Nested Loops
01:55:50 Lists
02:01:45 2D Lists
02:05:11 My Complete Python Course
02:06:00 List Methods
02:13:25 Tuples
02:15:34 Unpacking
02:18:21 Dictionaries
02:26:21 Emoji Converter
02:30:31 Functions
02:35:21 Parameters
02:39:24 Keyword Arguments
02:44:45 Return Statement
02:48:55 Creating a Reusable Function
02:53:42 Exceptions
02:59:14 Comments
03:01:46 Classes
03:07:46 Constructors
03:14:41 Inheritance
03:19:33 Modules
03:30:12 Packages
03:36:22 Generating Random Values
03:44:37 Working with Directories
03:50:47 Pypi and Pip
03:55:34 Project 1: Automation with Python
04:10:22 Project 2: Machine Learning with Python
04:58:37 Project 3: Building a Website with Django
(VERY IMPORTANT TIP FOR PEOPLE WATCHING!)
Do not try watching the entire video at once. Limit your watch time from 30 or 60 minutes each day and make sure to participate and understand the code. This will take around a week to complete, but it will save you from feeling like you’re not good enough. Don’t rush yourself. Limit and pay attention!
EDIT: It also helps if you take notes or take a picture of the final result of the lesson. It is very helpful to look at when you’re away from your computer. If you forget, you have a chance to examine the code and see how and why things work.
@Tiandi i learn as much as i can then test my self with online tests if I feel like I don’t understand a thing I come back and watch it again
me doing the same
Thanks for the tip:) this helped me a lot.
wow thank you
Great tip
? Want to master Python? Get my Python mastery course: http://bit.ly/35BLHHP
? Subscribe for more Python tutorials like this: https://goo.gl/6PYaGF
Hey mosh the cheat sheet seems like cannot open.
i’m using python 3.10 version did all the applications are same in python 3.7 and 3.10
For the first Command to print my name it’s printing HI pycharm instead of my name pls help
@dipansh kapoor Only learning python will get you a job and some freelancing but it’s better to always seek to learn more language as other people with much better history and experience in coding will always have higher chance of being hired. I suggest you not only stick with python but rather maximize your profile. Hope this helped 🙂
@Diego Correa music.csv content:
age,gender,genre
20,1,HipHop
23,1,HipHop
25,1,HipHop
26,1,Jazz
29,1,Jazz
30,1,Jazz
31,1,Classical
33,1,Classical
37,1,Classical
20,0,Dance
21,0,Dance
25,0,Dance
26,0,Acoustic
27,0,Acoustic
30,0,Acoustic
31,0,Classical
34,0,Classical
35,0,Classical
I’ve known this man only for 6 hours, but I feel like I owe him 6 decades of gratitude. Thankyou for this awesome tutorial!
@Amadeus thank you so much, ive been trying to find this
And this is another version https://programmingwithmosh.com/wp-content/uploads/2019/02/Python-Cheat-Sheet.pdf
hey, if you have the cheat sheet, could you please share that since the original link is dead.
Mosh, I cannot overstate how impressed I am with this course. Demystified Python for me. Thanks.
Wow, I have searched the internet for hours from the top companies google, Microsoft, LinkedIn, and all those otherwise you have to pay to learn python, and I have went through all of those the first day or two and nobody teaches it as simple and straightforward and easy as Dr Mosh
Thank you and please keep up your hard work
Dude you are a beast. 6:14:06 of quality, free instruction, while providing a notes sheet. I don’t think this can be beat.
OMG Mosh I love your courses!!! two months ago I was a Sql rookie and I watch your SQL tutorial. Now I have been able to finish all the easy SQL questions in Leetcode! Thank you Mosh!!! and I believe that I will definitely learn Python well through your tutorial!!!❤️
I have only watched the first 2 minutes of the course and I’m super exited and optimistic about learning python with you ?
Extremely well explained tutorial. This is the kind of a video that you are looking for if you want to learn python from scratch.
Many many thanks!!
Thank you very much for this course. The python lessons are so good structured and organised.
With you we arrive to learn very fast.
I wish you good luck for further explanation. I appreciate videos for explanation of the data structures.
Hi, Mosh! I’m really loving your course, I’m finally understanding and learning Python. I have one doubt in 2nd car game exercise. When we do the modifications you suggested and write “quit”, the result is no longer “I don’t understand that…”, because the main command became False, right (“while True:” became false)?
In this case, without making a “bad code”, should we rewrite like this (I marked the changes with an “->” for easy visualization)?
command = “”
->start = 0
->stop = 0
while True:
command = input(“> “).lower()
if command == “help”:
print(“””
start – to start the car_game
stop – to stop the car_game
quit – to exit
“””)
if command == “start”:
if start == 0:
print(“Car started… Ready to go!”)
-> start += 1
else:
print(“Car is already started!”)
if command == “stop”:
if stop == 0:
print(“Car stopped.”)
-> stop += 1
else:
print(“Car is already stopped!”)
elif command == “quit”:
break
else:
print(“I don’t understand that…”)
This course has literally changed my life. 2 years ago i started learning python from this course and now i am a software engineer intern at a great startup. Thanks Mosh♥️
@Rishabh Verma Rishabh he didn’t missed constructor please check it !
That’s a great testimony.
Success to us all
Super
congrats bro
Congrats! I hope you like your job and are doing well.
My goal is to become backend developer after learning this course. This course is very interesting. I appreciate your hard work. After the completion of this course, I will also learn Django from your channel because you explain all the things in a very easy and cool manner. Thank you sir .
29:03
in case you’re wondering, in the newer versions of python you can multiply an integer by a float.
I printed the following in python 3.10.4 with no issue:
print( int(pound_weight) * 0.4535)
You always have been able to
@Anonymous404 Oh wait. You’re right. I wasn’t paying attention very well. lol
@Anonymous404 ? did you click the time stamp? It clearly doesn’t work in the video.
@TheSnowman all good
@TheSnowman thats with strings, not ints lol. Im wondering if _you_ watched the clip ?
Great mosh sir,
What a clear explanation step by step and one after the other. Actually, you did a very great work by making this python tutorial in 6 hours which is very tough task to manage all the contents and concepts in a clear manner for free and This will be very beneficial for us. Hope this 6 hours of tutorial will be very helpful to everyone. Thanks for your valuable 6 hours which will be very very advantageous for ourselves.
– Viqar Ahmed Khan ( B.tech Student ) – INDIA ❤️
Witch branch b.Tech u have completed.. And how it’s video helpful for u.,.. Please reply
Here’s the table of content for you. Enjoy!
00:00:00 Introduction
00:01:49 Installing Python
00:06:10 Your First Python Program
00:08:11 How Python Code Gets Executed
00:11:24 How Long It Takes To Learn Python
00:13:03 Variables
00:18:21 Receiving Input
00:22:16 Python Cheat Sheet
00:22:46 Type Conversion
00:29:31 Strings
00:37:36 Formatted Strings
00:40:50 String Methods
00:48:33 Arithmetic Operations
00:51:33 Operator Precedence
00:55:04 Math Functions
00:58:17 If Statements
01:06:32 Logical Operators
01:11:25 Comparison Operators
01:16:17 Weight Converter Program
01:20:43 While Loops
01:24:07 Building a Guessing Game
01:30:51 Building the Car Game
01:41:48 For Loops
01:47:46 Nested Loops
01:55:50 Lists
02:01:45 2D Lists
02:05:11 My Complete Python Course
02:06:00 List Methods
02:13:25 Tuples
02:15:34 Unpacking
02:18:21 Dictionaries
02:26:21 Emoji Converter
02:30:31 Functions
02:35:21 Parameters
02:39:24 Keyword Arguments
02:44:45 Return Statement
02:48:55 Creating a Reusable Function
02:53:42 Exceptions
02:59:14 Comments
03:01:46 Classes
03:07:46 Constructors
03:14:41 Inheritance
03:19:33 Modules
03:30:28 Packages
03:36:22 Generating Random Values
03:44:37 Working with Directories
03:50:47 Pypi and Pip
03:55:34 Project 1: Automation with Python
04:10:22 Project 2: Machine Learning with Python
04:58:37 Project 3: Building a Website with Django
Thanks
@Tanishq He copied frm descreiption bro
oops concept is there ?
bro how do i import the excel file to pycharm on windows 10 3:58:00 im so lost on just this part and he only shows the mac version
@Memer Sheep right
You are a very good tutor. As a Data Engineer, I am looking forward for a tutorial from you which will focus more on Data Engineering, implementing Data Science projects using Python. More specifically, I would wish to learn connection to the data sources using API calls. Thank you so much for these refresher courses
Helpline??⬆️
Question can come in⬆️
Wow, this looks like a great course! ?
I am doing my python course from your website
@Devi Shree you have to remove the parentices so it can be a complete int funtion
Giant meets giant here.
@Oluwatobi Fatumo pls can i dm?? I’m also a nigerian
You guys are my rock ?❤️
I have to add my ‘Thank you’ to the thousands of thank you’s that you have already received and the thousands still to come. You make the learning easy, fun, and save hundreds of hours of what could be frustrating madness learning to do all of this. I, personally, need it for a college course that I am taking. You have set me up for success and given me confidence that I did not have 2-days ago when my class began. Truly grateful for your time, energy, and selflessness to share what you have spent years mastering. Thank you again, Sir.
I really appreciate your effort ❤️
Thanks for this great help for us ,Sir