Python 3 (Part 6 of 6): Modules, JSON, and Algorithms
Interactive

Python 3 (Part 6 of 6): Modules, JSON, and Algorithms

Biz Library
Updated Feb 04, 2020

In this course, we will cover how you can leverage popular libraries and modules into your applications. This is a vital tool for any Python developer, as modules can save you a significant amount of time by providing powerful functionality that isn’t natively built into Python 3. We will also cover how you can integrate with third-party APIs to connect with other software in your own applications. Next, we will introduce and discuss the topic of metaprogramming in Python. Metaprogramming is an extremely powerful technique that can provide the developer with the ability to modify a program’s structure at runtime. Then we will discuss how Python interacts with XML and JSON objects. These are common constructs when dealing with any types of data in Python, and we will approach this topic with a three-headed approach: An initial look at the structure of XML and JSON, how to generate XML and JSON objects, and also how to parse XML and JSON feeds. To close this course, we will take a broader look at the implementation of complex algorithms.


Lesson 1:

  • Configuring Packages
  • Demo: Get Package
  • Demo: NumPy
  • Using Packages
  • Demo: Beautiful Soup 4
  • Demo: Integrate Packages
  • Demo: Beautiful Soup
  • Demo: Requests.

Lesson 2:

  • API Integration
  • Demo: Twilio Setup
  • Demo: Message
  • Demo: Run Twilio.

Lesson 3:

  • Implicit Properties and Attributes
  • Demo: Metaclass
  • Demo: ExampleClass
  • Global vs Local
  • Demo: Global Variables.

Lesson 4:

  • Decorators for Metaprogramming
  • Demo: Decorators
  • Monkey Patching
  • Demo: Monkey Patching
  • Demo: Monkey Patching (Cont.).

Lesson 5:

  • XML Structure
  • Demo: XML
  • JSON Structure
  • Demo: JSON.

Lesson 6:

  • Generating XML
  • Demo: Generate XML
  • Generating JSON
  • Demo: Generate JSON
  • Demo: Print to File.

Lesson 7:

  • Parsing XML
  • Demo: Parse XML
  • Demo: XML Output
  • Parsing JSON
  • Demo: Parse JSON.

Lesson 8:

  • Python 3
  • Algorithm Implementation
  • Towers of Hanoi
  • Demo: Towers of Hanoi Animation
  • Demo: Towers of Hanoi Algorithm
  • Demo: Run Program.