Skip to content

Latest commit

 

History

History
125 lines (88 loc) · 3.41 KB

python.md

File metadata and controls

125 lines (88 loc) · 3.41 KB

Python

Learning Python (Courses)

Name Description
Introduction To Python Programming Free, Udemy
Python for Beginner Free, Udemy
Learn Python Free, freeCodeCamp
Learn Python from Scratch Free, educative.io

Learning Python (Tutorials and Interactive platforms)

Name Description
HackerRank Python challenges/exercises
LeetCode Python challenges/exercises
Exercism Python challenges/exercises
py4e Python lessons and materials
W3 Python Python tutorial
Mode Python Tutorial Python Tutorial
Khan Academy Python courses and lessons
Python resources for everybody Python written resources

Modules

Name Description
subprocess Spawn new processes (=execute commands).
agithub Rest API client for rapid prototyping on any rest API.

Books

Author Title Comments
Jeff Knupp Writing Idiomatic Python 3.3

Articles, Tutorials & Blog Posts

Author Article Level Comments
Megha Mohan Mutable vs Immutable Objects in Python Beginner
Kenneth Reitz The Hitchhiker’s Guide to Python
Kenneth Reitz Serialization

Frameworks & Tools

Name Description
Natural Language Toolkit Platform for language processing programming
Flask Web microframework based on Werkzeug, Jinja 2
Django Web framework with batteries included
Mypy Static type checker

Cheat Sheet

YAML

  • Read YAML
with open(r'/file/path') as file:

Files

  • Read remote file(s)
from fabric import Connection

with Connection(host) as conn:
    with conn.sftp().open(path) as stream:
    ...

Python Checklist


Checklist

  • Data Types

    • Numbers (int, long, float, complex)
    • List
    • Dictionary
    • String
    • Tuple
  • Mutability

    • What data types are mutable?
    • What data types are immutable?
  • PEP8

    • What is it?
    • Give an example of three coding conventions Python developers should always follow
  • Errors & Exceptions

    • How do you handle exceptions?
  • Iterators

    • What 'enumerate' is used for?
  • List Comprehensions

    • Is it better than for loop? If yes, why?
    • How to perform list comprehensions for nested lists?
  • Data serialization [ ] How you do with Python?

  • Type Annotations

  • Dataclass

  • What's that?

    • What _ is used for in Python?
  • Meta-programming

  • Descriptors

  • Decorators

[ ] Context Managers

  • Buffering Protocol