Lesson 1 – Python Programming (Automate the Boring Stuff with Python)
- January 11, 2024
- Posted by: MainInstructor
- Category: Go Java Python Software Engineering
Video Title: Lesson 1 – Python Programming (Automate the Boring Stuff with Python)
Hello! And welcome to the online course for the Austomate the Boring Stuff with Python book. I’m Al Sweigart. I’m a software developer and textbook author. Automate the Boring Stuff with Python is my fourth programming book and now I’ve made an online course that follows the book’s content.
“Learn to code” has become a huge mantra. You have sites like Codecademy and Khan Academy and a massive online open courses to teach people the program. You hear things like, “coding is the new literacy” or how everyone in the 21st century will have to learn to code.
And if you want to become a software developer this course can be your first few steps on that path. But what if you don’t want to change careers to software engineering. You’re still getting these learn to code recommendations from everyone, mostly from people with a book to sell.
(By the way Automate the Boring Stuff with Python is released under a Creative Commons license, so you can buy a print or ebook or you can read it online for free at automatetheboringstuff.com. Is there a reason the average office worker student or administrator should
Learn to code? Yes. Whether you have to send emails, visit websites, or going through a ton of spreadsheets and PDFs, these jobs use laptops and desktop PCs as their primary tool. And sometimes using a computer means spending hours doing tasks that require a bunch of mindless clicking and typing.
If you don’t have an intern to shuffle this work off to, you should learn to code so that you could program to computer to do these task for you. Or if you’re the intern, you should learn to code so that you can program the computer to do these
Task for you. So how is this course is different from all the other online programming courses? Well, I wrote Automate the Boring Stuff with Python for people who wanted to get up to speed making small programs that do practical tasks as soon as possible.
You don’t need to know sorting algorithms or object oriented programming paradigms, so this course skips all of the computer science and concentrate on writing code that get stuff done. But if you are a computer science student for budding software engineer,
This course will be a good first step to develop your toolkit of programming skills. This course uses the Python programming language. Python is the best first language to learn. Many universities are switching their computer science curriculum away from Java and to Python. It has a simple
Syntax and a gentle learning curve, but it’s still a powerful language used in the real world. Google, NASA, Yahoo, YouTube and even non-technology companies like JPMorgan Chase or Industrial Light and Magic, all used Python. So learning to code can increase your productivity but it’s also a fun, creative skill and unlike other creative
Skills or hobbies, if you have a computer there’s nothing else to buy in order to write code. You don’t have to buy paint or yarn or power tools. All you need is some free software called the Python interpreter. Sound good? Let’s get started. Right now.
Open a web browser and go to python.org. You’ll need to download and install Python for your operating system. This is slightly different on Windows, Mac, and Linux, so consult the course notes for specific instructions. The one thing you
Need to know is that you should download a version 3 Python, like Python 3.5 and not a version 2 Python, like Python 2.7. When we say “Python” we usually mean either the Python interpreter software that you’ve just downloaded installed or the Python
Language. Python (the software) comes with an editor program that you type your Python (the language) code into. The editor is called IDLE. Consult the course notes for how to start up IDLE on your operating system. Beginning in the next lesson we’ll start writing code using it. I highly recommend that you
Have IDLE open and follow along with the videos by typing the examples into it. Don’t just sit and watch the videos. It’s easy to passively watch the videos and think you understand the concepts. Typing the code build your muscle memory and
Forces you to see if you can get the code working. One last thing that you should know from the start: Half of the software engineers day is spent googling for information. Programming can be complicated and no one can keep all this information in their head. So don’t feel
Bad about constantly looking stuff up on the internet. That’s exactly what professional software developers do every day. So if you get an error message and you have no idea what it’s talking about, a good starting point is copying and pasting this message into a search engine.
The first 3 results will probably be to a website called Stack Overflow, which is a great question and answer site. So before asking people for an answer, try to find the answer yourself on the web. One, this will almost always be faster because, two, other people have probably had your question and already
Had answered. But when you do ask questions, provide as much detail as possible Here’s a few things to keep in mind. Explain what you’re trying to do, not just what you did. Your helper can then tell you if you’re on the wrong track.
If you get an error message, specify the point at which the error happens. What line number does it happen on? Does the error happen every time or does it just happen randomly sometimes? Copy and paste the entire error message and your code to a pastebin site, like
Pastebin.com or gist.github.com. These websites will give you a link to your text which makes it easy to share with other people. Explain what you’ve already tried to do to solve your problem. This trims down the list of possible causes and tells people that you’ve already put
Some work into figuring things out on your own. List the version of Python you’re using. Also, say if you’re running Windows, Mac, or Linux and what version you’re running, like Windows 7 or Mavericks 10.9.2. Asking effective questions and knowing how to find answers are invaluable tools on your program journey. Let’s begin!
-
Sale!
Wireless WIFI Repeater Extender Amplifier Booster 300Mbps
$29.99$14.99 Add to cartWireless WIFI Repeater Extender Amplifier Booster 300Mbps
Categories: Electronics, Wi-Fi Router, Wireless Wi-Fi Extender Tags: 300Mbps, 802.11N, Amplifier, Booster, Extender, mobile wi-fi booster, Remote, WIFI, Wireless, Wireless WIFI, Wireless WIFI Repeater, Wireless WIFI Repeater Extender, Wireless WIFI Repeater Extender Amplifier, Wireless WIFI Repeater Extender Amplifier Booster, Wireless WIFI Repeater Extender Amplifier Booster 300Mbps$29.99$14.99 -
Sale!
Full RGB Light Design Gaming Headset Headphones with Mic
$24.99$14.99 Add to cartFull RGB Light Design Gaming Headset Headphones with Mic
Categories: Electronics, Gaming, Gaming Headsets Tags: Design, Full, Full RGB Light Design Gaming Headset, Full RGB Light Design Gaming Headset Headphones, Full RGB Light Design Gaming Headset Headphones with Mic, Gamer, Gaming, Gaming Headset Headphones, gaming headset wireless, Headphone, Headphones, Headset, Light, Mic, Package, RGB$24.99$14.99 -
Sale!
Wireless BlueTooth Multi-Device Keyboard Mouse Combo
$39.99$19.99 Add to cartWireless BlueTooth Multi-Device Keyboard Mouse Combo
Categories: Electronics, Gaming, Gaming Keyboards, Keyboard Mouse Combos Tags: Combo, Keyboard, keyboard mouse combos, Mouse, MultiDevice, Set, WireKeyboard Mouse Combo, Wireless, Wireless BlueTooth Keyboard Mouse Combo, Wireless BlueTooth Keyboard Mouse Combos, Wireless BlueTooth Multi-Device Keyboard Mouse Combo, Wireless BlueTooth Multi-Device Keyboard Mouse Combos$39.99$19.99 -
Sale!
High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar
$199.99$139.99 Add to cartHigh Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar
Categories: Gaming, Gaming Chairs Tags: Adjustable, Chair, computer chairs, Desk, Executive, Gaming, Girl, Headrest, High, High Back Leather Executive Adjustable Swivel Gaming Chair, High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest, High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar, High Back Leather Executive Adjustable Swivel Gaming Chairs, Leather, Lumbar, Office, Racing, Swivel$199.99$139.99 -
Sale!
Professional LED Light Wired Gaming Headphones with Noise Cancelling Microphone
$29.99$19.99 Select optionsProfessional LED Light Wired Gaming Headphones with Noise Cancelling Microphone
SKU: N/A Categories: Electronics, Gaming, Gaming Headsets Tags: Cancelling, Gaming, Gaming Headphones with Noise Cancelling Microphone, gaming headset, Headphones, Headset, LED, Light, Mic, Microphone, Noise, Professional, Professional LED Light Wired Gaming Headphones, Professional LED Light Wired Gaming Headphones with Noise Cancelling Microphone, Wired, Wired Gaming Headphones, Wired Gaming Headphones with Noise Cancelling Microphone$29.99$19.99 -
Sale!
Gaming Desk with LED Lights USB Power Outlets and Charging Ports
$349.99$249.99 Select optionsGaming Desk with LED Lights USB Power Outlets and Charging Ports
SKU: N/A Categories: Computer Desk, Gaming, Gaming Desk Tags: and Charging Ports, Charging, Desk, Desks, Gaming, gaming desk with led lights, Gaming Desks with LED Lights, Home, LED, Lights, Monitor, Office, Outlets, Port, Power, Room, Stand, USB, USB Power Outlets, White, Workstation$349.99$249.99 -
Sale!
Wired Mixed Backlit Anti-Ghosting Gaming Keyboard
$99.99$79.99 Add to cartWired Mixed Backlit Anti-Ghosting Gaming Keyboard
Categories: Electronics, Gaming, Gaming Keyboards Tags: Antighosting, Backlit, Blue, brown, Gaming, Gaming Keyboard, gaming keyboards, gaming keyboards and mouse, Keyboard, Laptop, Switch, Wired, Wired Mixed Backlit Anti-Ghosting Gaming Keyboard, Wired Mixed Backlit Anti-Ghosting Gaming Keyboards, Wired Mixed Backlit Gaming Keyboard$99.99$79.99 -
Sale!
Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset
$119.99$59.99 Add to cartWireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset
Categories: Electronics, Gaming, Gaming Headsets Tags: 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset, ANC, Audio, Bluetooth, Cancellation, Ear, Earphone, gaming headset, Headphones, Headset, Hi-Res Over the Ear Headphones Headset, HiRes, Noise, Wireless, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Headphones, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headsets$119.99$59.99 -
Sale!
Wired Sports Gaming Headset Earbuds with Microphone
$19.99$9.99 Select optionsWired Sports Gaming Headset Earbuds with Microphone
SKU: N/A Categories: Gaming, Gaming Headsets Tags: Accessories, Earbud, Earphone, Earphones, Gaming, gaming headset with microphone, Headphones, Headset, IOS, Microphone, Sports, Wired, Wired Sports Gaming Headset Earbuds, Wired Sports Gaming Headset Earbuds with Microphone, Wired Sports Headset Earbuds$19.99$9.99 -
Sale!
150W Universal Multi USB Fast Charger 16 Port MAX Charging Station
$49.99$29.99 Add to cart150W Universal Multi USB Fast Charger 16 Port MAX Charging Station
Categories: Charging Stations, Electronics Tags: 150W, 150W Charging Station, 150W Universal Multi USB Charging Station, 150W Universal Multi USB Fast Charger 16 Port MAX Charging Station, 150W Universal Multi USB Fast Charger 16 Port MAX Charging Stations, 150W Universal Multi USB MAX Charging Station, 16 Port MAX Charging Station, 3.5A, Charger, Charging, Fast, laptop charging stations, Max, Multi, Port, Stand, Station, Universal, USB$49.99$29.99
I read your book!
Loyal disciple over here! 😊
Ctrl + TAB to swap Internet tabs ❤
Genius
I am pursuing a MSF and we're using python. Can anyone recommend any books or tutorials?
Fav teacher 💪😎…always to the point. Real GENIUS
Thank you!!!!!! I bought "Automate the Boring", this is a great companion series. Thank you!!!
Lesson 19 – Python Programming (Automate the Boring Stuff with Python) I need the link to this video
🙃
are you going to make an html css book?
muito bom. obrigada 🇧🇷
chatGPT brought me here – this course is among top 5 free resources to learn python. Thank you!
I just want to thank you for putting this great resource online for us.
Finally I've found THE LEGEND! ❤ As a beginner, I'm so grateful.
Any codes for Udemy?
Can i still study with this book?
Is this book still relevant
is 3.11.2 ok
udemy wont let me access my accounts no matter what, so I had given up, thank you for releasing this content.
Is this YouTube series still valid to follow with the latest 2019 book edition as the text book? Thanks
damn my man used browser tabs as power point slides. he sure is witty
Thank you for making these amazing lessons! I just watched all 15 lessons in two days. Though I have done a couple of programming courses previously, I've never learnt this much in such a short amount of time. I've just successfully written my own Python programs. Thanks again!
Now, on to Beyond the Basic Stuff with Python!
Thank you
First, I'm actually very grateful to you, Al Sweigart, for the extraordinary talent and effort you have poured into this work. Thank you. But. I'm looking for the Course Notes referred to here in Lesson 1. Also, on Udemy it seems Lesson 1 goes missing after watching it once. So I cannot find the Course Notes for Lesson 1 there either.