Master Python from scratch 🚀 No fluff—just clear, practical coding skills to kickstart your journey! 🚀 Want to dive deeper? - Check out my complete Python mastery course: https://mosh.link/python-course - Subscribe for more awesome Python content: https://goo.gl/6PYaGF 🔗 Related videos https://youtu.be/yVl_G-F7m8c?si=aoIiT6CyaRRfBsRM ✋ Stay connected: - Full Courses: https://codewithmosh.com - Twitter: https://twitter.com/moshhamedani - Facebook: https://www.facebook.com/programmingwithmosh/ - Instagram: https://www.instagram.com/codewithmosh.official/ - LinkedIn: https://www.linkedin.com/school/codewithmosh/ 📖 Table of Content 0:00:00 Introduction 0:00:56 What is Python? 0:04:11 Installing Python 0:05:36 Python Interpreter 0:07:30 Code Editors 0:08:49 Your First Python Program 0:12:25 Python Extension 0:14:26 Linting Python Code 0:18:40 Formatting Python Code 0:22:51 Running Python Code 0:24:30 Python Implementations 0:26:59 How Python Code is Executed 0:29:45 Quiz 0:31:17 Python Mastery Course 0:31:44 Variables 0:34:48 Variable Names 0:37:51 Strings 0:43:20 Escape Sequences 0:46:01 Formatted Strings 0:48:09 String Methods 0:54:03 Numbers 0:56:50 Working With Numbers 0:58:59 Type Conversion 1:04:03 Quiz 1:06:43 Comparison Operators 1:08:46 Conditional Statements 1:12:56 Ternary Operator 1:15:04 Logical Operators 1:19:07 Short-circuit Evaluations 1:21:13 Chaining Comparison Operators 1:22:35 Quiz 1:24:18 For Loops 1:27:56 For..Else 1:30:42 Nested Loops 1:33:26 Iterables 1:36:34 While Loops 1:41:33 Infinite Loops 1:43:10 Exercise 1:45:13 Defining Functions 1:47:37 Arguments 1:49:57 Types of Functions 1:53:59 Keyword Arguments 1:55:59 Default Arguments 1:57:34 xargs #Python #AI #MachineLearning #WebDevelopment
ADVERTISEMENT
I am close to 60years but I believe age shouldn't be a barrier in learning programming language
i'm just a teenager and because it's summer i had nothing else to do, so following the advice of my friends i'm learning coding wish me luck✌
this is just a reminder for me. how python is executed 27:00 working with number 56:55 ternary operator 1:12:57 short-circuit evaluations 1:19:07 defining functions 1:45:16 Finished the video, still studying by myself. Let's keep it up! New updated: I'm playing with things like firebase, GCP, node.js, react and github. Dont really know too much but they're conected somehow.
Mosh is my first ever instructor of programming. His older Python course was my first course and it literally changed everything. Throughout my years in high school, college and university there has been no one who understood the concepts better than me and I confess that all of the credit goes to Mosh
I am start learning Python from today. Python will be my main program language. I will be professional AI engineer someday. Wish me luck❤
Ooh Mosh, this is a paid course that I registered for, yet you're making available free of charge to the world. Your passion to help is really admirable
i am just in my mom womb and started learning Python, competition is high mates.
🔥Want to master Python? Get my Python mastery course: /python-course 📕Get my FREE Python cheat sheet: /python-cheatsheet ⭐Python Projects for Beginners: /yVl_G-F7m8c?si=11emtFyDccTKCGn7 👍Subscribe for more Python tutorials like this: /6PYaGF
This video might be good for you if you: * Use a Mac * Are not a beginner and you are ok with him: * Skipping steps * Providing incorrect shortcuts for Windows * referencing/using extensions he never told you to install Some of these are minor gripes but they add up quickly. For me, only ~18 minutes in, it has been extremely frustrating. He tells you to download VS Code and immediately in the next step, he's already using it. I've never used VS Code before, I don't know what it looks like. Tell me to install the program, tell me or show me that you then opened it. When I opened VS Code there was a list of options to choose from, never even mentioned in the video, which I eventually just closed because I didn't know what I should do with it. It was a very different experience compared to what is shown in the video. It might sound trivial but this video is supposed to be for beginners, every step matters. In the linting section, he never even mentions pylint, it's an extension you have to install in VS Code, so when he hovers his mouse cursor over an error, the text he sees is different than what I see. IMO, that is a huge error in a video for beginners. There's so much more that was poorly executed in this video but I just don't have time or energy to explain it all here. Clearly, the video has been useful for many but it's not for me.
I just finished watching your python tutorial for beginners 🎊🎊and these 2 hours taught me more than weeks of college lectures—you're a much better teacher, honestly. Clear, practical, and to the point!👍
I plan to switch careers and I'm starting python from today 3/11/2025. I'll check back with progress periodically.Wish me luck
My 2026 resolution is to learn programming. i am a teacher of English and Literature, and this is a very new thing to me. like this comment to kep reminding me not to stop, and maybe i can give an update on how far i have gone.
I am 68. Am fascinated with AI. One knowledge required is computer programming, Python. Here i am getting to understand Python programming.
I am a software engineer with 5+ years of experience in java and c/c++ and forgot most parts of python due to not using it. Then i found this course just to warm up a bit, and it was so light weight, delightful and covers the basic intro in such a easy way that I just loved it, i just had to watch it 1.5x speed. And I can assure that any non-IT background people can surely take this 2 hour python intro course any time, and its totally worth it before diving into more details. Thanks again mosh
Hi Mosh, 🎉🎉🎉🎉 I just finished watching your Python tutorial for beginners, and I’m absolutely blown away! This is hands down the BEST Python video I’ve ever watched. Your teaching style is so clear, engaging, and easy to follow—it’s like you have a magical way of making complex concepts feel simple. Thank you for creating such an incredible resource! I have a humble request: PLEASE consider creating a course on Dart programming language. Your expertise and teaching approach would make learning Dart an absolute joy, and I know so many of us would benefit immensely from it. I’m literally begging you to make this happen—you’re the best teacher out there! Thank you again for all the effort and passion you put into your videos. You’re truly changing lives with your work. Keep being amazing!
Im starting to learn python today! wish me luck
I am a sperm learning this on the 23/03/2026. I will come back when I have reached the egg
Absolutely perfect timing. Just when I needed a refresher in Python.
Timestamps (Powered by Merlin AI) 00:03 - Comprehensive Python course designed for absolute beginners. 02:27 - Python is essential for AI, machine learning, and a lucrative tech career. 07:17 - Understanding Python environments: Interactive shell vs. code editors. 09:51 - Understanding built-in functions in Python using print. 14:48 - Linting helps identify syntax errors while coding in Python. 17:12 - Introduction to VS Code command palette and Python linters. 21:35 - Learn variable declaration formatting and code execution methods in Python. 23:49 - Exploring keyboard shortcuts in VS Code for running Python files. 28:16 - Understanding JVM and Python virtual machine execution processes. 30:27 - Understanding basic Python concepts including syntax errors and linting. 34:46 - Effective variable naming and formatting enhance code readability. 36:58 - Importance of writing clean and readable Python code. 41:43 - String slicing in Python enables extracting parts of strings. 44:04 - Understanding escape characters and sequences in Python strings. 49:08 - Understanding string methods in Python using dot notation. 51:35 - Exploring string methods: find, replace, and membership in Python. 56:35 - Introduction to Python's assignment operators and mathematical functions. 59:10 - Understanding input and type conversion in Python. 1:03:58 - Understanding Python's string evaluation and indexing. 1:06:31 - Introduction to comparison operators in Python. 1:11:14 - Understanding conditional statements and code indentation in Python. 1:13:41 - Simplifying conditional statements with variables and using logical operators. 1:18:40 - Understanding Boolean Operators and Short-Circuit Evaluation in Python. 1:20:59 - Python allows chaining comparison operators for cleaner code. 1:25:46 - Understanding Python loops and the range function. 1:27:56 - Implementing control flow for successful message sending in Python. 1:32:49 - Understanding nested loops and the range function in Python. 1:35:17 - Explains iteration over strings and lists using loops in Python. 1:40:05 - Handling user input for termination commands in Python programs. 1:42:32 - Understanding infinite loops and creating a program to display even numbers. 1:47:10 - Understanding function parameters and arguments in Python. 1:49:34 - Understanding function parameters and return values in Python. 1:54:21 - Simplifying and improving Python function calls. 1:56:44 - Understanding optional parameters and variable arguments in Python functions. 2:01:28 - Looping through numbers to calculate and return their total.
22:25 for people on windows 11/10 there is no code menu. instead go to file and go down to preferences, then settings.