Giter VIP home page Giter VIP logo

intro_to_python's Introduction

Intro to Python

0. Introduction

  • Axioms & Terminology

1. Hello World

  • Input: input()
  • Output: print()

2. Numbers

  • Integer: int
  • Float: float
  • Complex: complex

3. Text: Strings

  • String: str
  • String Ops: builtin methods

4. Ordered Array: Sequences

  • List: list
  • Tuple: tuple

5. Membership Array: Sets

  • Set: set
  • Set Theory Ops: builtin methods
    • .union()
    • .intersection()
    • .difference()
    • .symetric_difference()
  • Membership Testing

6. Associative Array: Dictionaries

  • Dictionary: dict
  • Dictionary Ops: builtin methods
    • .get()
    • .pop()
    • .keys()
    • .values()
    • .items()
  • Dictionary Iteration
  • Dictionary Comprehension

7. Control Flow: Imperative

  • Branch: if, elif & else
  • Iterate: for, while
  • Jump: invocation, see Functor

8. Callable Objects: Functors

  • Function
  • Method
  • Lambda
  • Higher Order Functor

9. Modules & Packages

  • Import Styles
  • Module: Python File
  • Package: Folder of Python Files

10. Class Objects

  • Instantiation
  • Magic Methods
  • Inheritance
  • Polymorphism
  • Class Scope

11 Deep vs Shallow Copy

  • Everything in Python is a Reference
  • Copy Module
    • copy.deepcopy()

12 Parameter Packs

  • Packing
  • Unpacking
  • Keyword Only

13 Iterator vs Iterable

  • iter() function
  • next() function
  • Itertools
    • count()
    • cycle()
    • combinations()
    • combinations_with_replacement()
    • permutation()
    • islice()
    • accumulate()
    • starmap()

14 Generators

  • Generator Function
  • Generator Expression
  • Generator Lambda

15 Decorators

  • Decorator Usage
  • Decorator Design
  • Function Decorator
  • Decorator Class

16 Advanced Class Topics

  • Super Function
  • Meta Classes
  • Dataclasses

17 Installation & Deployment

  • Pypi.org
  • Pip
  • Twine

18 Extensions

  • Basic Cython Extension
  • Knuth B Shuffle Algorithm
  • Design, Build and Install

19 Custom Tooling

  • Advanced Cython Extension
  • High Performance Dice
  • Function Timer
  • Design, Build, Install and Deploy

20 Continued Learning

  • PyCon
  • PyData
  • David Beazely
  • Raymond Hettinger
  • Larry Hastings

intro_to_python's People

Contributors

brokenshell avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.