Skip to content

arpan2711/adv-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Advanced Python - Training Material

Material I put together while delivering a Python training program. The goal was to teach intermediate/advanced Python concepts using real production code instead of toy examples, so trainees could see how the pattern is actually used in the wild.

adv_examples.md

A reference doc walking through 13 core topics - decorators, generators, type hinting, class internals (class/static methods, inheritance, duck typing, properties, private attributes), lambdas, recursion, context managers, map/filter/zip, and regex.

Each topic is illustrated with real snippets pulled from open source projects, with a link back to the exact lines and a plain-English explanation of what the code is doing and why it's written that way:

arpans_context_managers.ipynb

A hands-on notebook digging deeper into context managers specifically - __enter__/__exit__, the contextlib helpers, and worked examples.

Who this is for

Written for trainees who already know Python basics and want to see how these patterns show up in real codebases, not just isolated syntax demos.

About

Advanced Python (decorators, generators, class internals, context managers) taught through real snippets from Flask, pydoit, and other real projects

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors