Skip to main content

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.

Filter by
Sorted by
Tagged with
4 votes
4 answers
593 views

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 ...
iShareInspiration's user avatar
7 votes
3 answers
780 views

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 &...
zeuw's user avatar
  • 71
4 votes
1 answer
202 views

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'...
user avatar
14 votes
9 answers
2k views

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. ...
Blindbandid's user avatar
6 votes
3 answers
453 views

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 ...
Thingamabobs's user avatar
14 votes
3 answers
959 views

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 ...
Ξένη Γήινος's user avatar
6 votes
4 answers
869 views

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 ...
KAORU AGUILERA KATAYAMA's user avatar
7 votes
3 answers
404 views

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 ...
Meada Menaoum's user avatar
8 votes
4 answers
281 views

Introduction I have created a small script designed to do the following: Download/read an OpenAPI json document Given a specific endpoint, convert the ...
FrailCarter's user avatar
3 votes
2 answers
153 views

Follow up question for War of dots: simple RTS war game in python. Code here, extra stuff here (screenshots, profiles, documentation). Server is being reviewed here. What's changed? Since last code ...
coder's user avatar
  • 319
7 votes
3 answers
850 views

Follow up question for War of dots: simple RTS war game in python. Code here, extra stuff here (screenshots, profiles, documentation). Client is being reviewed here. What's changed? Since last code ...
coder's user avatar
  • 319
5 votes
1 answer
180 views

This is related to my previous question. This is what I have been working on in the past month. The title says it all, I have implemented numerical integration using integer arithmetic and Romberg ...
Ξένη Γήινος's user avatar
5 votes
3 answers
685 views

I wrote this program over half a year ago, but I decided to not share it because the task seems trivial to me. Today I decided to post it here. As it is designed to work with strings and messiness of ...
Ξένη Γήινος's user avatar
6 votes
4 answers
587 views

I have written a Numerical integration library in Python from scratch using Newton-Cotes formulas and integer arithmetic, as a self-imposed programming challenge. I wrote all the code completely by ...
Ξένη Γήινος's user avatar
7 votes
4 answers
1k views

I have been using basic algebra to calculate many things using only integer arithmetic by separating the parts. Like \$(a + b \sqrt{N})(c + d \sqrt{N}) = (ac + Nbd) + (ad + bc)\sqrt{N}\$, and \$(a + ...
Ξένη Γήινος's user avatar

15 30 50 per page
1
2 3 4 5
1045