Python

Advanced Python Training

Advanced Python

This course will help you gain an understanding of Python’s capabilities beyond basic syntax with a focus on widely accepted Pythonic constructs and procedures that will enable you to write reliable, optimized, and modular applications. This very hands-on course includes a deep dive into Pythonic data structures, exception handling, meta programming, regular expression, advanced file-handling, asynchronous programming, and more. At the completion of the course, you will also gain an understanding of unit testing in Python with lab-based practices designed to help you create and run unit test cases.

Training at a glance

Level

Intermediate

Duration

5 Days

Experience

1 year: Programming

Average Salary

$118,400

Labs

Yes

Level

Intermediate

Duration

5 Days

Experience

1 years: Programming

Average Salary

$118,400

Labs

Yes

Training Details

This course has 50% hands-on labs to 50% lecture ratio with engaging instruction, demos, group discussions, labs, and project work in which you’ll learn:
  • Enhancements to classes
  • Advanced Python metaprogramming concepts
  • Writing robust code using exception handling
  • Working with different data structures supported in Python
  • Search and replace text with regular expressions
  • Easy-to-use and easy-to-maintain modules and packages
  • Creating multithreaded and multi-process applications
  • Implementing and execute unit tests
Lesson 1
Python refresher
  • Built-in data types
  • Lists and tuples
  • Dictionaries and sets
  • Program structure
  • Files and console I/O
  • If statement for and while loops

 

Data Structures and Algorithms

  • Linked list
  • Stack
  • Queue
  • Trees
  • Graphs
  • Sorting algorithms
 
Lesson 2

Errors and Exception Handling

  • Syntax errors
  • Exceptions
  • Using try/catch/else/finally
  • Handling multiple exceptions
  • Ignoring exceptions

 

Implementing Regular Expressions

  • RE Objects
  • Searching and matching
  • Using Regular Expression to search data sets
  • Searching for data in Wireshark Traces (Python and *.pcaps)
  • Compilation flags
  • Groups and special groups
  • Replacing text
  • Splitting strings

 

Advanced Functional Features of Python

  • Advanced unpacking
  • List Comprehension
  • Anonymous functions
  • Lambda expressions
  • Generator Expression
  • Decorator
  • Closure
  • Single/multi dispatch
 
Lesson 3

Metaprogramming

  • OOP conventions
  • Class/static data and methods
  • Parse information to create classes using a dictionary
  • Super() method
  • Metaclasses
  • Abstract base classes
  • Implementing protocols (context, iterator, etc.) with special methods
  • Implicit properties
  • Globals() and locals()
  • Working with object attributes
  • The inspect module
  • Callable classes
  • Monkey patching

 

Metaprogramming

  • Paths, directories, and filenames
  • Checking for existence
  • Permissions and other file attributes
  • Walking directory trees
  • Creating filters with file input
  • Using Shutil for file operations
  • OOP conventions
 
Lesson 4

Advanced Data Structure features in Python

  • Use defaultdict, Counter, and namedtuple
  • Create data classes
  • Store data offline with pickle
  • Pretty printing data structures
  • Compressed archives (zip, gzip, tar, etc.)
  • Persistent data

 

Multiprogramming

  • Concurrent programming
  • Multithreading
  • The threading module
  • Sharing variables
  • The queue module
  • The multiprocessing module
 
Lesson 5

Developer Tools

  • Analyzing programs with pylint
  • Using the debugger
  • Profiling code
  • Testing speed with benchmarking

 

Networking

  • Using the socket library
  • Creating a TCP/IP client and server
  • Creating a UDP client and server
  • Using the HTTP library
  • Sending email with smtplib

 

Web Scraping and Data Processing

  • Using BeautifulSoup
  • Using Selenium
  • Processing XML
  • Processing JSON
  • Using pandas for CSV files

This course is designed for students with Python programming literacy who want to learn about advanced Python features and how to automate and simplify tasks.

  • Recommended Prerequisite: Python Basics (5 days) Coding experience in another language serves as an adequate prerequisite  
  • System administrators, network engineers, and developers will find this course compelling as they build and interact APIs that not only return highly parsable datasets, but also trigger scripted actions. Some previous experience with Python is ideal, although, coding experience in another language is also enough to find success within this course.

Upcoming Classes

We Offer More Than Just Python Training

Our successful training results keep our corporate and military clients returning. That’s because we provide everything you need to succeed. This is true for all of our courses.

Strategic Planning & Project Management

From Lean Six Sigma to Project Management Institute Project Management Professional, Agile and SCRUM, we offer the best-in-class strategic planning and project management training available. Work closely with our seasoned multi-decade project managers.

IT & Cybersecurity

ATA is the leading OffSec and Hack the Box US training provider, and a CompTIA and EC-Council award-winning training partner. We offer the best offensive and defensive cyber training to keep your team ahead of the technology skills curve.

Leadership & Management

Let us teach your team the high-level traits and micro-level tools & strategies of effective 21st-century leadership. Empower your team to play to each others’ strengths, inspire others and build a culture that values communication, authenticity, and community.

From Lean Six Sigma to Project Management Institute Project Management Professional, Agile and SCRUM, we offer the best-in-class strategic planning and project management training available. Work closely with our seasoned multi-decade project managers.
ATA is the leading OffSec and Hack the Box US training provider, and a CompTIA and EC-Council award-winning training partner. We offer the best offensive and defensive cyber training to keep your team ahead of the technology skills curve.
Let us teach your team the high-level traits and micro-level tools & strategies of effective 21st-century leadership. Empower your team to play to each others’ strengths, inspire others and build a culture that values communication, authenticity, and community.