Advanced Python Training
In this Python training course, students already familiar with Python programming will learn advanced Python techniques.
Public Classes: Delivered live online via WebEx and guaranteed to run . Join from anywhere!
Private Classes: Delivered at your offices , or any other location of your choice.
- Learn to work with the Collections module.
- Learn about mapping and filtering and lambda functions.
- Learn advanced sorting.
- Learn to work with regular expressions in Python.
- Learn to work with databases, CSV files, JSON, and XML.
- Learn to write object-oriented code in Python.
- Learn to test and debug your Python code.
- Learn about Unicode and text encoding.
- Advanced Python Concepts
- Lambda Functions
- Advanced List Comprehensions
- Quick Review of Basic List Comprehensions
- Multiple for Loops
- Rolling Five Dice
- Collections Module
- Named Tuples
- Default Dictionaries (defaultdict)
- Creating a defaultdict
- Ordered Dictionaries (OrderedDict)
- Creating a OrderedDict
- Creating a Counter
- Deques (deque)
- Working with a deque
- Mapping and Filtering
- map(function, iterable, ...)
- filter(function, iterable)
- Using Lambda Functions with map() and filter()
- Mutable and Immutable Built-in Objects
- Strings are Immutable
- Lists are Mutable
- Sorting Lists in Place
- The sorted() Function
- Converting list.sort() to sorted(iterable)
- Sorting Sequences of Sequences
- Sorting Sequences of Dictionaries
- Unpacking Sequences in Function Calls
- Converting a String to a datetime.date Object
- Modules and Packages
- Search Path for Modules and Packages
- Working with Data
- Relational Databases
- PEP 0249 -- Python Database API Specification v2.0
- Returning Dictionaries instead of Tuples
- Querying a SQLite Database
- Passing Parameters
- SQLite Database in Memory
- Executing Multiple Queries at Once
- Inserting File Data into a Database
- Reading from a CSV File
- Finding Data in a CSV File
- Comparing Data in a CSV File
- Creating a New CSV File
- CSV Dialects
- Getting Data from the Web
- The Requests Package
- Beautiful Soup
- Requests and Beautiful Soup
- Using JSON to print Course data
- Testing and Debugging
- Testing for Performance
- The timeit Module
- The unittest Module
- Unittest Test Files
- Fixing Functions
- Special unittest.TestCase Methods
- Assert Methods
- Classes and Objects
- Classes vs. Objects
- Everything Is an Object
- Creating Custom Classes
- Attributes and Methods
- Adding a roll() Method to Die
- Private Attributes
- Creating Properties with the property() Function
- Creating Properties using the @property Decorator
- Objects that Track their Own History
- Documenting Classes
- Using docstrings
- Documenting the Die Class
- Overriding a Class Method
- Extending a Class
- Extending the Die Class
- Extending a Class Method
- Extending the roll() Method
- Static Methods
- Class Attributes and Methods
- Class Attributes
- Class Methods
- You Must Consider Subclasses
- Abstract Classes and Methods
- Understanding Decorators
Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.
Experience in the following is required for this Python class:
- Basic Python programming experience. In particular, you should be very comfortable with:
- Working with strings.
- Working with lists, tuples and dictionaries.
- Loops and conditionals.
- Writing your own functions.
Experience in the following would be useful for this Python class:
- Some exposure to HTML, XML, JSON, and SQL.
Courses that can help you meet these prerequisites: