Problem My Windows desktop is messy with many files of different types here and there, therefore I thought of writing […]
Category: Python 3
The return dict can be 0-indexed by adding a 2nd argument as True.
Problem Solution
Download and concatenate text files from multiple API endpoints
Problem Background Chronicling America is an archive of digitized US newspapers hosted by the Library of Congress. The site allows […]
Rock, Paper, Scissors game in Python with OOP
Problem I am still practising object oriented programming and I decided to do the rock-paper-scissors game as a project. I […]
tablename alias in attribute name
Problem I have dataframe like this: date tableName attributeName 2019-03-29 [order as o, costumer] [costumer.customerID, o.orderID] 2019-03-30 [customer c, payment] […]
Small text-based RPG (v2)
Problem This is my first text-based game I made. It’s very small because I just learned Python and wanted to […]
Script to load the ISS location and data
Problem I wrote a script to fetch the location for the ISS using two simple APIs. This is my first […]
The 100 chair survivor challenge
Problem I came across the following challenge. Here is my implementation in Python 3.7 A room has 100 chairs numbered […]
Simple Python 3 templating module
Problem The module adds syntactic sugar to Python 3 to allow concise specification of templates. I use it to generate […]
Partially complete text-based adventure game [closed]
Problem Closed. This question is off-topic. It is not currently accepting answers. Questions containing broken code or asking for advice […]