Problem My Windows desktop is messy with many files of different types here and there, therefore I thought of writing […]
Tag: python
Tarjan’s Algorithm Python Implementation
Problem I’m planning to use Tarjan’s algorithm for a program in which I would be processing a file, converting the […]
Beginner’s attempt for Project Euler problem 12 (highly divisible triangle number)
Problem I’m a couple weeks into learning Python and I’m working through the Project Euler problems. Problem 12 asks: What […]
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 […]
CodeChef PRIME1 problem in Python
Problem PRIME1 is a CodeChef problem which states: Shridhar wants to generate some prime numbers for his cryptosystem. Help him! […]
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 […]
Culling strings from a list that are substrings of other list elements
Problem I’m bothered by my answer to this SO question. I’m pretty sure it’s more efficient than the sort-and-cull implementations, […]
Group duplicate files (part 2)
Problem This is a continued discussion (from here => Group duplicate files) with new code and new thoughts/questions (see special […]