Questions tagged [python]
Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability. Use the python tag for all Python related questions. If you believe your question may be even more specific, you can include a version specific tag such as python-3.x.
15,668 questions
0
votes
1
answer
15
views
Django views for Farrier Management System
If I can just get a review on my views for the farrier management system. I greatly appreciate any feedback and let me know if I am following best practices and industry standards.
...
1
vote
1
answer
29
views
Forms for farrier management system
If I can just get a review on my forms for the farrier management system. I greatly appreciate any feedback and let me know if I am following best practices and industry standards.
...
3
votes
2
answers
64
views
Configuration of a discrete event simulation
I am writing my own add-on for SimPy to simulate the operation of enterprises. I have identified two types of entities: Bulk (...
3
votes
3
answers
89
views
Django Model Design for Farrier Management System
Relationship Logic: Is using PROTECT on Client and SET_NULL on ...
2
votes
3
answers
151
views
Simple calculator and number guessing game
I've been studying Python for about a month and I'm focusing on back-end development.
I've developed a simple program with a menu that includes a calculator and a guessing game. I would appreciate ...
7
votes
5
answers
344
views
transytion - A small utility class for tweening in a Python game framework
A tween is a transition of a variable from one value to another value gradually over time using some sort of easing function. I could not really find a library for easily creating tweens in Pygame so ...
4
votes
4
answers
596
views
Sort chef's ingredients, grouped by supplier
I wrote a program that helps chefs with sorting ingredients and grouping each of them to the supplier they belong. This program is for French users. I would like a review, and I'm very open for ...
7
votes
3
answers
783
views
File Carving Utility
I’ve written a small tool to extract files from disk images using hex signatures from a YAML config. It works, and I’m using it for my current tasks, but since I’m new to Python, I want to know how &...
4
votes
1
answer
203
views
YouTube video metadata and transcript extractor using Python standard library
I wrote a Python script that takes a YouTube URL, fetches the video's metadata and its subtitles transcript via YouTube's internal youtubei/v1/player API.
The script uses only the standard library. It'...
14
votes
9
answers
2k
views
Determine whether it is morning, afternoon or night
I wrote a small Python script that asks the user for an hour (0–23) and determines whether it is morning, afternoon or night.
I used a dictionary where the values are tuples representing hour ranges.
...
6
votes
3
answers
455
views
Tkinter - Demonstration of the Graham-Scan (Convex hull)
I found an very old project of mine with an issue that I solved today (first and last lines were not drawn).
It demonstrates the Graham-Scan
However, I noticed I didn't document anything, and I ...
14
votes
3
answers
963
views
Arbitrary precision calculator for π in Python using only integer arithmetic
Yesterday was π-day (or today is π-day depending on your timezone). Anyway I spent the past month or so implementing trigonometric functions using only integer arithmetic, and I have implemented five ...
6
votes
4
answers
871
views
SAT Solver Using Rubik's Cube
I have a code in Python for Google Colab (.IPYNB) that reduces SAT problems to instances of a Generalized Rubik's Cube and solves them in polynomial time. Currently, the solver’s worst-case complexity ...
7
votes
3
answers
406
views
Address Book project using MVC with Tkinter
I have developed a project "Address Book" in Python with Tkinter and SQLite using the MVC architecture.
The project allows:
adding, modifying, deleting and looking up contacts
listing all ...
8
votes
4
answers
281
views
Convert OpenAPI Response Schema to PySpark DataFrame Schema
Introduction
I have created a small script designed to do the following:
Download/read an OpenAPI json document
Given a specific endpoint, convert the ...