Skip to content

Files

Latest commit

 

History

History
102 lines (64 loc) · 5.99 KB

python.md

File metadata and controls

102 lines (64 loc) · 5.99 KB

Sites

Python Tutorials - main page
Python - Beginner tutorials
w3schools Python tutorial

Python Anywhere

The Python Language Reference
The Python Standard Library
The Python Tutorial

Python 3 Readiness - support graph for the 360 most popular Python packages
caniusepython3 - library
Porting Python 2 Code to Python 3 (Python docs)

Basics

Python Variables, Constants and Literals
Mutable and immutable side of Python (medium article)
How to make a variable immutable in python

Typing - Support for type hints (Python Docs)

Python Docstrings

Built-in Exceptions

Good Practices

Why does pycharm propose to change method to static?
Should I use static methods or top-level functions?

Manually raising (throwing) an exception in Python (StackOverflow)

Articles

All the things I hate about Python (medium - Nathan Murphy - Feb 9, 2018)

Control Flow

Does Python have a ternary conditional operator?

Data Structures

Add new keys to a dictionary?
How do I merge two dictionaries in a single expression?
Using list comprehension to “merge” a list within a list

Python - Create list with numbers between 2 values? (range)
Making an array of sets in python
Need to create a list of sets, from a list of sets whose members may be connected

Sort list of date strings
Convert a list of strings to a list of numbers Python

File and text manipulations

Read file
Write file

How to count the number of files in a directory using Python

Regex

Regular Expressions
Python Regex: re.match(), re.search(), re.findall() with Example (guru99)

Networking

Network examples

JSON encoding

Excel Spreadsheets

Create and read csv
Reading and Writing CSV Files in Python (RealPython)
Argument 1 must be an iterator - what am I doing wrong?
Why is the Python CSV reader ignoring double-quoted fields?
Writing to CSV, getting “Error: need to escape” for a blank string

Write Excel with Pandas
Read Excel with Pandas

Write Excel with XlsxWriter - Documentation
The Format Class - XlsxWriter Documentation
How to set formatting for entire row or column in xlswriter python?

Testing

unittest — Unit testing framework
Selenium

Frameworks

Django - web development framework

Data Science

Python Data Science Handbook - Jupyter at GitHub
Python Data Science Handbook - Jupyter at O'Reilly