Python Tutorials for Beginners - Learn Python Online
HTML-код
- Опубликовано: 15 июл 2024
- Watch my BRAND NEW Python tutorial with projects: • Python Tutorial - Pyth...
Looking for Python tutorials for beginners? Watch this video to learn Python online.
🔥Subscribe for more Python tutorials for beginners: goo.gl/6PYaGF
🔥Get my COMPLETE Python course: bit.ly/35BLHHP
- Python Exercises for Beginners: goo.gl/1XnQB1
- Python 3 Cheat Sheet: goo.gl/Jeu29b
Want to learn more from me? Check out my blog and courses:
programmingwithmosh.com
/ programmingwithmosh
/ moshhamedani
These days everybody is learning Python 3 because it’s the most popular programming language. If you’re looking for a Python course that teaches you the fundamentals of Python, you’ve come to the right place.
This video shows you Python applications as well as python salaries. If you’re looking for a programming job to make more money, Python is the best programming language to learn first.
TABLE OF CONTENT
00:00:00 What is Python?
00:03:22 Installing Python
00:05:15 Python Interpreter
00:07:12 Code Editors
00:08:32 Your First Python Program
00:12:11 Python Extensions
00:15:04 Linting Python Code
00:19:20 Formatting Python Code
00:23:16 Running Python Code
00:26:17 Quiz
00:28:41 Variables
00:31:48 Variable Names
00:34:52 Strings
00:40:24 Escape Sequences
00:43:06 Formatted Strings
00:45:16 String Methods
00:51:13 Numbers
00:54:01 Working with Numbers
00:56:12 Type Conversion
01:01:18 Quiz
01:04:03 Comparison Operators
01:06:09 Conditional Statements
01:10:20 Ternary Operator
01:12:31 Logical Operators
01:16:35 Short-circuit Evaluation
01:18:44 Chaining Comparison Operators
01:20:08 Quiz
01:21:53 For Loops
01:25:32 For..Else
01:28:21 Nested Loops
01:31:07 Iterables
01:34:17 While Loops
01:39:18 Infinite Loops
01:40:57 Exercise
01:43:04 Defining Functions
01:45:30 Arguments
01:47:53 Types of Functions
01:51:57 Keyword Arguments
01:53:59 Default Arguments
01:55:36 *args
01:59:53 **args
02:02:15 Scope
02:07:26 Debugging
02:14:18 VSCode Coding Tricks (Windows)
02:16:41 VSCode Coding Tricks (Mac)
02:18:32 Exercise
02:20:03 Solution
00:00:00 What is Python?
00:03:22 Installing Python 00:05:15 Python Interpreter 00:07:12 Code Editors
00:08:32 Your First Python Program
00:12:11 Python Extensions 00:15:04 Linting Python Code 00:19:20 Formatting Python Code 00:23:16 Running Python Code 00:26:17 Quiz
00:28:41 Variables
00:31:48 Variable Names 00:34:52 Strings
00:40:24 Escape Sequences 00:43:06 Formatted Strings 00:45:16 String Methods
00:51:13 Numbers
00:54:01 Working with Numbers 00:56:12 Type Conversion 01:01:18 Quiz
01:04:03 Comparison Operators 01:06:09 Conditional Statements 01:10:20 Ternary Operator 01:12:31 Logical Operators 01:16:35 Short-circuit Evaluation 01:18:44 Chaining Comparison Operators
01:20:08 Quiz
01:21:53 For Loops
01:25:32 For..Else
01:28:21 Nested Loops
01:31:07 Iterables
01:34:17 While Loops
01:39:18 Infinite Loops
01:40:57 Exercise
01:43:04 Defining Functions 01:45:30 Arguments
01:47:53 Types of Functions 01:51:57 Keyword Arguments 01:53:59 Default Arguments 01:55:36 *args
01:59:53 **args
02:02:15 Scope
02:07:26 Debugging
02:14:18 VSCode Coding Tricks (Windows)
02:16:41 VSCode Coding Tricks (Mac)
02:18:32 Exercise
02:20:03 Solution
Useful for folks viewing it on a mobile phone.
*Yeah im a mobile advocate*
Thank you. I'm on a phone, and it does help.
thanks
Yash Singh I pass
Appreciate all these I’m disabled and can’t really go to college due to transportation issues and I’m super excited to learn coding/programming considering I can’t walk I’ll be able to learn so much when my computer comes in so glad your doing this full time now
You got this!
username checks out
Great story! Stay strong
Hey man, good on you for making the best of a s***** situation! I hope someday you are able to gain some freedom but it sounds like you're off to a good start.
I'm disabled myself I never got the chance to go to college either but I was fortunate enough to eventually move out of my hometown which didn't really have opportunities for me to somewhere that did. My transportation issues in my old town actually left me housebound for the better part of 4 years Transportation is not great all the time but I'm now taking the bus or just rolling places because my town is a little more handicapped friendly and I'm still saving for an adapted vehicle.
I'm learning this so that I can make my current job easier and maybe eventually just get a regular programming job. Right now I'm an IT person in a small organization that pushes me to grow my skills all the time. Some day I would like to be a person who builds things especially software.
I'm eventually hoping I could go back to school too. I'm 24 right now but I'm probably not too far behind in the grand scheme of things
@@HellonWheels777 same here! I’m 24 in a few months and would love to go to school or work a job I have the strength to. I’ve been home bound for a while im trying to keep myself busy with making videos to pass the time, I’m in Arizona now hopefully I can move further in the city to take busses or an area like Tempe it’s college town out there. I should get back into coding but I didn’t find a passion for it, most of my passions unfortunately are something I’m not physically capable of so I have to find a secondary thing I love which is gaming since it kept me sane after all the years being stuck behind 4 walls lol
This guide was amazing! I'm such a newbie, but a few hours later, I feel like I can actually create something that "works" and follows best practices. Thank you! Can't wait to continue learning
You are an amazing instructor.. I just completed this and bought the whole package as well. I always wanted to learn Python and I tried few videos but this was the best. Thank you Mosh🙏
The best illustrative programming educational material I've ever seen. Mosh you are like a Messiah navigating us via the complex ocean of programming. Please Do More like Scala & Kotlin & QT & even Mongo DB etc.. May the Almighty God bless you with another 100 Years of Happy and Healthy Life Mosh.
thank you so much for the free knowledge and making python simple for everyone to understand. *THANK* *YOU* *MR.* *MOSH*
Love this video! Thanks so much! I've been trying to self-learn Python from many different videos / books, but this one has been the best approach so far!
Thank you so much for this free guide! This is one of the best tutorials I've seen if not the greatest! You gave hope to aspiring programmers! Two thumbs up for you! :)
Please add some more, working through these exercises and loving it!
You are the most incedible teacher who I`ve ever seen in my whole life . thamks a bunch frim Iran, Tehran. You are amazing Moshfegh jane azize khodemoooni
Sir you are the best 😇😇😇 i have searched months and at last found you(the perfect mentor)... You're an angel sir
I am so glad I found this video, I have been really wanting to learn programming
I subscribed just after watching... 5 minutes of your videos... U r so good
Mosh, you make coding so easy. I have been so interested, like I wake up and think coding, sleep thinking coding. I started looking for a good course because I wanted to have a supplementary when I learn pen testing. Thank you so much for these courses
Hello, Mosh .
I've decided to start educating myself in coding.. and your channel is the first thing i found. I've checked your website and see that you have so many amazing courses! its just amazing. it feels like you got there everything i need to help me become of what i dream.
Ill start with learning from this video, i already checked a bit..
I can garantee you 95% that im probably gonna buy all your courses. I feel like Anakin, who found his Obi. I believe this is gonna be the best investement i gonna make in my life. Thank you!
Mosh dadash damet garm👍
This is the best ever beginner tutorial for Python!
Excellent tutorial. Starts nice, proceeds smooth and yet efficient. Look forward for even more video clips.
Wow... Thank you Mosh for the great tutorial. I have watched many videos about Python, but this one is simply awesome and perfect. I clearly understood everything in this tutorial. This would be very helpful for Python beginners like me. I assure, the one who watch this video will never forgot what has been taught. Keep up great work. Thanks again.
Great! I'll be taking a look of the Python for programmers course :)
Mr. Hamadani Thank you So much 🙂🙂🙂🙂
Best course delivery style. Very easy to follow and enjoy. Thanks, Moshfegh! :)
thank you Mosh for this superbe amazing great python tutorials ' it's the best you can find on youtube !!!
You are awesome Mosh. Thank you for your great videos. I am new in programming and understanding everything online from basic usually is hard for me but not this time with you. You clearly covered everything. I took a Python class before BUT I didn't learn much because my professor didn't explain everything like you do. Now I am very interested to take the python package program that you offer. Can I get the license after finishing Python only or I have to complete other languages in order to get the license from you?
This is truly amazing. Thank you good man. All the best.
i swear to god this is best tutorial out there the res has just been confusing and this was just easy and friendly
Thank you so much for your all content. Its always the Best programming tutorial ever. 🙂🙂🙂🙂
Hello Mosh sir, iam a student,
After I learnt some python coding from your channel . Iam shining in my class before my teacher started to teach python coding.My teacher was tired by saying me very good..
It's all only by you sir.soo,thankk youu so much sir. I will never forget you sir🙏
I think this was the best and superb video out on Internet to learn python ..thanks !!!
Your tutorial is very easy to follow and understand. Thank you for your time and effort! I feel confident studying Python because of this. I was kind of hesitant starting to learn Python.
didn't finish the video yet but great job i know already that i will find the basics on how to use code and python in your tutorial great work Mosh, looking forward to finish your tutorials.
That's a greate tutorial! I have learned very few things from this crash course! Please build a full course on JavaScript like this.
The best instructor, ever...... Thank you
This was a beautiful tutorial. Everything was explained explicitly and in the simplest way. It really helped me a lot. Thanks for the help Mosh
Absolutely fantastic course! Many thanks for that.
So intuitive and understandable lesson. Thanks man ! Appreciate it. Subscribed and liked ;)
Loved it, while the first half was easy as it should be, I need more help in understanding the loops and forward. Thank you for creating this course to give us all an understanding on whats possible with Py
this is the best python-beginners video i have ever seen, and all you content is great, i really love the way you explain things and i'm happy i found your Chanel. Thank you Mosh. i can't wait to get the full course :). And i would really like if the course will explain the programming concepts and the whys behind the code. i mean things like why you wrote a script the way you wrote it and no other way, best practices, code design, code or programs architecture, testing, well stuff like that, i don't know exactly i'm not an expert, but things a professional developer should know . not in a in depth way because i know it is not possible, but at least in a general way so students can know what to search about if they want to get more advanced. I think this way, i (and other students) will be able to solve problems in different new situations and not just memorize and repeat the code in the videos. i hope this give you some ideas, Thank you again.
This.
Course.
Was.
AMAZING!!!
For 3 years looking for a course to teach me python and NOTHING came close to your amazing 2 hour beginner python course! I'm looking to start programming in Java but thought that python might be something good to start with so i can get used to programming concepts and BOY have i learned so much from 2 hours than 3 gosh dang years! I am a 12 year old looking forward to be a software developer and you just opened the path for that career. Thank you!!
Mosh, thank you very much for the course! AWESOME work you've done! But the girl must ask, how I get on my Windows the same text colors you have on your Mac?
Amazing! Thank you!
made it all the way to the end! yay!!
now I'm planning to buy the complete course
thank you, senpai!
Yeah, I do. Why?
one of the best vids(Tutor) i have seen yet. Thanks alot
Excellent video, Love you Mosh!!
really complete and great way to learn Python... BRAVO!!!
Thanks for the hard work creating this video!
For anyone who has an problem at 11:14 restart the application and type"&python app.py" without the quotes, Hopefully that works for you!
Thank you so much dude.I almost gave up because that shitty run command...Gosh.My dream almost died.Thank you.
bruh i can't get that stuff to work, i tried &python app.py and also just python app.py
@@YungPatron Try like this : py app.py // this is how it worked to me :)
@@j3htro203 omydays it worked thank god
@@YungPatron Restart the map.Make sure the extensions are on.And thats all.
Sir to be honest,you're the best teacher I've ever seen online. All the effort you've put in the videos is appreciable and thank you very much for these easy tutorials . Thank you again,have a nice day
I don't know anything about programming or much about technical stuff, am just a beginner and want to learn this awesome language. Hope I find the right video to start with....Thanks for sharing the video Mosh..✌️
Nice. Just bought it. Thanks for the discount.
Thanks to built my life in computer sector thanks again sir
11:08 --- for windows user just type python app.py
the $ is for mac user where the $ sign already there in terminal.. don't confuse
Your courses are always best... Keep teaching Mosh. And thanks a lot :)
Your explanation and speaking are very clear. You taught step by step, and I could understand easily in this way. Thanks
Thank you for you support and help!
Wow you're amazing. My professor tried to teach the class how to install python and failed miserably because everybody was lost.
That's a really nice course for noobs. Great work mosh!
Thank you so much Mosh :)
Thanks for the amazing content. What video software did you use to make the slick animations?
so much hype with the first minutes... Python is spectacular!!!
BTW, for those using Mac OS like me, maybe you have Python 2.7 already included, but if you want to make use of Python 3 You should execute python3 (once you have installed it) instead of just python (because some Mac os always run python 2.7 by default if I am not wrong). oops this was explain here anyways...
Thank you for this tutorial. Very helpful and easy to understand for this non-programmer.
The animations make this course top class production value. Better than the paid Udemy courses.
You got talent for these tutorials!
Hello Mosh you have really killed it..Everything was clear..Thank you very much.
For the 1:40:57 exercise thingy I did this code :
for x in range(2, 10, 2):
print(x)
print("We have 4 even numbers")
Really good. Thanks sir fir such a wonderful video
Thank you Mosh, I love your tutorials and after starting your free ones I passed immediately passed to your beginner's course on your website that I bought for a very good price. However, I think your paid beginners course is much more advanced than the free ones and I have difficulties to follow. so I have to go back to these youtube videos.would you be so kind to make the free course videos available split in sections for easy consultation? Thanks for your consideration
its very nice to see a hamvatan doing such Great videos on youtube! cheers
@@programmingwithmosh hatman aziz man ba hame hamkelasiam share mikonam :)
For my mac users...when changing the code-runner.executor map setting from "python -u" be sure to use "python3 -u".
Just finished after a week. I like python because it is simple unlike the first language i tried to learn which is Java. I think this is better to learn first than Java.
I am from Bangladesh...I learned programming from your tutorial..sir please make a project tutorial for us.
Your explanation power is superb.. I wll see it again Nxt time due to time constraints
thanks very very much ....
Thank you sir for very helpful tutorial :)
Great course Mosh, thanks!
please make a video on basic structure of python and commands and statement
Love your tutorial and info your sharing. I am a new mum, giving my self a new challenge to learn coding. Your videos are making it flow with ease however I am not sure if it's normal to have my name and IMac details come up with in the print when I go into terminal? So stuck on this I can't go any further and figure out if those details should be there or it should just say hello world etc . I'm not tech savvy but giving it a massive go :)
Thanks, rreally helpful for learning!
Sir you are great sir thanks thanks thanks alooooot sir through this video i can build up my carrier
Hi.... This is Sanjay Modasia... Senior software developer.... I was professional lecturer same like you but it was only 1 year. You are representing things in precious manner because I know how much hard work it takes to make students clear concept about programming. You are doing great job.....I really appreciate your efforts....I observe each and everything about your lecturer and it make me remember moments when worked as tutor to solve error in programming of final year student projects in JAVA. I have handled errors about 200-250 students in their last year project. Your lecture draw direct line to my that work.
I came here from your ad on RUclips and I swear I'm so glad I clicked on it :)
I am 14 and I find your tutorial super easy to grasp. I already know java since I'm doing it in school and so the beginner stuff is a cakewalk.
I have a great interest in programming. Could you please tell me which career would be best for me - software engineer or data analyst?
Thank you so much!
@Krosloe I live in India. We can choose a 6th subject in 9th grade and I chose computer applications, where they teach java.
@@doodlelord I would say data analyst
depends on your personal preference. I find data analyst work to be very boring. Development is more fun.
whaat? I used to live there and we didn't havethat
@@doodlelord I did the technical interviews recently to 2 gentlemen from india, both with master degrees and internships. I also interviewed a gentleman with a 2 year community college degree and 2 years of experience as a developer. The position was for a junior level developer. Guess who I recommended to upper management.
The gentleman with 2 years experience of php and 1 year vue.js, since neither the guys from india knew what the solid principles were among other simple sql questions. Forget school and be the self teaching type then get an entry level position anywhere, and keep learning. School is a waste of time if you plan to be a software developer.
1:29:33
for x in range(5):
for y in range(3):
print(f"({x},{y})")
print(f"({x},{y})")
^
SyntaxError: invalid syntax
You made me love python...(Even though I barely completed the video because of my school studies😅😅)
Thanks. It was very useful as a beginner
Thanks mosh sir your explanation is very fantastic and i was do 1. 5 month summer traning in this year but this explanation is much more than that ,
Mosh, do a Java course please!!! you teaching style and explanations are great !
Thou shall live forever. Great tutorial. 🙌
Hi Mosh,
I like your way teaching...its nice, short, sweet.
I am requesting you to make tutorial for RHCSA.
Thank you
Ranjeet
This tutorial is Amazing. even better than priced course. I hope you get better and better in your carrier. Please make a tutorial about Linux Command.
Hey Mosh. Whats up? I'm from Brazil and I am starting with Python. I found your video and I loved it. Also, my english isn't very well, but, with your pronunciation at this course, I am understanding a lot, except some reserved words, but it's really not a problem. Thank you for your sharing my friend. ;)
Thanks a lot for the video. Where is the continuation of this video? Data Structures?
For all users on windows whenever you need to run the code type into the terminal "&python app.py"
& : The term 'python' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At line:1 char:2
+ &python app.py
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundExcepti
on
+ FullyQualifiedErrorId : CommandNotFoundException
@@banutz1178 It said that to me but all I did was restart my PC
nice
Thanks for your tip, I was getting crazy as my code was not working.
write " py app.py" for windows users ! it works but I had the same problems ^^
Extremely helpful for those who want to learn programming with Python. I was looking for a crash course in python programming I found your course truly amazing, extremely helpful and to the point. Couldn't get better crash course on Python programming than yours. Thank You for your efforts. I really appreciate your efforts. Will share your video as well.
Thank you so much!
Ledgit he is the best teacher i learn more from him then Any other youtuber he should be crowned 👑
Syntaxerror: syntax "Ledgit" = False. Root = "Legitimate" therefore abbr. = "Legit". Or something. What I want to know is, where did he get that emoji from suddenly, I spent valuable minutes of my life searching for it. Enraging my inner pseudo-OCD.
Hi Mosh! Firstly, from the bottom of my heart, thank you for spreading your knowledge with us in a fun and quirky way. Your style of teaching is engaging and exciting. I had purchased your Angular course on Udemy but as soon as I post this comment I'll go ahead and purchase the all-access pass :) You are amazing mate!
@@programmingwithmosh Already shared with my fellow newbie developer friends. Btw, when can we expect the release of your Python course? Honestly, man, your voice is engaging, maybe because I've lived in the Middle East for a good part of my life and that hint of Middle Eastern accent seals the deal for me :P
Great Job! Mosh.Good Contents.Keep it up.
@@programmingwithmosh to expand my capabilities.
Hi Mosh, only halfway on this video but I already understand Python.. You video is very clear and it's like we are doing a 1:1 discussion.. I really appreciate it, man.. I will finish this and will watch more of your other videos..
Teleqram me👆⬆️
thanx a lot, I'll certainly learn python