Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python 201: Learn intermediate Python3
Rating: 4.6 out of 5(39 ratings)
109 students

Python 201: Learn intermediate Python3

Learn intermediate Python from scratch. Minimal Python experience required.
Created byKalob Taulien
Last updated 1/2021
English
English [Auto],

What you'll learn

  • Intermediate Python 3
  • API's with Python
  • More advanced Python concepts

Course content

2 sections25 lectures2h 22m total length
  • Introduction1:35

    Improve your Python 3 skills from beginner to intermediate by exploring operators, managing files, nested functions, decorators, advanced argument handling, virtual environments, third party packages, and API requests.

  • The IN operator9:47

    Discover how the in operator in Python, an intermediate concept, checks membership across lists, dictionaries, tuples, and sets, with rock, paper, scissors examples and practical, hands-on exploration.

  • The NOT operator7:30

    Learn how the not operator in Python 3 inverts boolean values and conditions, including not in with lists, plus guidelines on readability and practical examples.

  • How to read files with Python6:03

    Learn how to read files in Python using a context manager to safely open, read, and print contents, ensuring memory efficiency and automatic file closing.

  • How to create files with Python4:27

    Learn how to open, read, and write files in Python, create new files, and use a context manager with write and append modes, including new line and tab characters.

  • Reading multiple lines from a file6:10

    Learn to read multiple lines from a file in Python, convert them into a list, and filter emails with the in operator and strip to remove newlines.

  • Writing a file and executing it4:55

    Create and write dynamic files from user input, using a context manager to save, read, and optionally open the file. The lesson also covers nested structures and functions inside functions.

  • Functions inside of functions6:35

    Explore functions nested inside other functions in Python, and learn how scope allows inner definitions to access outer variables, while reviewing execution, arguments, and the idea of decorators.

  • Making a simple API request4:59

    Learn to make a simple api request using the requests package, check a 200 status, and build an uptime monitor with a loop and timed pauses.

  • Making a JSON API request6:09

    Make a JSON API request with requests, fetch data from a star wars themed API's people endpoint, parse JSON into a Python dictionary, and access name, birth year, and films.

  • Reading JSON and editing JSON5:36

    Learn to read and edit JSON in Python by converting a JSON string to a dictionary with json.loads, modifying fields, and converting back with json.dumps for output.

  • Function *args4:59

    Explore Python function arguments and learn how *args collects unlimited positional arguments into a tuple, with Django examples, enabling you to add or print numbers.

  • Function **kwargs8:25

    Learn Python function kwargs by using *args and **kwargs to handle positional, optional, and keyword arguments, illustrated with a pizza order and price calculations.

  • How to install pip4:33

    Learn how to install and verify pip, Python’s package manager, use pip install to add packages like requests, and recognize when Python ships with pip.

  • Mutable vs immutable5:29

    Explore the difference between mutable and immutable in Python, showing that strings are immutable while lists are mutable and can be appended, with behind-the-scenes memory behavior.

  • List enumeration3:19

    Learn how to use Python's enumerate to obtain index values from a list, unpack them, and print a numbered or filtered list using for loops and f-strings.

  • List comprehensions4:09

    Explore list comprehensions as a pythonic, one-line replacement for for loops to build a list and square numbers, with a future look at dictionary comprehensions.

  • Dictionary comprehensions4:27

    Learn to build dictionaries with dictionary comprehensions by unpacking tuples, mapping keys to values, and using curly braces or dict() casting, plus a quick compare to the long form.

  • How to get dictionary values5:19

    Learn how to retrieve dictionary values by key using get, handle missing keys with defaults or None, and conditionally act on results with if statements, illustrated by a courses dictionary.

  • Setting up virtual environments7:46

    Learn how to use Python virtual environments to isolate packages, manage multiple Django versions with pip, create and activate environments on Mac, Linux, and Windows, then deactivate when done.

  • How to learn Python by exploring6:09

    Learn Python interactively by exploring built-in methods on strings, lists, tuples, and dictionaries, using dot-notation, split, and join to experiment in shells.

  • Python packages6:05

    Install and manage Python packages with pip, set up a virtual environment, and import and initialize Kalorama to produce colored terminal output per the documentation.

  • API requests refresher3:38

    Review how to perform API requests with the requests package, fetch JSON data, convert to a Python dictionary, and iterate over related resources using the pokey api.

  • Your project13:06

    Build a Pokemon character app that fetches data from an api using user input, converts json to a dictionary, and displays abilities, moves, and other stats.

Requirements

  • You should consider yourself a beginner Python developer
  • You MUST have written some Python in your life
  • This course is NOT for you if you've never written Python before

Description

Welcome to Python 201: Intermediate Python 3 programming.

In this class, you will be learning the ins-and-outs of Python. You will learn how to:

  • use more advanced conditional statements,

  • how to read and write files using Python,

  • how to make API requests,

  • how to use 3rd party packages,

  • list and dictionary comprehensions,

  • virtual environments,

  • and much more.

At the end of this class, you will create a Pokemon program that looks up a pokemon by its name using an API — this is great practice for consuming API's like you normally would as a professionally paid Python programmer.

To get the most out of this course you should have taken Python 101 and another Python beginner course.

Your project: Create a Pokemon data program using an API.

You will create a program that asks for a pokemon name and then look for additional data using an API.

The API is completely free to use, too.

This project mimics the type of work you'll do as a professionally paid Python programmer and is considered to be a real-life project.

The most important part of this course is learning how to manage (install and uninstall) 3rd party packages, how to use them, and how to make API requests.

API requests are how computers talk to each other. It's absolutely vital you know how API requests work in Python, and you'll learn all about them in this course.

Who is this course for?

  • This course is for anybody who has written a little bit of Python but is looking for more experience.

  • Programmers or web developers who are looking for some hands on experience while they learn

  • This course is NOT for people who have never written any Python.

What are the requirements?

  • You need a code editor like PyCharm or VS Code

  • You need to have Python downloaded and installed

  • You need to be ready to work with code and not just watch the videos. This is a hands on course.

  • You need to be willing to do a little work to properly learn Python3

Who this course is for:

  • Beginner Python developers
  • Developers or programmers who have written at least SOME Python in the life