A collection of Python tutorials and examples to help you advance your Python skills.
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:
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
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
Reading references:
How-to-level-up-by-learning-from-professionals
comparing-list-comprehensions-vs-built-in-functions-in-python-which-is-better