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
6 votes
4 answers
65 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
104 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
  • 388
4 votes
2 answers
738 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
  • 388
5 votes
1 answer
170 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
-2 votes
1 answer
67 views

...
Mae's user avatar
  • 11
5 votes
3 answers
668 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
552 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
7 votes
3 answers
393 views

Recently, I am playing with Vision Language Models, including cosmos-reason2. The provided example "inference_sample.py" loads trained vision language model and a video directly, then ...
JimmyHu's user avatar
  • 7,717
5 votes
3 answers
876 views

I have a hex-based wargame (Battle of Chickamauga, based on the GBACW rules) in Python (using Pygame), where a small portion of the hex-grid looks like this: Different background colors represent ...
Boom's user avatar
  • 171
9 votes
2 answers
453 views

The problem I was trying to solve is simple, given an integer, find all fractions with the denominator being the input and numerator in range(0, denominator+1) and ...
Ξένη Γήινος's user avatar
8 votes
3 answers
1k views

Basically I am working on a time travel game, and every time you run the game, you play with one more 'past you'. Hold right click to move in mouse direction, left click to "shoot" (just ...
coder's user avatar
  • 388
5 votes
5 answers
808 views

I am a first-year software engineering student. I have developed my first Python application called NshDownload, and I would appreciate your feedback on the code quality and structure. Project ...
Hasan Çabuk's user avatar
10 votes
6 answers
1k views

The 'CS50 Introduction to Programming with Python' course allows you to check that your code can pass various tests before submitting your work, providing a green smiley face for each pass. Currently, ...
Phoebe_B56's user avatar
8 votes
5 answers
1k views

DISCLAIMER: All credit goes to the original War of dots. Github link Has profiles, executables (a pre release) and more screenshots. Backstory: I used to play risk when I was a kid, but I always had ...
coder's user avatar
  • 388

15 30 50 per page
1
2 3 4 5
1043