Welcome to session 4 of our Introductory Python “Bootcamp,” our week-long blog series that explores the key concepts behind this popular and flexible programming language.
New to the bootcamp? Start with Session 1.
Open a Safari Flow trial account to access the Bootcamp books and videos.
Before we dive into today’s new content, we are going to start by going deeper into classes and OOP, concepts introduced in Session 3.
Try your hand at these exercises from Learn Python the Hard Way.
Now onto the new stuff – modules and documentation.
Jump in the deep end
Start with these short videos.
From Python Guide for the Total Beginner LiveLessons
Lesson 3 Learning objectives (0:29)
3.2 Split up a program (5:28)
3.3 Create documentation (6:27)
From Quickstart Python
Let’s start typing
Next, check out three chapters from Python® Programming for the Absolute Beginner. Following along, you will build a trivia game, create a “Critter Caretaker” program, and enter the world of online gambling with your own Blackjack game.
Practice more of what you learned with these exercises from Learn Python the Hard Way. (Pro tip: it’s not really hard!)
Did you know that Safari Flow gets the official videos from all of the O’Reilly conferences? This means that if you missed Fred Wilson’s keynote at this year’s Velocity Conference or couldn’t make the definitive conference on data science, then you can watch each inspiring and informational talk while in your pajamas from your laptop. Each conference includes dozens of talks, from the inspirational to the highly tactical.
To go deeper in any of these topics, here are some great reference chapters, all taken from O’Reilly’s Learning Python, 5th Edition.
How are we doing?
We’d love to hear your feedback about this bootcamp or other topics you’d like to learn. Tell us what you think in the comments below.