Five-Project Series

Explore Python Fundamentals, Part 2 you own this product

prerequisites
Python “shell” such as Jupyter Notebook • understand how to use function parameters and default parameters • iterate over lists using for loops
skills learned
functions as dictionary values • ways to sort a list • how the import process works
Naomi Ceder
5 weeks · 1-3 hours per week average · INTERMEDIATE

In this series of liveProjects, you'll hone your Python skills with core techniques, functions, and data structures in Python. Practicing these skills against hands-on challenges will improve your ability to understand Python code, and flexibly use the language.

These projects are designed for learning purposes and are not complete, production-ready applications or solutions.

here's what's included

Project 1 Functions as Objects

In this liveProject, you’ll create Python functions for specific data cleaning operations to help import product data from a legacy system into a new pipeline. You’ll work with a delimited text file with unhandy export conventions, and utilize functions to clean and convert fields for cleaner and seamless data transfer. You’ll even break your new operations down into separate functions so that you can easily reuse your code at a later date.

$29.99 FREE
try now
Project 2 Lists

In this liveProject, you’ll utilize Python to create new data reports from a centralized system. You’ll work with raw data about the sales of various products, and massage it into a different format from which subreports can be extracted. To do this, you’ll make use of lists—one of the most common data structures in Python that are at the heart of data processing.

$29.99 $19.99
add to cart
Project 3 Dictionaries

In this liveProject, you’ll utilize Python dictionaries to efficiently combine a file of product info and a file of sales entries. You’ll take on the role of a data engineer in a company that has been modernizing its sales systems, and tackle a common data merging task to help generate useful reports. Solve the challenges of this project, and you’ll understand the real power and flexibility of dictionaries and how they are used literally everywhere in Python.

$29.99 $19.99
add to cart
Project 4 Import

In this liveProject, you’ll refactor a legacy module with unpredictable functionality to make it fit for your needs. The module behaves strangely whenever you import it, and so your task is to find the problem by exploring the ways that import in Python works. Your new knowledge will allow you to fix the issues in the test module, and create safer modules and multi-module packages.

$29.99 $19.99
add to cart
Project 5 Exceptions

In this liveProject, you’ll explore the unique way that exceptions work in Python. Python makes frequent use of exceptions, but they often function in a very different way than other programming languages. You’ll experiment with the basic try-and-except structure used for handling exceptions, then dive into using inheritance with exceptions, and creating your own hierarchy of exceptions.

$29.99 $19.99
add to cart

project author

Naomi Ceder
Naomi Ceder is the former chair of the Python Software Foundation. She has been learning, using, and teaching Python since 2001.

Prerequisites

This liveProject is for both new and experienced Python programmers who want to improve their understanding of the language. To begin this liveProject you will need to be familiar with the following:


TOOLS
  • A Python “shell” such as Jupyter Notebook
TECHNIQUES
  • Define a function
  • Understand how to use function parameters and default parameters
  • Use a Python command shell or Jupyter Notebook
  • Create list objects
  • Iterate over lists using for loops
  • Create and use a simple dictionary
  • Create and use a simple try/except block
  • Create a class by inheriting from another

you will learn

In this liveProject series, you’ll master fundamental Python concepts and techniques that will help you grow as a Python programmer.


  • Functions as dictionary values
  • Mutable objects as default function parameters
  • How to use and create decorators
  • List comprehensions
  • List slicing
  • Ways to sort a list
  • Understanding how creating lists consumes memory
  • Basic dictionary manipulation for adding and accessing data
  • in, get(), and other ways to handle missing keys
  • Accessing dictionary contents using items(), keys(), and values()
  • How the import process works
  • What importing only one feature of a module really does
  • How to make sure that code only executes when you want it to
  • How to structure modules and packages in a standard and safe way
  • How Python exceptions are created, raised, and handled
  • What is in an exception object
  • How inheritance works for exceptions
  • How to create your own hierarchy of exceptions

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.
includes 5 liveProjects
liveProject $48.99 $69.99 self-paced learning
RECENTLY VIEWED