Python Tutorial for Beginners [Full Course] 2019

Published on Feb 18, 2019 3,058,957 views

Watch this Python tutorial to learn Python programming for machine learning and web development.
🔥Get My Complete Python Programming Course with a 90% Discount (LIMITED to the first 200 students):

📕Get My FREE Python Cheat Sheet:

👍Subscribe for more Python tutorials like this: https://goo.gl/6PYaGF

#Python, #MachineLearning, #WebDevelopment

🔗Supplementary Materials (Spreadsheet):

📔Python Exercises for Beginners

⭐My Favorite Python Books
- Python Crash Course: https://amzn.to/2GqMdjG
- Automate the Boring Stuff with Python: https://amzn.to/2N71d6S
- A Smarter Way to Learn Python: https://amzn.to/2UZa6lE
- Machine Learning for Absolute Beginners: https://amzn.to/2Gs0koL
- Hands-on Machine Learning with scikit-learn and TensorFlow: https://amzn.to/2IdUuJy


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

Stay in Touch:

  • Programming with Mosh
    Programming with Mosh 3 months ago Guys, what else do you want to learn from me? Comment down below and let me know so I create more tutorials for you.
  • Jitin George
    Jitin George 3 weeks ago how to download the spreadsheet file
  • Raphael Benedet
    Raphael Benedet 3 weeks ago Java and Javascript, please, sir....
  • Dagget B
    Dagget B 3 weeks ago Hey bro, thanks for the subtitles
  • wagh rahul
    wagh rahul 3 weeks ago write a program to find out how many times you have said "BEAUTIFUL!!!" just kidding but PLEASE it is very irritating ... beautifullll smiley ..? python is printing something beautiful ...? sounds like over enthusiatic parker from FRIENDS lol... otherwise awesome tutorial
  • Wasifur Rahman Mridha
    Wasifur Rahman Mridha 3 weeks ago It was indeed an awesome tutorial Sir. I want to build my career in Integrated Circuit designing. I want to know what things I need to cover from Python. Thanks in advance. 😊
  • EqualConnect Coach
    EqualConnect Coach 3 weeks ago You are really rocking my videos nothing infront of u
  • Jack V
    Jack V 3 weeks ago Mosh thank you for the free material, one critique. As someone that has never used pycharm my flow is not nearly as smooth as yours. At 2:27:22 you begin to write input(">") then back up to set it as the variable message. I've noticed you do this quite often. It would be easier to follow along if you were to type - message = input(">") from the beginning instead of typing input then going back to add message =. Thanks!
  • Ghazanfar Ali
    Ghazanfar Ali 3 weeks ago Sir i am very passionate to learn programming, can i have your personal email. I have some questions from you please,please,please.....
  • Shukri Cali Shire
    Shukri Cali Shire 3 weeks ago Thanks, Please Make Machine Learning in Python
  • Aa R
    Aa R 3 weeks ago (edited) updated
  • Tariq Shabir Bhatti
    Tariq Shabir Bhatti 3 weeks ago Machine learning and AI for Robots..
  • utkarsh dixit
    utkarsh dixit 3 weeks ago elif is giving syntax error
  • aachal verma
    aachal verma 3 weeks ago Web designing sir...
  • Siddharth Suryansh
    Siddharth Suryansh 4 weeks ago Sir java core, highly beneficial. Thank you sir
  • mavuluru gowtham
    mavuluru gowtham 4 weeks ago I want to learn automation is python helpful for me to learn?
  • Shrikant Vallamdeshi
    Shrikant Vallamdeshi 4 weeks ago Sir ur explanation is very good and teaching ability. Tq 👏👏👏
  • Sümeyye Narin
    Sümeyye Narin 4 weeks ago open comment
  • Draj Yakkali
    Draj Yakkali 4 weeks ago How to get next line when writing elif
  • The Instinct
    The Instinct 4 weeks ago can we please get more tutorials of javascript
  • sopan ghorpade
    sopan ghorpade 1 month ago can I learn python without any technical background ? Please let me know...🙏
  • Anjum Shah
    Anjum Shah 1 month ago Guys thank him for his great work and help
  • nathan CAG
    nathan CAG 1 month ago Can I use in Macbook Air 2017 (1.8GHz-i5, 8GB/ 256 GB) or should I buy Macbook pro? I going to work on Neural network.
  • Brian Itumo
    Brian Itumo 1 month ago (edited) Hey Mosh. Thank you for your educative series. You really are a good teacher. I have a request, could you do an object oriented programming tutorial with PHP/MYSQL? For example creating a dynamic web application with OOP PHP instead procedural PHP. Using the latest versions in 2019 of PHP and MYSQL together with whatever IDE/text editor of your choice. Keep up the good work. Thanks in advance.
  • Sayan Lahiri
    Sayan Lahiri 1 month ago weight = float(input("Enter weight ")) unit_of_weight = input("KG/LB? ") if unit_of_weight.upper == "KG": weight_LB = weight*2.2 print(f"You weight is {weight_LB}") elif unit_of_weight.upper == "LB": weight_KG = weight/2.2 print(f"You weight is {weight_KG}") This code is giving me this output. Any idea why? Enter weight 180 KG/LB? lb Also, when I am creating a new file apart from app.py and writing code, running it is giving me the output of app.py. I have to see the output from terminal (cmd)
  • Vishesh Tiwari
    Vishesh Tiwari 1 month ago machine learning and artificial intelligence
  • Md. Kamrul Islam
    Md. Kamrul Islam 1 month ago In 45 minutes, you write print(course.find('Beginners)) and the output is 11 What is logic? what is index 11? Could you explain ??
  • Andrei Bucur
    Andrei Bucur 1 month ago A C++ or C# tutorial
  • Daniel Negro
    Daniel Negro 1 month ago Would really appreciate some guidelines on how to build an attractive and successful resume and portfolio to land the job, because no matter how much you know, you have to prove it to recruiters...
  • Will Pak
    Will Pak 1 month ago MOSH GUESS WHAT! I am learning python right now from you, and for your "FOR LOOPS" section I was able to complete the total prices code in only 3 lines! I was surprised that I was able to do it but check this out! for prices in [10, 20, 30]: prices += prices print(f"Total: {prices}")
  • niharika Shilamamidi
    niharika Shilamamidi 1 month ago Java
  • Nabeel Muhammady
    Nabeel Muhammady 1 month ago C++, Linux, SNAP
  • Mateen Ahmed Khan
    Mateen Ahmed Khan 1 month ago Artificial Intelligence please.......................
  • JE Lee
    JE Lee 1 month ago Games
  • Dodi Kabeya
    Dodi Kabeya 1 month ago AI with Python
  • Acolimamit Mark
    Acolimamit Mark 1 month ago Thanks, your tutorials are so helpful and i wonder how is can get more/ subscribe and pay for a course... um wondering if you could send me a link or mail so i can get to communicate and order for some more lectures...
  • badhusha muhammed
    badhusha muhammed 1 month ago Pls Add Machine Learning tutorial
  • piyush kr
    piyush kr 1 month ago Plz teach us making some complex games using python
  • James Lourd Virtz
    James Lourd Virtz 1 month ago Awesome tutorial sir. I learned a lot as you made it easy to understand. If I could, I would get your complete course but I can't.. Was just wondering, as I'm done with this what should I go for next? And maybe those are also in your channel?
  • GaUtAm ThApA
    GaUtAm ThApA 1 month ago java and c#
  • Tech Zone
    Tech Zone 1 month ago Sir how do I can install kivy in my pc?
  • XI_AT
    XI_AT 1 month ago Rbx lua lol
  • Joc kst
    Joc kst 1 month ago the django tutorial was amazing. thank you so much. you are the master by making everything simple
  • Supraja Supri
    Supraja Supri 1 month ago Teradata informatica
  • sravan kumar
    sravan kumar 1 month ago Artificial Intelligence
  • Akash Kumar
    Akash Kumar 1 month ago Machine learning, ai, django
  • Jesus Gomez
    Jesus Gomez 1 month ago It would be nice to learn how to manage AWS services using jenkins and Python (boto3) :)
  • Joc kst
    Joc kst 1 month ago base in some netflow output taken every 5 minutes sorted by packets and bytes, i want to try to predict attacks, there are some easy like udp 0:0 but just base on the number of packets and bytes gives a lot of false positives. I will try to use machine learning maybe that help. The good thing is i have a lot of available data to feed the test and learn. Amaizing tutorial, better imposible.
  • legrandvol
    legrandvol 1 month ago (edited) I encourage you to add a "how to build command line applications" for python, in your python mastery course. Also, a "how to use a distributed version control system" like Git (GitHub) in a separate section :). Thanks for your videos!
  • JangJang
    JangJang 1 month ago Specialized course on web developing. And mobile app dev 😊😊😊👍