Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python 3: Tools, Modules and JSON
Rating: 4.4 out of 5(39 ratings)
344 students

Python 3: Tools, Modules and JSON

Python 3 Part 2: Tools, Modules, and JSON
Last updated 1/2019
English
English [Auto],

What you'll learn

  • Create working Python scripts following best practices
  • Use python iterators and generators appropriately
  • Use regular expressions, lambda functions and decorators
  • Search and replace text with regular expressions
  • Work with modules and packages including APIs
  • Learn metaprogramming
  • Understand the structure of XML and JSON
  • Learn XML and JSON parsing

Course content

3 sections47 lectures3h 51m total length
  • Topic A: Iterators and Generators - Part 10:24

    Explore iterators and generators to traverse collections efficiently, producing cleaner code that decouples data from the algorithm, and learn how generators enable multiple Python constructs including iterators.

  • Iterators and Generators - Part 215:26

    Explore Python 3 programming tools, including iterators and generators, regular expressions, introspection, lambda functions, and decorators, to control data traversal and code clarity.

  • Iterators and Generators - Part 30:19

    Explore the background of iterators and generators and see a practical demonstration on implementing them in Python 3, then preview how regular expressions are used in Python.

  • Topic B: Regular Expressions - Part 10:23

    Explore how Python 3 handles regular expressions and apply common string matching patterns to enhance your projects.

  • Regular Expressions - Part 217:48

    Explore how regular expressions work, their pattern matching power, and key metacharacters, then learn to apply them in Python for searching strings and validating emails.

  • Regular Expressions - Part 30:25

    Explore the foundations of how Python 3 handles regular expressions, covering key concepts and patterns. Prepare for the upcoming, more complex topic: introspection in Python.

  • Topic C: Introspection and Lambda Functions - Part 10:24

    Explore introspection to determine object types at runtime, gain flexibility and control over object structures, and create anonymous functions on the fly, also called lambda functions.

  • Introspection and Lambda Functions - Part 2A4:05

    Explore introspection in Python to determine an object's type at runtime with type and id, and inspect attributes and methods with dir to understand modules, packages, and object structure.

  • Introspection and Lambda Functions - Part 2B11:14

    Explore Python introspection to inspect types at runtime, handle dynamic data with type checks, and leverage metaprogramming to adapt behavior while iterating over strings, lists, and dicts.

  • Introspection and Lambda Functions - Part 2C5:27

    Explore lambda functions as anonymous, name-free blocks of code you can assign to variables and pass into other functions, enabling on-the-fly, elegant functional programming with map and metaprogramming.

  • Introspection and Lambda Functions - Part 2D6:00

    Explore why and how to use lambda functions in Python by building a Celsius to Fahrenheit converter and applying a map with a lambda for concise, readable, functional code.

  • Introspection and Lambda Functions - Part 30:19

    Explore how introspection and lambda functions boost flexibility and knowledge of your own objects, and show how anonymous functions promote more elegant code structure in daily development.

  • Topic D: Metaclasses and Decorators - Part 10:19

    Explore metaclasses and decorators in Python to expand your implementation capabilities. Introduce these advanced concepts at a high level and drill deeper into how to implement them in Python programs.

  • Metaclasses and Decorators - Part 2A2:45

    Explore metaclasses in Python as an advanced tool to control class behavior, enabling rapid creation of similar classes, advanced refactoring, and blueprint-driven class construction.

  • Metaclasses and Decorators - Part 2B10:51

    Explore metaclasses and decorators in Python by comparing plain classes with dynamic attribute creation, using an attribute type metaclass to instantiate submarine and tank objects efficiently.

  • Metaclasses and Decorators - Part 2C2:49

    Decorators in Python update a function's behavior without altering its code, by wrapping it and adding pre- or post-execution steps. They enable safe changes across libraries and support aspect-oriented ideas.

  • Metaclasses and Decorators - Part 2D6:58

    Explore how decorators in Python work by building a decorator class, wrapping functions to run code before and after calls. Learn practical examples showing dynamic function enhancement and runtime behavior.

  • Metaclasses and Decorators - Part 30:17

    Learn how to use metaclasses and decorators to inject function entry and exit points and to construct classes using a metaclass as a template.

  • Review - Question

Requirements

  • The Python Tools, Modules and JSON is part of the two-course series on Python.
  • The candidates wishing to register for this course are required to have completed the Python Fundamentals course.
  • In addition to this, a basic understanding of the Python language and standard library is also recommended.

Description

The Python Tools, Modules and JSON course will enable the students to learn the more advanced concepts of writing and running Python scripts. The course builds on the Python Fundamentals course and covers the more complex topics such as iterators and generators, regular expressions, introspection and lambda functions, metaclasses and decorators, and using the extensive functionality of Python modules. Extra emphasis is placed on features unique to Python, such as metaprogramming and JSON. After completing this course, the students will immediately be able to use Python to complete tasks in the real world.

The Python Tools, Modules and JSON course will comprehensively cover the more advanced topics related to the Python programming language with primary focus on the several tools, modules and JSON. The course enables the students to code efficient scripts to solve the real-world problems using the advanced features of Python.


Who this course is for:

  • Advanced level programmers
  • System administrators who want to use Python to support their server installations
  • Website administrators who want to use Python to support their web-servers
  • IT professionals who want to automate or simplify common tasks with the use of Python scripts