8340  Reviews star_rate star_rate star_rate star_rate star_half

Advanced Python Programming

Skills Gained Leverage OS services Add enhancements to classes Code graphical interfaces for applications Understand advanced Python metaprogramming concepts Create easy-to-use and easy-to-maintain...

Read More
$2,000 USD
Duration 4 days
Course Code PYTH-102
Available Formats Classroom

Overview

Skills Gained

  • Leverage OS services
  • Add enhancements to classes
  • Code graphical interfaces for applications
  • Understand advanced Python metaprogramming concepts
  • Create easy-to-use and easy-to-maintain modules and packages
  • Implement  and run unit tests
  • Create multithreaded and multi-process applications
  • Interact with network services
  • Design professional scripts
  • Query databases

Prerequisites

All students should be able to write simple Python scripts using basic data types, program structures, and the standard Python library.

Course Details

Training Materials

In addition to the course manual, students will receive a Python quick reference.

Software Requirements

  • Any Windows, Linux, or macOS operating system
  • Python 3.x installed (Anaconda bundle recommended)
  • An IDE with Python support (PyCharm Community Edition is an excellent free option, but there are several other good ones)

Outline

  • Introduction
  • Python Refresher
    • Built-in data types
    • Lists and tuples
    • Dictionaries and sets
    • Program structure
    • Files and console I/O
    • If statement
    • for
    • Built-in functions
    • User-defined functions
    • Modules and packages
    • Basic OOP
  • OS Services
    • The os and os.path modules
    • Environment variables
    • Launching external commands with subprocess
    • Walking directory trees
    • Paths, directories, and filenames
    • Working with file systems
  • Dates and Times
    • Basic date and time classes
    • Different time formats
    • Converting between formats
    • Formatting dates and times
    • Parsing date/time information
  • Binary Data
    • What is Binary Data?
    • Binary vs text
    • Using the Struct module
  • Pythonic Programming
    • The Zen of Python
    • Tuples
    • Advanced unpacking
    • Sorting
    • Lambda functions
    • List comprehensions
    • Generator expressions
    • String formatting
  • Functions, Modules, and Packages
    • Four types of function parameters
    • Four levels of name scoping
    • Single/multi-dispatch
    • Relative imports
    • Using __init__ effectively
    • Documentation best practices
  • Enhancing Classes
    • Class/static data and methods
    • Inheritance (or composition)
    • Abstract base classes
    • Creating attributes with attr
    • Implementing protocols (context, iterator, etc.)
  • Metaprogramming
    • Implicit properties
    • globals() and locals()
    • Working with object attributes
    • The inspect module
    • Callable classes
    • Decorators
    • Monkey patching
  • Developer Tools
    • Analyzing programs with pylint
    • Using the debugger
    • Profiling code
    • Testing speed with benchmarking
  • Unit Testing with PyTest
    • What is a unit test
    • Creating test cases
    • Writing and running tests
    • Test harnesses
    • Working with fixtures
  • Database Access
    • The DB API
    • Available Interfaces
    • Connecting to a server
    • Creating and executing a cursor
    • Fetching data
    • Parameterized statements
    • Using Metadata
    • Transaction control
    • ORMs and NoSQL overview
  • PyQt
    • Overview
    • Qt Architecture
    • Using designer
    • Standard widgets
    • Event handling
    • Extras
  • Network Programming
    • Built-in classes
    • Using requests
    • Grabbing web pages
    • Sending email
    • Working with binary data
    • Consuming RESTful services
    • Remote access (SSH)
  • Multiprogramming
    • The threading module
    • Sharing variables
    • The queue module
    • The multiprocessing module
    • Creating pools
    • About async programming
  • Scripting for System Administration
    • Running external programs
    • Parsing arguments
    • Creating filters to read text files
    • Logging
  • Serializing Data
    • Working with XML
    • XML modules in Python
    • Getting started with ElementTree
    • Parsing XML
    • Updating an XML tree
    • Creating a new document
    • About JSON
    • Reading JSON
    • Writing JSON
    • Reading/writing CSV files
    • YAML, other formats as time permits
  • Advanced Data Handling [as time permits]
    • Discover the collections module
    • Use defaultdict, Counter, and namedtuple
    • Create dataclasses
    • Store data offline with pickle
  • Type Hinting [as time permits]
    • Annotate variables
    • Learn what type hinting does NOT do
    • Use the typing module for detailed type hints
    • Understand
    • Write stub interfaces
  • Conclusion

Schedule

FAQ

Does the course schedule include a Lunchbreak?

Classes typically include a 1-hour lunch break around midday. However, the exact break times and duration can vary depending on the specific class. Your instructor will provide detailed information at the start of the course.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does Ascendient Learning deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

What does vendor-authorized training mean?

As a vendor-authorized training partner, we offer a curriculum that our partners have vetted. We use the same course materials and facilitate the same labs as our vendor-delivered training. These courses are considered the gold standard and, as such, are priced accordingly.

Is the training too basic, or will you go deep into technology?

It depends on your requirements, your role in your company, and your depth of knowledge. The good news about many of our learning paths, you can start from the fundamentals to highly specialized training.

How up-to-date are your courses and support materials?

We continuously work with our vendors to evaluate and refresh course material to reflect the latest training courses and best practices.

Are your instructors seasoned trainers who have deep knowledge of the training topic?

Ascendient Learning instructors have an average of 27 years of practical IT experience and have also served as consultants for an average of 15 years. To stay current, instructors spend at least 25 percent of their time learning new, emerging technologies and courses.

Do you provide hands-on training and exercises in an actual lab environment?

Lab access is dependent on the vendor and the type of training you sign up for. However, many of our top vendors will provide lab access to students to test and practice. The course description will specify lab access.

Will you customize the training for our company’s specific needs and goals?

We will work with you to identify training needs and areas of growth.  We offer a variety of training methods, such as private group training, on-site of your choice, and virtually. We provide courses and certifications that are aligned with your business goals.

How do I get started with certification?

Getting started on a certification pathway depends on your goals and the vendor you choose to get certified in. Many vendors offer entry-level IT certification to advanced IT certification that can boost your career. To get access to certification vouchers and discounts, please contact info@ascendientlearning.com.

Will I get access to content after I complete a course?

You will get access to the PDF of course books and guides, but access to the recording and slides will depend on the vendor and type of training you receive.

How do I request a W9 for Ascendient Learning?

View our filing status and how to request a W9.

Reviews

Great instructor, clear and concise course. Labs were easy to follow and worked perfectly.

You get detailed labs to guide you through the technical material giving you a hands on method of learning otherwise difficult material.

Some Labs are very good but some steps it ask to update but its already updated, but overall its very good training.

It is very good and very simple instructions. almost to much hand holding.

Courseware was effective but would like to have some PDF material on BPML and XPATH