John's Python Blog
Welcome to John's Python Blog! Read these articles to learn about:
- Implementing algorithms with Python.
- Python's standard library.
- Building command line tools with Python.
(I ran this blog from December 2019 to December 2020, releasing weekly articles.)
Navigation:
- Topic: algorithms
- Topic: command line tools
- Topic: Python's standard library
- All posts (chronological)
Topic: algorithms
- Solving the Cabbage-Goat-Wolf problem using Python
- Solving the Row-Column Exchange problem using Python
- Solving the Maximum Sum Descent problem using Python
- Solving the Permutation Rank problem using Python
- Solving the Number Placement Problem using Python
- Solving the Nearest Neighbor Problem using Python
- Solving the Binary Guess Problem in Python
- Solving the King's Reach problem in Python
- Solving the Fake Coin problem in Python
- Solving the Plus Minus problem in Python
- Solving the Task Ordering problem in Python
- Solving the Stable Matching problem in Python
- Solving the Maximum Sum Subarray problem in Python
- Solving the Equilibrium Index problem in Python
- Solving the Sequence Alignment problem in Python
- Solving the String Search problem in Python
- Solving the Shortest Path problem in Python
Topic: command line tools
- Building a command line tool to check hyperlinks
- Building a command line tool to visualize dates
- Building a command line tool to design a farm layout in Stardew Valley
- Recreating the command line tool uniq in Python
- Building a command line tool to simulate the spread of an infection
- Building a command line tool to compute Elo ratings
- Building a command line RPN calculator
- Building a command line tool to generate number sequences
- Building a command line tool to view Minecraft data
- Building a command line tool to find playable words in Scrabble
- Building a command line tool to help with Google searches
- Building a command line tool to modify The Legend of Zelda's color palette
- Building a command line tool to manipulate CSV files
- Building a command line tool to generate Metroid passwords
- Building a command line tool for literate programming
- Building a Pandoc filter in Python that turns CSV data into formatted tables
- Building a command line tool to convert CSV into JSON
Topic: Python's standard library
- Using enumerate() to simplify Python for-loops
- Using Python's built-in help system
- Using key functions to sort data in Python
- Using regular expression flags in Python
- Handling encoding and decoding errors in Python
- Generating random data in Python
- Regular expression functions in Python
- Using enumerated types in Python
- Formatting numbers in Python
- Comprehensions and generator expressions in Python
- Sets and Frozen Sets in Python
- Numeric types in Python
- Dictionary view objects in Python
- Context managers in Python
- Python's heapq module
- Using Python's bisect module
- Using Python's json module