Advance Your Python
A collection of Python tutorials and examples to help you advance your Python skills.
Examples of some concepts in python, and other python handy-dandys
This repo is written in a style of a book, where code examples are given in a very pragmatic and simplistic manner. The aim of this presentation is to offer a catalogue of examples of some of the most important concepts in python, and other python handy-dandys. It is not meant to be a complete reference, but rather a quick reference for those who are already familiar with the basics of python. The audience of this book is assumed to be for fellow data scientist, who are looking for a quick reference to some of the more advanced concepts in python gathered at one place, and in short.
Contents:
Some topics of Object-oriented programming in python
The classes_in_python directory contains comprehensive documentation and examples of different types of classes in Python.
The main documentation is available in classes.md, which covers:
- Basic Classes and Instances
- Class Variables
- Class Methods
- Static Methods
- Inheritance
- Property Decorator
-
Iterator Class
- Types of classes
Parallelization - Multiprocessing
The examples_of_multiprocessing directory contains examples and explanations of Python’s multiprocessing capabilities.
The main documentation is available in multiprocessing.md, which covers:
- When to use multiprocessing vs multithreading
- Basic multiprocessing examples
- Advanced multiprocessing patterns
-
Best practices and performance considerations
- Examples of using multiprocessing
Some example of functions
Generators
Closures and decorators
Some example of expressions
Some example of itertools
Reading references:
How-to-level-up-by-learning-from-professionals
comparing-list-comprehensions-vs-built-in-functions-in-python-which-is-better