Lesson 4 - Python Programming (Automate the Boring Stuff with Python)

  Рет қаралды 531,271

Al Sweigart

Al Sweigart

Күн бұрын

Пікірлер: 110
@TheCBGBoy
@TheCBGBoy 8 жыл бұрын
Buy the book and sign on for the full course. This guy is a real professional and he knows his stuff.
@purplesomeone
@purplesomeone 9 жыл бұрын
This is seriously a very well-made teaching video, and your voice is pleasant. Thank you for making these!
@AutomateTheBoringStuff
@AutomateTheBoringStuff 9 жыл бұрын
purplesomeone Thanks!
@dwightd3659
@dwightd3659 8 жыл бұрын
+Blank Editor Can you help me? I am trying to build my own program: I created this print('Do you want to play?') myName = input() if myName != No: print('ok') Python keep saying that "No" isn't defined when it is if I input No
@Nicholasskram
@Nicholasskram 8 жыл бұрын
+Dwight D Remember to specify the argument in the if statement with quotation marks. In this case you are evaluating a string. print('Do you want to play?') myName = input() if myName != ('No'): print('ok')
@lazgen9446
@lazgen9446 8 жыл бұрын
+Dwight D Change input() to raw_input() then change the no to a string
@SnugLife
@SnugLife 8 жыл бұрын
Actually, this code is wrong. Instead of doing print ('if myName!=No:') you're suppose to be doing if myName != ('No'):
@utydvh
@utydvh 8 жыл бұрын
You book lead me here. You've made me understand things a college professor couldn't. Thank you.
@melsev7519
@melsev7519 Жыл бұрын
Exactly why I'm here. I'm in my programming class and it is terrible! The only way I'll pass is to find other methods to learn it.
@abinthomas2388
@abinthomas2388 8 жыл бұрын
Your videos are simple, easy to understand and good explanation. Excellent.
@theguywithamac314
@theguywithamac314 8 жыл бұрын
even though I'm learning online, I will buy a copy of your books to support you! Thank you!
@Donotkillmeok
@Donotkillmeok 7 жыл бұрын
I usually do the same thing haha....After i learn it and find it good i usually buy the book after or if i download a game and play it and find it entertaining, i will buy the full version game. Good things/deed need to be rewarded 8-)
@rklpctt
@rklpctt 8 жыл бұрын
OMG! This is the first teaching video that I actually like. Your hello world did more that print hello world and actually taught something within twenty minutes. Others seem to spend thirty minutes on just printing just hello world. Thank You.
@mrwalker82
@mrwalker82 2 жыл бұрын
A simpler way to remember the difference between the operator == and the variable assignment = is the operator is comparing two pieces of data and the variable is setting one piece of data So you compare two == And you set one =
@jordancarlile5147
@jordancarlile5147 9 жыл бұрын
These are pretty cool, please continue this series. It is very cool :)
@AutomateTheBoringStuff
@AutomateTheBoringStuff 9 жыл бұрын
Jordan Carlile Thanks!
@builder481
@builder481 3 жыл бұрын
@@AutomateTheBoringStuff print('You are very welcome and thank you')
@umarchaudhary8633
@umarchaudhary8633 3 жыл бұрын
@@builder481 print ('True dat')
@Eleventyeleventh
@Eleventyeleventh Жыл бұрын
Can not contain my excitement for this field! Good stuff!
@199ALLSTAR
@199ALLSTAR Жыл бұрын
I can not thank you enough for this video series. I’m actually following along and it feels like such a relief to actually understand what is going on. THANK YOU SO MUCH 🙏
@maxnaslund5921
@maxnaslund5921 9 жыл бұрын
You the real MVP
@Blueadi1
@Blueadi1 2 жыл бұрын
Dude, it is hilarious when you have to put your age and start panicking. Love your humor. Nonetheless great content dear. I am studying for the 1st time about python. I am using your web version. I will surely buy your advance book about python. I was searching for a good source for python material and i have found you. I am really enjoying and to my surprise I never thought I will enjoy this much. Thank you.
@joser1083
@joser1083 6 жыл бұрын
OMG ! you have just become my instructor for LIFE !!!!!!! Picking up your book and your Udemy course ! i truly am enjoying learning with you !
@aswinpp4524
@aswinpp4524 7 жыл бұрын
This is well made cool stuff. Who else is listening this in 1.25/1.5 speed?
@TheBajamin
@TheBajamin 9 жыл бұрын
It's been one day! HURRY UP WITH A NEW VIDEO lol. But good videos. I am new to programming but have read quite a lot. You explain it very well!
@evantuladhar1620
@evantuladhar1620 5 жыл бұрын
print('You explained it very well. It was very easy to understand.')
@slimestaff1
@slimestaff1 11 ай бұрын
If True: return print('i agree')
@lindasmith3978
@lindasmith3978 7 жыл бұрын
I appreciate this. Thank you! My first exposure to Python tutorials..... well done!
@angelicaespinoza3217
@angelicaespinoza3217 7 жыл бұрын
I like how at 3:11 he reveals his age and takes it back by the input 26 lol too funny. Overall, loving these videos! Thank you for taking the time to make them.
@amydixon7043
@amydixon7043 Жыл бұрын
This is an amazing book and lessons! Thank you for what you do! I have hope for my future again!
@tag8106
@tag8106 7 жыл бұрын
thanks a lot for the book, it taught me much and showed me the power of python.
@Moon-tg2so
@Moon-tg2so 6 жыл бұрын
Make my life easy...Thanks a lot !! Will buy your tutorial or book.
@chamithwakista1162
@chamithwakista1162 9 жыл бұрын
Thank you for what you are doing for beginners. Keep up the cool work.
@calvinyip364
@calvinyip364 Жыл бұрын
Thank you. You are a great teacher. Please release more.
@mateolosha4030
@mateolosha4030 7 жыл бұрын
Awsome lessons , i just started highschool for programming and this is really helping me. ,,October 2017:)
@liendelguibingcan3074
@liendelguibingcan3074 7 жыл бұрын
I love this tutorial its completely step by step. Thank for your wonderful tutorial it help me a lot.
@oliverludwig6148
@oliverludwig6148 7 жыл бұрын
i recommend the book too. it's my favorite book about python basics in general. i'm considering taking the course on ubeny too, because sometimes i prefer videos.
@AmericanDash
@AmericanDash 9 жыл бұрын
Very good video. I'm going through these lessons after the codecademy course and taking notes. Very helpful!
@joshuaganzon6808
@joshuaganzon6808 8 жыл бұрын
I like how he doesn't want to type in his real age.
@MuhammadArshad
@MuhammadArshad 8 жыл бұрын
Hahaha, I was thinking the same. btw We know you were 30 :D
@ayubomaraden867
@ayubomaraden867 5 жыл бұрын
Why you think of that just learn he upload the video to teach not talk about his age!
@AnanoIashvili
@AnanoIashvili 5 жыл бұрын
@@ayubomaraden867 actually, he makes a trick for more engagement and he does it with success! why do people care? because its fun and because they are curious, I think its a pretty good skill for a person, that wants to learn coding)
@gemerat
@gemerat 3 жыл бұрын
This way, the video doesn't get old !
@quinem591
@quinem591 2 жыл бұрын
I’m learning 😎 your a great teacher 👍
@lisandromilesi794
@lisandromilesi794 6 жыл бұрын
I read the first three lessons just from the guide, which was nice, but for the fourth, I found that also looking it here is defintely better. Thanks you. One thing: It gives me doubts why the "not" operator does exist haha. Maybe I'll understand it further.
@matthewdeyn5530
@matthewdeyn5530 6 жыл бұрын
great! Learning python just became a thing for me
@krzysztofbohdan40
@krzysztofbohdan40 9 жыл бұрын
Excellent tutorial, thank you.
@prabhjotsinghkainth2282
@prabhjotsinghkainth2282 9 жыл бұрын
NICE! moving on to Lesson 5
@eriol33
@eriol33 6 жыл бұрын
well I decided to purchase your course from udemy (already bought your book from humble bundle). I need to have a motivation to master this stuff, I hope by making a purchase, I will finish the course since I paid something.
@UDNwaege1
@UDNwaege1 8 жыл бұрын
Thanks so much for the resource. I can't get the trinket python interactive shell to display on chrome or Firefox Edit: on your website.
@ft1sesa
@ft1sesa 7 жыл бұрын
false is a weird word if you look at it long enough
@pbknowall6233
@pbknowall6233 6 жыл бұрын
Every word is a weird work if you look at it long enough
@noobdyaYT2024
@noobdyaYT2024 9 жыл бұрын
Nice tutorial dude! Good work :)
@Calupp
@Calupp 6 жыл бұрын
"You speak the true true. Sometimes small true true different than the big true true"
@stanislavpetr9217
@stanislavpetr9217 6 жыл бұрын
Great teaching videos, thank you.
@malemale214
@malemale214 3 ай бұрын
what about other locial operators? XOR NOR NAND XNOR how do we commute them?
@DevlogBill
@DevlogBill 2 жыл бұрын
Excellent video! Only thing which is missing is the mysterious == "triple equal sign from JavaScript!" Also, I purchased the book, and I was quickly looking through the pages. But I didn't see 2 things ternary operators and switch case statements? I will check the book again, maybe I overlooked this.
@oldgold8247
@oldgold8247 8 ай бұрын
Did you find it
@Slengas89
@Slengas89 8 жыл бұрын
Great videos!
@taeyoungkim4445
@taeyoungkim4445 7 жыл бұрын
So you can put these functions and operators and etc. you showed in the video in to a real code?
@ruddogster
@ruddogster 9 жыл бұрын
Since I purchased the book can I get a coupon for the videos on Udemy?
@earlgreen8943
@earlgreen8943 2 жыл бұрын
Al, thank you for the great videos. Is your code visualization tool available online? This is such a useful learning tool. In your videos, it appears to be run locally.
@wluna93
@wluna93 9 жыл бұрын
Thank you for these videos and your explanation. Great work. I am trying to follow your demonstration but I get an error in the myName =input() function. This is the error I get: myName = input() File "", line 1, in NameError: name 'Walter' is not defined Can you please tell me what am I doing wrong?
@stellarwinda
@stellarwinda 8 жыл бұрын
+Walter Luna You use python2 and he uses python3 in the video. You don't want to find out about the differences while still learning, so you should just install python3 to follow this videos.
@SamStJon
@SamStJon 7 ай бұрын
I used this lesson to create a program to proposition my boyfriend. Thank you for saving my relationship.
@aceperkins
@aceperkins 3 жыл бұрын
Al thank you !!!
@s41nt_tv10
@s41nt_tv10 9 жыл бұрын
True and true part gave me physics flashbacks xD
@joeleenkado5761
@joeleenkado5761 5 жыл бұрын
Wonderful video(s). hilarious!
@Adjective69
@Adjective69 2 жыл бұрын
Thank you sensei
@rodrigomachadoluz1597
@rodrigomachadoluz1597 6 жыл бұрын
great!!!! congratulations.
@happyoblap
@happyoblap 7 жыл бұрын
dude...you rock
@amrelmowaled6232
@amrelmowaled6232 8 жыл бұрын
what is the diff bet your cours and these videos
@kangaroopubg
@kangaroopubg 8 жыл бұрын
awesome awesome and just awesome
@jeirs4231
@jeirs4231 9 жыл бұрын
Thank you!
@whatevername4873
@whatevername4873 8 жыл бұрын
You should have ads on these
@naderhumood
@naderhumood 6 жыл бұрын
Great man
@akashmasih8908
@akashmasih8908 6 жыл бұрын
Sir my boolean expression is not working
@christineochoa9536
@christineochoa9536 6 жыл бұрын
6:40 recap
@farihafargin4304
@farihafargin4304 3 жыл бұрын
Looking into this 15 videos enough to know about basic programming ?
@pranavkrishna3048
@pranavkrishna3048 2 жыл бұрын
Yea
@juanfeeer
@juanfeeer Ай бұрын
the age joke made me laugh
@michaelschone3406
@michaelschone3406 5 жыл бұрын
thanks!
@jurajcidorik9471
@jurajcidorik9471 6 жыл бұрын
Al we know 42 is The Answer, but what was the question?
@jakewfurlong
@jakewfurlong 6 жыл бұрын
Where is your towel? 42.
@pradeepsaple7996
@pradeepsaple7996 8 жыл бұрын
very nice
@kiriekya
@kiriekya 7 жыл бұрын
3:11 dat brick joke
@Namnguyen-sw8bx
@Namnguyen-sw8bx 5 жыл бұрын
good man
@KowboyUSA
@KowboyUSA 6 жыл бұрын
"42"? Appears _the answer to Life, the Universe and everything, is 42._
@BananaM3thBread
@BananaM3thBread 6 жыл бұрын
Can someone please put the code he puts here ina comment
@nafchillytube4674
@nafchillytube4674 7 жыл бұрын
Dudeyourockdockrock!
@aleksandarzdravkovic6203
@aleksandarzdravkovic6203 8 жыл бұрын
WATCHED
@askentuckiano1623
@askentuckiano1623 6 жыл бұрын
are you god
@musaalikache304
@musaalikache304 6 ай бұрын
who is still here 2024!!!!!
@Med-p9k
@Med-p9k 6 жыл бұрын
First of all, excellent tutorial . But what's wrong with your age, don't be shame for being more than 30 . 😂
@mrpog2223
@mrpog2223 8 жыл бұрын
hi
@lilypad2252
@lilypad2252 6 жыл бұрын
huh. 2018.
@weirddrums1754
@weirddrums1754 9 жыл бұрын
k
@gore.r9768
@gore.r9768 7 жыл бұрын
i came ehehee
@williamsli3745
@williamsli3745 6 жыл бұрын
Let me guess your age, 34?
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Lecture 1: Introduction to CS and Programming Using Python
1:03:30
MIT OpenCourseWare
Рет қаралды 975 М.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,7 МЛН
Start Automating Your Life Using Python! (File Management with Python Tutorial)
13:07
3 Great Books for Learning Python - Beginner to Proficiency
5:06
Python Programmer
Рет қаралды 299 М.
Python for Beginners - Learn Coding with Python in 1 Hour
1:00:06
Programming with Mosh
Рет қаралды 20 МЛН
#11 Python Tutorial for Beginners | Operators in Python
11:07
Telusko
Рет қаралды 1,3 МЛН
Lesson 2 - Python Programming (Automate the Boring Stuff with Python)
10:52
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19