%%
date:: [[2023-04-02]], [[2023-05-11]]
%%
# [[Python]]
## How to do stuff in Python
[[Installing Python]]
[[Declaring variables in Python]]
[[Convert string to int in Python]]
[[Date and date formatting in Python]]
[[Regular Expressions in Python]]
[[Converting between byte code and unicode in Python]]
[[String manipulation in Python]]
[[Case-insensitive string comparison in Python]]
[[Generating numbers in Python]]
[[Converting to and from json in Python]]
[[Lists in Python]]
[[Multiline strings in Python]]
[[Replace variables in string in Python]]
### File manipulation
[[File manipulation in Python]]
[[CSV file manipulation in Python]]
[[Iterate over a directory in Python]]
### Parsing webpages
[[Opening URLs in Python]]
## Troubleshooting
[[Python error - UnicodeDecodeError]]
[[Python error - unicodeescape codec can't decode bytes]]
[[Python error - CERTIFICATE_VERIFY_FAILED]]
## Optimization
[[Python programming for performance]]
[[Use wait instead of sleep in Python]]
## Tools
- [[Anaconda]]
## Python in Practice
- [[Taking Notes on a Video - my YiNote to Roam Research Workflow]]
- [[Readwise to Obsidian]]
- [[downloadfirebase.py]]
## References