Course Progress

Week 1: Introduction to Python 25 minutes

    1. Welcome to One Month Python

    A quick overview of what we'll be doing in this class.

    2. What is Python?

    Let's get some background on Python first.

    3. Installing Python

    Let's get Python set up on your computer.

    4. Command Line Basics

    The command line can be a scary place for beginners, but there are only a handful of commands you'll need to know in order to use it including pwd, cd, and ls.

Week 1: Beginner Python about 1 hour

    1. Your First Python Script

    We're diving right in with a happy hour script! Don't be scared. Stick with me.

    2. Reading Code

    How do you read code? In this lesson I walk you through how I would do it.

    3. Making Some Changes To Our Script

    What if you had to make some changes to the code? Let's give it a shot.

    4. Challenge: Write Your Own Randomizer Script

    Can you write your own randomizer script? Let's give it a shot.

    5. Print

    Print: one of the most useful things you can learn to do in Python.

    6. Debugging Errors

    HELP! IT'S NOT WORKING! Before you freak out, let me walk you through what might go wrong when you make a typo, and how you can fix it.

    7. Comments

    Once you learn about comments, you'll start seeing them #everywhere.

    8. Variables

    You already know what variables are. They're just names for things. They're the building blocks of programming.

    9. Numbers & Math

    Let's play around with some numbers and math in Python.

    10. Strings & Text

    Strings are an important data type so it's important to know how they work in Python.

    11. Putting Variables Inside Strings

    Putting variables inside strings may seem complicated at first (it's just the syntax that's weird) but stick with it because it's pretty simple once you yet it.

    12. Getting User Input

    How can you get input from people interacting with your scripts?

    13. Assignment #1

    Make me a tip calculator.

    14. Bonus Lesson! We Introduced a Bug.

    I didn't plan to make this lesson, but we messed up. And I want to show you how to fix it.

Week 2: Intermediate Python about 2 hours

    1. Stock Prices Script

    Let's play with another script that interacts with an API

    2. Functions

    Functions make the Python world go round.

    3. Functions, Part 2: Functions Strike Back

    Learn how to use functions to set variables

    4. Functions, Part 3: Return of the Functions

    Let's do a quick challenge about functions.

    5. If Statements

    Have you ever wondered "What if..."?

    6. Else and Elif

    Else and Elif are the other half of If.

    7. Or

    I'm going to add a bit of flexibility to our script by introducing Or.

    8. In

    Even better than ==, In is one of my favorite ways to do an If statement in Python.

    9. An Update to String Interpolation

    There's probably a better way to put variables into strings in Python than what I showed you in week 1. Here I teach you how to do it.

    10. Lists

    Lists are basically lists of things in Python. Let me show you how to use them.

    11. Loops

    Loops let you do the same thing over everything in a list? Confused? They're really useful. Let me show you what I mean.

    12. FizzBuzz

    I'm going to challenge you with a common developer interview question.

    13. FizzBuzz Solution

    Here's how I solved FizzBuzz

    14. Dictionaries

    What? More stuff? This is it. Dictionaries are basically arrays where you can look up something using a special key (basically a string).

    15. Back to Stocks

    Back to our stock_prices.py

    16. The Halfway Point & Assignment #2: Fix the Errors

    You made it halfway! It's gonna get serious now. We're going to write some real code.

Week 3: APIs with Python about 1 hour

    1. Forecast.io API

    Get the weather forecast using a Python script

    2. Exploring an API

    Let's explore the Dark Sky Forecast API and figure out how to use it.

    3. Updating our Weather Forecast Script

    Let's update our weather forecast script based on what we learned in the last lesson.

    4. Weather API Challenge Solution

    See the solution to the challenge posted in the last video

    5. Exploring Geopy

    Let's explore using Geopy to use an address to get a latitude and longitude

    6. Geopy + Weather API

    Let's make a big improvement on the simple Weather API script we built in the last few lessons.

    7. Using the Yelp API

    Learn how to use the Yelp API to look up local restaurants!

    8. Yelp API Challenge

    See the solution to the challenge that I posted in the last video

    9. Exploring the Yelp API

    Let's see what other kind of stuff we can access through the Yelp API.

    10. Returning a List of Businesses

    Let's modify the Yelp API function so that it returns a list of businesses

    11. Returning a Dictionary of Businesses

    Let's modify the function from the last lesson yet again to return a list of dictionaries of businesses.

    12. Hiding Your API Keys in Environment Variables

    I'll show you how to hide your API Keys in environment variables

    13. Use Dotenv to Access Environment Variables

    You can use the Dotenv Python Package to set and load your hidden API keys.

    14. Importing Code in Python

    How to use import.

    15. Assignment #3: Work with an API

    Your assignment for week 3

Week 4: Your First Web App about 1 hour

    1. Your First Flask App

    Let's use Flask to build your first web application in Python.

    2. Setting Up a Template View

    Templates let you create HTML pages in Flask so that you can show things to a user through a browser.

    3. Making it Look Nicer with Bootstrap

    Use a little Bootstrap to improve the design of your web app.

    4. Create An About Page

    Here's how you create a second page in your web app.

    5. Getting Python Variables into your HTML Code

    Now we get to the real magic of Flask, combining HTML and Python code.

    6. Getting User Input Via a Form

    You can use HTML forms to take in all sorts of user input.

    7. Modifying the App to Look Up Weather

    I'll show you how you can combine your Flask app with other code you've written, specifically the code we previously wrote to look up the weather forecast.

    8. Hiding Environment Variables

    You don't want to save API keys and other sensitive information in your code itself, so I'll show you how you would hide that in your environment variables (again).

    9. Github

    Let's get your code up on Github.

    10. Deploying to Heroku

    This is a big day! Today we're gonna deploy your app live on Heroku.

    11. Debugging Heroku and Renaming Your App

    Oops, we ran into an error on Heroku. I'll show you how you can troubleshoot errors in production

    12. Automatically Running Scripts on Heroku

    I'll show you two other useful things you should know about Heroku.

    13. Assignment #4: Building Your Own Heroku App

    I want you to take everything we've learned so far and combine it into creating your own Heroku app.

    14. Get Your Verifiable Certificate of Completion

    If you've finished the course and completed all the assignments, you're eligible to receive a certificate of completion.

Bonus: Web Scraping with Python 30 minutes

    1. The Final Stretch

    Some short advice about how you should do this final week of One Month Python

    2. Scraping with BeautifulSoup

    We'll start off with a simple exercise, scraping all the links from Google using the BeautifulSoup Python library.

    3. Parsing HTML

    How to actually use BeautifulSoup to parse through HTML

    4. Scraping Amazon

    Let's scrape something a little more advanced (Amazon), which means getting past their security.

    5. Scraping Amazon Part 2: Grabbing Product Titles and Prices

    Let's parse through the HTML result from Amazon so we can actually grab product titles and prices.

    6. Saving Your Data to a CSV

    If you do a lot of web scraping, you probably want to save your results somewhere, like a CSV.

Bonus: Assignment Reviews 19 minutes

    1. Assignment #1 Review

    Reviewing the assignment from week 1: tip.py

    2. Assignment #2 Review

    errors.py