Liu Zuo Lin
Extracting Specific Keys/Values From A Messed-Up JSON File (Python)
What to do when a messy JSON file gives you a massive headache
“for i in range(len(list))” VS “for element in list” — When to Use Which
A beginner's guide on the two ways of iterating through a string or list.
How To Display Images In Python Flask
Let’s say you have a Python Flask app. And you have a couple of images you want to display on your app frontend. Here’s how: Note: be mindful of the image’s exact filename, as it won’t show up if we…
Python Flask — Passing Data From Backend To HTML
When I was just starting out with Python Flask, I found it pretty confusing to pass make my HTML communicate with my backend. This article hopes to explain this as simply as possible. Normally, when…
WebSockets In Python FastAPI — Fetching Data At Super Speed
Plot Multiple Graphs Per Row in Matplotlib (Python)
A tutorial on plotting multiple graphs per row in Python.
How to Sort Lists by Certain Conditions in Python
A guide on sorting lists by a certain condition in Python.
Private Attributes In Python OOP are Not Very Private
Private attributes are attributes of a class that can only be accessed within the class itself.
How to Create a Basic Form in Python Flask
A simple guide on how we can create a form in Python Flask asking for a name and an email, and pass this form data back to our Python code.
Python FastAPI — Serving Images, MP3 Files, etc. from Your Backend for Beginners
A beginners’ guide on how to serve images, MP3 files, PDF files, DOC files, etc. to frontend from backend using Python FastAPI.
How to Generate Requirements.txt for Your Python Project
A guide to generating Requirements.txt for Python project.