Mastering Python

Get to grips with Python best practices and advanced tools to design, distribute, and test your programs
3.0 (27 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
581 students enrolled
84% off
Take This Course
  • Lectures 37
  • Length 3 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 5/2015 English

Course Description

This course takes you on a journey from the basics of operating in a Python development environment through to advanced topics and master-level techniques. It presents you with a guide to Python and its standard library, focusing on language and library elements that are particularly useful for tool authors and system programmers.

We start off with the basics to set up a functioning environment, creating packages, and running them on the command line. Through our journey, we'll highlight the major aspects of managing our Python development environment, handling parallel computation, and mastering asynchronous I/O for improved performance of our system. Finally, we'll learn the secrets of metaprogramming and unit testing in Python arming you with the perfect skillset to be a Python expert.

Mastering Python will get you up to speed in everything from basic programming practices to high-end tools and techniques that will help you set apart as a successful Python programmer.

About the Author

Daniel Arbuckle holds a doctorate in Computer Science, and works as a Python programming consultant.

What are the requirements?

  • This video course is a step-by-step tutorial with each section covering a distinct topic enhanced with discussions and examples; the topics have a wide variety ranging from the basics and fundamentals of Python to advanced power skills.

What am I going to get from this course?

  • Build Python packages to efficiently create reusable code
  • Become proficient at creating tools and utility programs in Python
  • Use the Git version control system to protect your development environment from unwanted changes
  • Harness the power of Python to automate other software
  • Distribute computation tasks across multiple processors
  • Handle high I/O loads with asynchronous I/O for smoother performance
  • Take advantage of Python's metaprogramming and programmable syntax features
  • Get to grips with unit testing to write better code, faster

Who is the target audience?

  • If you are a programmer who is familiar with the basics of Python and you want to broaden your knowledge base to develop projects better and faster, this course is for you. Learn the best practices and advanced techniques in Python to produce useful code with ease, just like an expert!

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Setting Up the Work Environment
Get a high-level view of what this course will do for you.

Get a functional Python development environment.

Learn how to perform quick experiments and access documentation.
Learn how to easily download and install third-party packages.
Discover available resources so that you don't have to reinvent the wheel.
Section 2: Creating a Package

Learn the filesystem structure that defines a Python package.

Add code files to the package.
Combine code from multiple modules.

Include data alongside the modules in your package.

Section 3: Basic Best Practices
Make your code more readable for yourself and others using Python's communal coding standard.

Manage changes, versions, and branches in your source code.

Create a development area that remains stable for the duration of your development process.

Format your docstrings to maximize their usefulness.


Run the examples in your docstrings as tests.

Section 4: Creating a Command-line Utility
Create a package entry point to make the package executable.
Create full-featured command-line parsers.
Get the input and provide the output while the program is running.
Execute and interact with other programs.

Reduce the effort needed to run executable packages.

Section 5: Parallel Processing
Use a high-level interface to distribute computational tasks to worker processes and collect the results.
Use a mid-level interface to create cooperative parallel processes.
Section 6: Coroutines and Asynchronous I/O

The API looks a lot like concurrent.futures, but it's doing something very different.

How to get the asyncio scheduler running and add asynchronous tasks.

How asyncio futures behave and what to do with them.


How to use synchronization, waiting, and communication channels.

Easily use stream sockets to communicate.
Section 7: Metaprogramming
Automatically post-process functions.
Add new semantics to functions.

Automatically post-process classes.

Change what it means to be a class.

Set up special rules for regions of code.

Control what happens when attributes are accessed.
Section 8: Unit Testing

Get more benefits out of testing with less work.


Write tests, run them, and understand the results.


Use mock objects to keep tests local.

Run tests even more easily with test discovery.

Take advantage of more complete test discovery and integrated reporting.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Packt Publishing, Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.

Ready to start learning?
Take This Course