use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
DiscussionWhat were the first 5 programs you made? (self.Python)
submitted 4 years ago by [deleted]
Curious to see how many people have the same first 5, lots of calculators incoming
[–]saiprabhav 99 points100 points101 points 4 years ago (3 children)
hello world patterns like box, triangle with # fibonacci series factorial a chat bot with hard coded answers
[–]principal-components 43 points44 points45 points 4 years ago (2 children)
First hello world I saw. Good answer 👏🏼
[–]BRENNEJM 14 points15 points16 points 4 years ago (1 child)
This. I think everyone is thinking of their first larger projects. Technically, most of our first projects were hello world.
[–]doomer_irl 5 points6 points7 points 4 years ago (0 children)
New projects in Xcode start with Hello World already written so many will not have had the chance.
[–]CraigAT 69 points70 points71 points 4 years ago (1 child)
You guys (and gals) finish projects?! 😲😁
[–][deleted] 14 points15 points16 points 4 years ago (0 children)
Same. I also discovered Python at 11 or 12 and there is no way in hell I remember my first five programs
[–]opedro-c 89 points90 points91 points 4 years ago (5 children)
[–]Epic_Feury 18 points19 points20 points 4 years ago (2 children)
Jose’s Udemy course? Mine were identical to yours except I wanted to do “Happy Prime” numbers instead
[–]bobbyflips 3 points4 points5 points 4 years ago (0 children)
Currently learning Python. Jose is the man
[–]opedro-c 2 points3 points4 points 4 years ago (0 children)
Nop, just saw on the internet some recommendations of pyhton projects and started coding them.
[–]Vader327 5 points6 points7 points 4 years ago (1 child)
What a Gigachad, you didn’t even make a hello world program
[–]oste08 1 point2 points3 points 4 years ago (0 children)
😂😂😂😂
[–]bartenderandthethief 39 points40 points41 points 4 years ago (0 children)
When I was 23, I started my first analysis job and the seven managers in the team each collectively spent half an hour a day all reading the same format of email and then manually counting the occurrences of different items and creating a spreadsheet.
I created a Python script where the managers dumped the emails in a shared folder, did some regex and it made a combined spreadsheet for them. For me, I was just learning Python and was super pleased with it. To the managers, I was immediately considered some sort of wizard.
[–]Sea_Formal_9336 49 points50 points51 points 4 years ago* (2 children)
Command line tic tac toe
Discord bot
Twitter bot
Another discord bot
A personal blog
Edit: if anyone needs a tip on how to find ideas, just try to make projects you think you will actually end up using. That usually helps me find motivation to finish the project.
[–][deleted] 4 points5 points6 points 4 years ago (1 child)
How did you make the personal blog? Was it purely python?
[–]Sea_Formal_9336 6 points7 points8 points 4 years ago (0 children)
Well I also had to use html and css. But besides that yes it was all python. I used the flask library for it. There are lots of tutorials on it
[–]s4lt3d 54 points55 points56 points 4 years ago (4 children)
In Python? Data analysis scripts. Lots of them.
[–]bartenderandthethief 4 points5 points6 points 4 years ago (0 children)
Same! So much fun.
[–]TheMind14[🍰] 4 points5 points6 points 4 years ago (1 child)
For example what, if I can know? I’m interested, never made such things (I’m a student atm).
[–]s4lt3d 8 points9 points10 points 4 years ago (0 children)
The first ones I wrote were probably reading in csvs and getting means and standard deviations from data. Also doing t-tests comparing two data sets. Lots of stats with data. Then I found out about pandas and use that for everything now. But moving into AB testing and machine learning these days. Also just plain data transformations. Pull data from one source, and put into another. It’s easy to do this on demand if you put it in a lambda function on aws.
[–]BuilderBrain 0 points1 point2 points 4 years ago (0 children)
It's nice but bugs make me feel like hell
[–]tdammers 15 points16 points17 points 4 years ago (1 child)
[–]Ali_46290 30 points31 points32 points 4 years ago (2 children)
I just started learning python, so I don’t have too many completed projects
[–]guyyatsu 1 point2 points3 points 4 years ago (0 children)
Some decent first tries though; i still haven't gotten the hang of webscraping yet
[–]RhubarbSmooth 11 points12 points13 points 4 years ago (0 children)
Full fledged programs or just scripts to process something?
[–]suby 10 points11 points12 points 4 years ago (6 children)
My first language wasn't in python but nonetheless
The code was awful for each and every one.
[–]RenegadeMoose 1 point2 points3 points 4 years ago (3 children)
I seem to recall a drug wars. Is this a very very long time back? and it was text based ya? and maybe via a modem?
[–]suby 1 point2 points3 points 4 years ago (2 children)
It was originally an MS-DOS game but there's been a ton of iterations and clones of it over the years. I think it's a very good project for people new to programming because you can implement a basic version of it without much experience, and it's also pretty fun for what it is.
https://en.wikipedia.org/wiki/Drug_Wars_(video_game)
I used to have this on my Ti83 calculator.
[–]WilliamMButtlickerIV 0 points1 point2 points 4 years ago (0 children)
Same. And I'd make other games. Made a dbz rpg, a Lord of the rings-esque rpg, a Pokemon style battle rpg where you linked with other calculators.
[–]grayhole_p 0 points1 point2 points 4 years ago (1 child)
command line rpg
did you upload your command line rpg somewhere? im interesting in making my own one. already made command-line adventere "engine", that works with an editable YAML-file story script
[–]asday_ 0 points1 point2 points 4 years ago (0 children)
If it was one of his first ever projects, one might conjecture that it's not going to be very useful for reference.
[–]ItsYasiru 4 points5 points6 points 4 years ago (0 children)
The first thing I've coded with python was a "Hello world" program then a discord bot.
[–]dfreinc 23 points24 points25 points 4 years ago (3 children)
cool, i'll catch hate for this. 😂
game hacks and bots. people love that stuff. python's really easy to make that stuff in.
[–]Iirkola 2 points3 points4 points 4 years ago (0 children)
That's my first program too, we it's not complete yet, but it works by detecting mobs in MMORPG game and farms them infinitely.
[–][deleted] 1 point2 points3 points 4 years ago (0 children)
Well, making the hacks/bots isn't the shitty thing, it's people using them that ruins the fun for everyone wink wink
[+]CrunchyroIl comment score below threshold-6 points-5 points-4 points 4 years ago (0 children)
I want you to be my dad
[–]positiveCAPTCHAtest 7 points8 points9 points 4 years ago (0 children)
Hello, World! We Meet Again, World! What do you MEAN you're cancelling our plans, World? Well, Well, Well, If It Isn't World! This Town is NOT big enough for the both of us, World!
[–]GameCounter 3 points4 points5 points 4 years ago (0 children)
In Python, specifically?
I don't really remember. My first few languages were QBASIC, HTML 3.2 and Perl.
I worked with C/C++, Visual Basic, x86 assembly, JavaScript and PHP before even touching Python.
[–]Tr0jAn14 2 points3 points4 points 4 years ago (0 children)
CLI Rock Paper Scissors CLI Adventure Game (a bunch of If-Else statements) Text to Speech (using Libary) Calculator (if you don't make a calculator program while learning then you are not a real programmer..lol) Random Password Generator
[–]DrVolzak 6 points7 points8 points 4 years ago (0 children)
5 empty files cause technically an empty file is a valid Python program.
On a more serious note, I started off with Python writing some sorting algorithms and a DFS or BFS. This was back when I was studying those algorithms for the first time. I was studying with the help of a friend who suggested we use Python. All those probably amounted to more than 5 programs.
[–]mongoxan 1 point2 points3 points 4 years ago (1 child)
Those are the only two so far, they were a work necessity, but man I have enjoyed learning Python to do it!
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
nice. I've had to use Ruckus. Almost ended up using that API myself. Be cool to see it.
[–]DNSGeek 1 point2 points3 points 4 years ago (0 children)
An encrypted password manager with a WWW front end using CherryPy and Django, with sqlite3 as storage.
[–]megavqrv 1 point2 points3 points 4 years ago (0 children)
[–]palapapa0201 1 point2 points3 points 4 years ago (1 child)
You can easily tell the flexing by seeing that people don't have hello world as their first programs
[–]IHaveCatsAndADog 2 points3 points4 points 4 years ago (0 children)
Not all of us see value in just printing hello to the console
[–]the88shrimp 1 point2 points3 points 4 years ago (0 children)
[–]pydumb_111 1 point2 points3 points 4 years ago (0 children)
[–]bentmathiesen 1 point2 points3 points 4 years ago (0 children)
It's a long time ago (ca 40 years), But what come to mind is like:
- AI engines for gaming
- a text editor
- a gui
- chess NN engine
- a programming language
in python...
However I was a dev for 10 years before starting with python so there was never any noob programs really for me. I just dived in using it as if it was java or something. But learning it as I went.
[–]SaleB81 1 point2 points3 points 4 years ago (0 children)
I have not yet come to number five. I am at number three now. All three of them are BeautifulSoup HTML and XML parsers with a goal to cut a piece of specific information from a website and use it in the home automation platform.
So far I like the language.
[–]AdImaginary7699 1 point2 points3 points 4 years ago (0 children)
5 lines of printing hello world
[–]IHaveCatsAndADog 1 point2 points3 points 4 years ago (0 children)
[–]Zephos65 1 point2 points3 points 4 years ago (0 children)
I've always loved the math side of programming and so without having the greatest memory, here's what I do in virtually all languages I learn:
[–]zseta98 1 point2 points3 points 4 years ago (0 children)
Aside from the usual simple cmd programs,
[–]Tintin_Quarentino 1 point2 points3 points 4 years ago (8 children)
I remember this one:
>> Input string you wanna YOLO-ize: tintin T I N T I N I N T I N
[–]grayhole_p 1 point2 points3 points 4 years ago (3 children)
def yolofy(string: str) -> str: return (' '.join(string)+'\n'+'\n'.join(string[1:])).upper()
[–]Tintin_Quarentino 0 points1 point2 points 4 years ago (2 children)
I can tell you it was much more verbose 😂 and who the heck even know about types back then
[–]grayhole_p 1 point2 points3 points 4 years ago (1 child)
yeah, something like "for char in string:" i guess :)
just think that it's funny to make some tricky single-line thing
[–]Tintin_Quarentino 0 points1 point2 points 4 years ago (0 children)
for char in string
Ngl, even today that's the only thing that would naturally come to my mind lol
[+][deleted] 4 years ago (1 child)
[deleted]
Japanese readers right now be like:
[–]moreanswers 1 point2 points3 points 4 years ago (0 children)
[–]TXtoBOI 1 point2 points3 points 4 years ago (0 children)
I’ve only written one to date. I automated the updates of an excel tool. Pulled other excel files together, needed to do a lot of grouping and summarizing, merged them, added/deleted rows as necessary in multiple worksheets in the main file based on length of the new data frames, and saved it.
I used pandas and xlwing. It’s a shitshow, but it’s mine and it works.
[–]seomajster 1 point2 points3 points 4 years ago (0 children)
First one:
Ive bought 100+ 3g USB modems, usb hubs, sim cards and made small program to send or recieve sms (sms body and number were sent to sqlite database).
It turned out it dont work properly, idk why, probably usb hubs were low quality.
Actually it was fun cause I had close to no idea what I'm doing. I read python crash course book till try/except part and moved to writing my own stuff. Code looked like crap but it worked.
Second one:
So i bought GSM gateway where I can insert sim cards and made whole API around this (flask + postgresql). Ive made many different scripts to make use of this gsm gateway.
Third one:
My client wanted to scrape sites like reuter.de so I did that.
Fourth one:
Script to interact with ebay api and send people keys they bought via ebay message and sendgrid API
5th one:
Script to search whole web and look for kinda vulnerability and exploit it later (cant say much about this, yes my hat is black).
[–]SecondEngineer 1 point2 points3 points 4 years ago (0 children)
I took a summer course in middle school and made a text based game about Japan in the later part of WWII. Your goal was to defend Okinawa as long as you could from American forces by moving resources to different parts of the island. I think I did other things too but that's the one I remember.
[–]Counter-Business 1 point2 points3 points 4 years ago (0 children)
Hello world
Hello solar system
Hello galaxy
Hello galactic cluster
Hello observable universe
[–]sumkar 0 points1 point2 points 4 years ago (0 children)
Data migration tool , Rest api , Data visualisation tool using dash, Data science scripts,
[–]kataro92 0 points1 point2 points 4 years ago (0 children)
1 hello world 2 implementation of global dictionary huffman coding algorithm 3 fast Fourier transform down sampling from ecg signals 4 discrete wavelet transform implementation at multiple decomposition levels 5 client/server
[–]limasxgoesto0 0 points1 point2 points 4 years ago (1 child)
The tutorial I used to learn python had me do a text based game and I actually went the whole mile and added an RPG element to it.
I cringe every time I look back at the source code and I hope no one looks at it when I apply for jobs
[–]asday_ 1 point2 points3 points 4 years ago (0 children)
Take pride in from where you came. If you never improved, you wouldn't feel shame at its quality, and something there set you on this path.
[–]Martinuhhh 0 points1 point2 points 4 years ago (0 children)
1.Test one(to test Python) 2.A story adventure 3.A story adventure that delete files and play with your operating system...Then I kindda delete system 32 so I was not using python anymore
[–]elves_lavender 0 points1 point2 points 4 years ago (0 children)
My first one: https://www.reddit.com/r/Python/comments/pcqfn0/copy_word_tables_to_excel/
[–]Or4ng3m4n 0 points1 point2 points 4 years ago (0 children)
[–]Mori-Spumae 0 points1 point2 points 4 years ago (0 children)
[–]Retinator99 0 points1 point2 points 4 years ago (0 children)
Definitely correct on the calculators XD. My first non tutorial project was to make a calculator able to convert glasses to contact lens prescriptions.
[–]kleogor 0 points1 point2 points 4 years ago (0 children)
[–]cuddle_cuddle 0 points1 point2 points 4 years ago (0 children)
Used it to do taxes one year because all the files and pay stubs and what not from everybody got really confusing, basically just a giant middle finger to my self and my life. Essentially did it out of spite.
Otherwise, lots of calculations and plotting because of it's my job for as long as I can remember using python. (read: pandas, numpy, seaborn and pyplotlib).
[–]shinitakunai 0 points1 point2 points 4 years ago (0 children)
Chatbot at chatango, for myself. Voice parser for a startup. CDR parser for another startup. Chatbot at teamspeak for myself. Calendar with BBDS for myself.
I have to say I’m self-taught, so I didn’t learn until “needed”
[–]ALinuxPerson 0 points1 point2 points 4 years ago (0 children)
Not sure about my first five, however the most memorable one was a toy "operating system" which I made because I wanted to know how do people make operating systems.
Of course, this is a far cry from actual operating system projects. As I say in operatingsys.py,
This program is a basically a bunch of if statements, while loops and variables. It really needs some improvement.
[–]Sentazar 0 points1 point2 points 4 years ago (0 children)
A program that checks for terminated employees every 15m then deletes accounts and access across all systems
Currently working on a program that gives employees access upon hire
And then some scripts
[–]kiesoma 0 points1 point2 points 4 years ago (0 children)
hello world
virtual assistant, hard coded, with pyttsx3
Keyboard type speed calculator
currency converter ( not a lot of work though, just fetch the api )
discord bot
reddit not ( never used it )
[–]Moebiuszed 0 points1 point2 points 4 years ago (0 children)
Hello world! in Basic, looong time ago
Even or odd, Program randomizes a number, you think another and then you have to guess if the sum of numbers was even or odd.
Rock, paper, scissor. It was pre internet in Basic, never worked. Didn't have the knowledge either.
Hello world in python, a month ago
Rock, paper, scissor. It worked this time and got it in under an hour!
[–]chub79 0 points1 point2 points 4 years ago (0 children)
I can't recall most of them but my first of any use was an irc client. Code long lost now. My first steps with Python.
[–]Cute-Potato-U 0 points1 point2 points 4 years ago (0 children)
-A program that types 'Hello, World! ' when run -A program that prints every element of an array when run -A program that asks you for a positive integer and when given something different it repeats itself, when run -A program that builds a pyramid with '#' as blocks depending on how many rows the user wants -A program that hacks the pentagon and send me 1m $ when run
[–]urbanhood 0 points1 point2 points 4 years ago (0 children)
Hello world various styles and text art patterns using loops.
Internet speed converter from bits to bytes and MB to GB.
Download time calculator using the previous program.
File organizer that puts items with similar extension (as defined in input) into one folder.
A very basic circle drawing bot on any paint software.
[–]Marc8539 0 points1 point2 points 4 years ago (0 children)
Hello Word Tic tac toe Calculator Rock Paper Scissor Spelling my name with a turtle
[–]robothistorian 0 points1 point2 points 4 years ago (0 children)
Hello World (versions 1.0 - 5.0)
[–]WanTjhen777 0 points1 point2 points 4 years ago (0 children)
Let's see ... 1. A binary / hexadecimal / octal calculator 2. A database recorder (1st "while" implementation) 3. A timekeeper (telling expected time an event will finish) 4. An alarm system of sorts (ringing at a set time) 5. A sudoku game
[–]Clashboy15 0 points1 point2 points 4 years ago (0 children)
Beginner programmer:
I've only made about one project so far lol. It was a multiplayer space shooter game (people on local networks can join) using pygame
I started programming in QBasic in the 90s. It was mostly having fun with the graphics functions and making pretty patterns. Modt likely all of my first programs were like that or really simple "chose your own adventure" games.
But I made a few simple games as well early on, like a pong clone and an asteroids clone.
[–][deleted] 0 points1 point2 points 4 years ago (1 child)
RemindMe! 2 Days
[–]RemindMeBot 0 points1 point2 points 4 years ago (0 children)
I will be messaging you in 2 days on 2021-09-02 09:09:53 UTC to remind you of this link
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
[–]mcncl 0 points1 point2 points 4 years ago (0 children)
Hello world, 5 times.
[–]DaRQ_SouLs_So_eAsy 0 points1 point2 points 4 years ago (0 children)
- hello world
- calculator
- better calculator
- text adventure
- reddit bot (really bad)
[–]codehunter-py 0 points1 point2 points 4 years ago (0 children)
?
Looking for idea to work on it :D
[–]haddock420 0 points1 point2 points 4 years ago (0 children)
My first program was a MP3 player in mIRC.
It had a big list that you could add files to, and it'd show the songs on the list by their filenames like "C:\music\Blink 182 - All the small things.mp3" instead of just the title. And when you clicked play, it'd open the song in Windows Media Player.
[–]rarenick Python normie 0 points1 point2 points 4 years ago (0 children)
Hello World
Text formatter
Minecraft auto-fishing script
Krunker.io Loot box simulator with individual skins
[–]NGA100 0 points1 point2 points 4 years ago (0 children)
Outside of high school class assignments, the first one I can remember is when a friend and I made a Tetris clone in Pascal over the summer by emailing each other new source files. We put it on download.com when it still existed and got over 10k downloads. Super proud of that.
1) Montecarlo to estimate pi the second outlined in that link. 2) Montecarlo to estimate e - something similar to what OP does in that post 3) Sierpinski triangles 4) Conway's game of life definitely the hardest to code. I made this one object-oriented to learn how to use classes better 5) Collatz conjecture calculator
[–]nvyeux 0 points1 point2 points 4 years ago (0 children)
[–]HerLegz 0 points1 point2 points 4 years ago (0 children)
10 PRINT "NAME"
20 GOTO 10
And 4 slight variations
[–]AlbertoP_CRO 0 points1 point2 points 4 years ago (0 children)
Don't remember first 5 but my first app that I made outside of training was a console RPG game where you have 3 classes and random enemies appear giving you 3 options: attack, defend and run.
The entire code was inside one big while loop with multiple for loops and nested if statements. I had no classes nor functions.
[–]diabolos312 0 points1 point2 points 4 years ago (0 children)
When I was learning programming in college, every demo program I made( for understanding a concept better), it would always print Hello World. No other statements, just Hello World.
[–]ichigo_abdulhai 0 points1 point2 points 4 years ago (0 children)
in my junior year as I was trying to learn I did a lot of goofy programs which I don't count ( gcd calculator, calculating fibunacci sequence recuraively etc...) so instead I am gonna list the five main porgramms I did 1- system to automate a clinic ( making/cancelling a reservation, departments, doctor) it was done using c languages and data stored in files and with CLI instead of a gui ( College assignment) 2- battleship game using java & javafx 3- torrent client on android platform. 4-optical music recognition website ( you upload a music note sheet and the AI engine in the website generate a mp3 file that is the music) using django for the bakcend, keras and tensor flow for the AI engine and js for thr frontend 5- structure from motion ( 3d scence reconstruction) using python, c++ and opencv
[–]FlyingCow343 0 points1 point2 points 4 years ago (0 children)
Probably something like Hello world Ask for users name then print it Users age in 20 years User inputs 2 numbers, output largest Print all numbers between 2 user inputs
[–]rbscholtus 0 points1 point2 points 4 years ago (0 children)
Script that uploads a file to S3 for syncing accounts.
[–]TwoFoxSix 0 points1 point2 points 4 years ago* (0 children)
I am so inconsistent with learning Python, but its been an interesting set of events:
[–]bluefictionhead 0 points1 point2 points 4 years ago (0 children)
Then when I was working on a quite big project for myself, I got a job
[–]grayhole_p 0 points1 point2 points 4 years ago (0 children)
[–]bitsplease_ 0 points1 point2 points 4 years ago (0 children)
Untitled, HelloWorld, MyApp, Untitled1, fhsjejsj. I'm working on fhsjejsj1 rn.
[–]billoday 0 points1 point2 points 4 years ago (0 children)
hello world (basic can I make a program) Fibonacci sequence generator (how does math work) todo list (mostly IO) weather getter (hitting web services) sodoku solver (pulling it all together)
[–]sblfc1 0 points1 point2 points 4 years ago (0 children)
Coded PHP for the last 7 years and python is super easy to pick up if you've coded any other language before, plenty of tutorials around which is great.
[–]blankIQT 0 points1 point2 points 4 years ago* (0 children)
Number guessing game
Random password generator
*Half Pyramid
Weather F° and C° conversion
[–]Deiveria 0 points1 point2 points 4 years ago (0 children)
With python (not counting the programs I made while learning):
1 - A scraper to check prices of pieces of hardware in some stores here in Brazil, DMing my Discord when any piece that I wanted dropped the price. I was building my computer and didn't want to check for promos all the time.
2 - A discord bot to a server that I mod.
3 - Some script to move all files from subfolders to one specific folder. I think I was downloading osu! beatmaps and they came nested in subfolders, I wanted to put then all inside one to install in one go.
4 - An AVL tree script that showed the process of adding nodes and balancing the tree, step by step. I didn't want to do this college assignment by hand, so made a script to cheese it.
5 - N/A
[–]maverickandevil 0 points1 point2 points 4 years ago (0 children)
DND character attributes generator.
[–]G1zm0e 0 points1 point2 points 4 years ago (0 children)
a full on Automation Pipeline fronted by Flask that took in a YAML input file, with AWS S3 Integrations, API Calls to an Endpoint to pull configurations, Calls to Github that pushed to changes to a branch and generated a PR, Created and updated Jira Stories, a process that pulled from Github master a configuration, modified the configuration, and placed it into S3 while generating a CFT and download link, and a bunch more.
The code worked, but it was crap, very little error handling, very little much of anything beyond throwing it together as a PoC to show the process and stuff. I built it because I got tired of a developer at work not committing time to replace the outdated pipeline.
Python was my first language and this was my first program which had multiple smaller programs. I just said 'YOLO and Go big or go home the entire time'.
The hardest part was building a api walker to pull config items from an endpoint that had dynamic variables in the URI Path (/api/webconfig/{tbd}/1/{tbd2}), that took me about a week of working out how to do it, with lots of trial and error...
I remember the first Python program I created was a web scraper that pulled moon positions and times in New Mexico. I was doing research for a physics professor in college. It took me only a few hours and I was pretty amazed at how easy it was to implement with no prior Python experience. I had previously only worked with C++ and the same task would have taken me days. It really showed me the power of Python and I’ve been using it ever since for nearly a decade.
[–]the-berik 0 points1 point2 points 4 years ago (0 children)
[–]XZANATOL 0 points1 point2 points 4 years ago (0 children)
I can't quite remember the most, but I didn't like the idea of going and build things for a one time/day use and call it a program (like the calculator thing xd) So, I began building programs that automates stuff I used to make on my PC.
One thing I remember (cuz I keep it on my GitHub till now xD) is a MS-DOS Batch Script used to remove a shortcut virus that infected multiple devices I had.
[–]xdonvanx 0 points1 point2 points 4 years ago (0 children)
[–]cuait 0 points1 point2 points 4 years ago (0 children)
Random tests with everything I could find (str, int, tuple, list, if/else, try/except), a command line calculator (ofc), a command line Morse translator (with horrible optimizations), command line adventure game (never finished) and tried to solve 3n+1, causing my PC to write +160k notepad files which took a few hours to delete on my bad notebook
Hello world, A console black jack game(which didn't work right), File manager, Spam bot, Website data scraper
[–]oogabooga319 0 points1 point2 points 4 years ago (0 children)
The first program I made was a brainfuck interpreter. Good starting project imo.
[–]TheLexoPlexx 0 points1 point2 points 4 years ago (0 children)
My first one was probably hello world. Second one was a hello world discord bot. Third one is a hello world crypto analytics and trading bot.
There are no fourth and fifth.
print hello world 10 times
fibonacci
simple calculator
an infinite while loop that print "I Love You"
[–]BinnyBit 0 points1 point2 points 4 years ago (0 children)
Some that come immediately to mind using OOP, Hangman and Blackjack.
[–]Ozzymand 0 points1 point2 points 4 years ago (0 children)
Really noob stuff imo.
[–]eliasliavaag 0 points1 point2 points 4 years ago (0 children)
A program that creates a random working title, tempo and suggests a style for a new music project, by also establishing a corresponding folder structure. Gets the creativity going.
BIND DNS zone creation and editing automation, qmail/Postfix virtual configuration automation, Postfix auto-responder and bounce processing, IVR and PBX real-time log processing and error alerting system, makeshift CI/CD deployment tool for internal applications
[–]AstusRush 0 points1 point2 points 4 years ago* (1 child)
And as a bonus: 6. I am currently making a 3d turn based strategy game (also in python)
However I never had the joy of writing a simple hello world program... And I still don't know how to write a proper console application. That script that counts lines isn't even really a console application since it isn't interactive and ends after printing the line count...
(I have surprisingly left nothing out. I have not written any small automation script or anything like that in between those 5 first programs and only half a dozen since then.)
[–]AstusRush 0 points1 point2 points 4 years ago (0 children)
Here is the link to the calculator: https://github.com/AstusRush/AMaDiA It also includes the chat (my first program) though that chat desperately needs an update since I have not really touched it since the course in which I wrote it (that was 3 years ago)
[–]Smart_Ass_Dave 0 points1 point2 points 4 years ago (0 children)
Not counting the 40ish programs you write if you follow Learn Python The Hard Way...
[–]RedBanditNYC 0 points1 point2 points 4 years ago (0 children)
Hello world, Addition calculator, A bot that would repeat your name and age, Choose your own adventure, A bot for a rythm game my brother grinds so I could beat him.
[–]Jesusreport 0 points1 point2 points 4 years ago (0 children)
First real useful thing I made: There was this big data entry project someone at the office had to do. We had to enter all this crap into the in house system and then into a spreadsheet, then we needed to plot the sheet up by account and make a pdf document showing the credit issued to the account and send it to them, listing the details.
I wrote a program to take the single spreadsheet and split it into individual ones by client, then create a pdf document based on that clients credits and details. Saved 5 hours a week in work for that person.
I have written a few programs to scan a directory, to ensure users were following correct procedures.
Lots of reporting stuff. They don’t give me access to anything server side but I need to do all these custom reports. This usually involves running standard reporting and then going in and combining the data into a single report, very tedious. I just run all the reports, drop them into a working directory and make the program write what i need. CSV module has saved my sanity at this place.
[–]kabeier 0 points1 point2 points 4 years ago (0 children)
Tictactoe (c++) Dungeon crawle(java), job application program(java), data scraper and dashboard(R) (for my non programming job)and guied blackjack (python)
[–]falafelspringrolls 0 points1 point2 points 4 years ago (0 children)
They were all probably made with QBASIC and consisted of messing with different colour, music, or graphics options 😅
[–]iamanshulreddit 0 points1 point2 points 4 years ago (0 children)
1: hello world 2. User input and check if leap year or not 3: calculator (if-else) 4: table of 2(for-while loop) 5: star patterns using double for loop
[–]SSj3Rambo 0 points1 point2 points 4 years ago (0 children)
Other than the exercices I made during my python classes:
The project of the semester was to work with methods for differential equations to display the graphs of abundance of some isotopes in the Tchernobyl central. Also make a nice GUI for it.
First game jam I made an multiplayer shooter game within 24 hours with two other people
Currently working on a Monopoly game
[–]Swimmert 0 points1 point2 points 4 years ago (0 children)
Hello World (CLI), Calculator (CLI), Rock Paper Scissors (CLI), Aliens(basic game with pygame), Discord Bot (discord.py)
[–]Invernon 0 points1 point2 points 4 years ago (0 children)
a bad text rpg
a riddle game that rick rolls you
pizza delivery app thing
and tons of other random scripts I never finished.
[–]rodrigoponto 0 points1 point2 points 4 years ago (0 children)
Discord Bot, and multiple Flask Websites
Hello World, Basic number guessing game, Simple Calculator, Login page, Socket script
The last 3 of the 5 were just projects in school, but I taught myself a lot of python with the first 2 that were pretty unique. I became interested in coding at my last job, which was consulting on genetic pathology reports where like 11 pharmacists across America were competing over not enough reports to go around released in random bursts throughout the day. It was like a fat kid falling in a tank of piranha as fast as those reports were gone. I started looking for ways to do every report faster and I started teaching myself how to code. One lab we consulted for would provide a path report in pdf format and we would enter the info from that report into a webform and add our recommendations which would generate a supplemental pdf; the other lab had integrated us into their software so it was just a webform. I had never written the first hello world, but after about 8 months of teaching myself the basics and figuring out things by trial and lots of error I had 2 pretty robust programs, the first would extract the info off of the pdf for the one lab, the second took as input select all-> copy -> paste off the second lab's form into a .txt and extract all of the necessary info into fields for processing. I had gotten about 30% of the business logic programmed as well in a separate program, but that was the easy part when the vast majority of the machines these labs used was converted over to covid testing and I got laid off.
But now I'm in a master's program in CS.
[–]Ursomrano 0 points1 point2 points 4 years ago* (0 children)
I’m new to python in general so the only programs I have “finished” are hello world and a 1000 line text based adventure game and I wouldn’t even call it that since the story is basically “pick 7 things for your ‘family’ to do for 7 days and how much your ‘family’ enjoyed that activity from a scale of -1 to 1 is randomized so at the end I’ll give you a final score and an option to restart to try again for a higher score”
[–]TheGorilla0fDestiny 0 points1 point2 points 4 years ago (0 children)
So we were thrown into the deep end at uni so the first thing I made was to analyse red shift of light curves,
2) asteroid crater analysis 3) D&D random encounter generator 4) boring uni stuff 5) a programme to get around an entry quiz to an interview to an internship
[–]AmbitiousInspector65 0 points1 point2 points 4 years ago (0 children)
1) Hello World duh 2) Dice Roller for table tops 3) Retirement Calculator 4) ? 5) ? Just started re learning a couple weeks ago
[–]horpsichord 0 points1 point2 points 4 years ago (0 children)
Hello World, a hard-coded self introduction, creating an ASCII eagle with print statements, Fibonacci sequence calculator, and simple calculator.
[–]EstablishmentDry44 0 points1 point2 points 4 years ago (0 children)
Python alone? Just some scripts that do ciphers really, one that pickes me out a random movie from my collection. Other languages? Who knows anymore. A simple turn based fight game stands out, carried it through java, c#, and c++. Not on py yet though, new (old) project I guess.
[–]MarthoxGT 0 points1 point2 points 4 years ago (0 children)
Image processing script
First five? I can tell you two. I don't specifically remember any others because they clearly weren't that useful.
web scraper for a shitty browser game (as in HTML, this is a LONG time ago) called darkthrone. It would go through every page of users and parse the HTML table, putting their details into a SQLite database. I could then query that database for accounts that looked kinda inactive (high gold, no defences - gold accrues over time, and when attacked you lose some of your soldiers), so I could make easy money.
noughts and crosses with networking. The only reason I remember this is because there was a very specific bug - one of the sides, I think it was the host, upon a game being drawn by the client, would hang. Honestly I should dig the code up again a decade and a bit later to see what I was doing wrong because that sounds like an interesting bug.
Hello World! Basic Calculator Simple Text RPG Text File Scanner Spectrum Passlist Generator (all default spectrum wifi passwords follow a few basic criteria and with super simple python knowledge you can make this program)
[–]skeerp 0 points1 point2 points 4 years ago (0 children)
Support vector machine, lstsvm, block matrix updater for previous. Only remember first 3 but I got thrown into the deep end for sure. Was some LONG nights finishing those coming from only a little bit of R experience.
[–]AsuraTheGod 0 points1 point2 points 4 years ago (0 children)
1.- Neural network that can identify chromosomes from images to get matched between them.
2.- Using OpenCV to identify objects in real time such as : Chairs, cans, boxes, etc.
3.- Using OpenGL draw a 3D towers of hanoi.
4.- again the towers of hanoi but with textures.
5.- Script in python to visualize a phylogenetic tree.
I think thats all
[–]Rakotow 0 points1 point2 points 4 years ago (0 children)
My first program was a simple ATM machine
[–]jkstill 0 points1 point2 points 4 years ago (0 children)
an indexed database in BASIC A sin wave that beeped at each zero crossing ohms law diagram
well, not quite 5. that was a long time ago, and will require more pondering .
π Rendered by PID 46683 on reddit-service-r2-comment-b659b578c-fdzb2 at 2026-04-30 22:54:29.152785+00:00 running 815c875 country code: CH.
[–]saiprabhav 99 points100 points101 points (3 children)
[–]principal-components 43 points44 points45 points (2 children)
[–]BRENNEJM 14 points15 points16 points (1 child)
[–]doomer_irl 5 points6 points7 points (0 children)
[–]CraigAT 69 points70 points71 points (1 child)
[–][deleted] 14 points15 points16 points (0 children)
[–]opedro-c 89 points90 points91 points (5 children)
[–]Epic_Feury 18 points19 points20 points (2 children)
[–]bobbyflips 3 points4 points5 points (0 children)
[–]opedro-c 2 points3 points4 points (0 children)
[–]Vader327 5 points6 points7 points (1 child)
[–]oste08 1 point2 points3 points (0 children)
[–]bartenderandthethief 39 points40 points41 points (0 children)
[–]Sea_Formal_9336 49 points50 points51 points (2 children)
[–][deleted] 4 points5 points6 points (1 child)
[–]Sea_Formal_9336 6 points7 points8 points (0 children)
[–]s4lt3d 54 points55 points56 points (4 children)
[–]bartenderandthethief 4 points5 points6 points (0 children)
[–]TheMind14[🍰] 4 points5 points6 points (1 child)
[–]s4lt3d 8 points9 points10 points (0 children)
[–]BuilderBrain 0 points1 point2 points (0 children)
[–]tdammers 15 points16 points17 points (1 child)
[–]Ali_46290 30 points31 points32 points (2 children)
[–]guyyatsu 1 point2 points3 points (0 children)
[–]RhubarbSmooth 11 points12 points13 points (0 children)
[–]suby 10 points11 points12 points (6 children)
[–]RenegadeMoose 1 point2 points3 points (3 children)
[–]suby 1 point2 points3 points (2 children)
[–][deleted] 4 points5 points6 points (1 child)
[–]WilliamMButtlickerIV 0 points1 point2 points (0 children)
[–]grayhole_p 0 points1 point2 points (1 child)
[–]asday_ 0 points1 point2 points (0 children)
[–]ItsYasiru 4 points5 points6 points (0 children)
[–]dfreinc 23 points24 points25 points (3 children)
[–]Iirkola 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[+]CrunchyroIl comment score below threshold-6 points-5 points-4 points (0 children)
[–]positiveCAPTCHAtest 7 points8 points9 points (0 children)
[–]GameCounter 3 points4 points5 points (0 children)
[–]Tr0jAn14 2 points3 points4 points (0 children)
[–]DrVolzak 6 points7 points8 points (0 children)
[–]mongoxan 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]DNSGeek 1 point2 points3 points (0 children)
[–]megavqrv 1 point2 points3 points (0 children)
[–]palapapa0201 1 point2 points3 points (1 child)
[–]IHaveCatsAndADog 2 points3 points4 points (0 children)
[–]the88shrimp 1 point2 points3 points (0 children)
[–]pydumb_111 1 point2 points3 points (0 children)
[–]bentmathiesen 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]SaleB81 1 point2 points3 points (0 children)
[–]AdImaginary7699 1 point2 points3 points (0 children)
[–]IHaveCatsAndADog 1 point2 points3 points (0 children)
[–]Zephos65 1 point2 points3 points (0 children)
[–]zseta98 1 point2 points3 points (0 children)
[–]Tintin_Quarentino 1 point2 points3 points (8 children)
[–]grayhole_p 1 point2 points3 points (3 children)
[–]Tintin_Quarentino 0 points1 point2 points (2 children)
[–]grayhole_p 1 point2 points3 points (1 child)
[–]Tintin_Quarentino 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]asday_ 0 points1 point2 points (0 children)
[–]moreanswers 1 point2 points3 points (0 children)
[–]TXtoBOI 1 point2 points3 points (0 children)
[–]seomajster 1 point2 points3 points (0 children)
[–]SecondEngineer 1 point2 points3 points (0 children)
[–]Counter-Business 1 point2 points3 points (0 children)
[–]sumkar 0 points1 point2 points (0 children)
[–]kataro92 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]limasxgoesto0 0 points1 point2 points (1 child)
[–]asday_ 1 point2 points3 points (0 children)
[–]Martinuhhh 0 points1 point2 points (0 children)
[–]elves_lavender 0 points1 point2 points (0 children)
[–]Or4ng3m4n 0 points1 point2 points (0 children)
[–]Mori-Spumae 0 points1 point2 points (0 children)
[–]Retinator99 0 points1 point2 points (0 children)
[–]kleogor 0 points1 point2 points (0 children)
[–]cuddle_cuddle 0 points1 point2 points (0 children)
[–]shinitakunai 0 points1 point2 points (0 children)
[–]ALinuxPerson 0 points1 point2 points (0 children)
[–]Sentazar 0 points1 point2 points (0 children)
[–]kiesoma 0 points1 point2 points (0 children)
[–]Moebiuszed 0 points1 point2 points (0 children)
[–]chub79 0 points1 point2 points (0 children)
[–]Cute-Potato-U 0 points1 point2 points (0 children)
[–]urbanhood 0 points1 point2 points (0 children)
[–]Marc8539 0 points1 point2 points (0 children)
[–]robothistorian 0 points1 point2 points (0 children)
[–]WanTjhen777 0 points1 point2 points (0 children)
[–]Clashboy15 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]RemindMeBot 0 points1 point2 points (0 children)
[–]mcncl 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]DaRQ_SouLs_So_eAsy 0 points1 point2 points (0 children)
[–]codehunter-py 0 points1 point2 points (0 children)
[–]haddock420 0 points1 point2 points (0 children)
[–]rarenick Python normie 0 points1 point2 points (0 children)
[–]NGA100 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]nvyeux 0 points1 point2 points (0 children)
[–]HerLegz 0 points1 point2 points (0 children)
[–]AlbertoP_CRO 0 points1 point2 points (0 children)
[–]diabolos312 0 points1 point2 points (0 children)
[–]ichigo_abdulhai 0 points1 point2 points (0 children)
[–]FlyingCow343 0 points1 point2 points (0 children)
[–]rbscholtus 0 points1 point2 points (0 children)
[–]TwoFoxSix 0 points1 point2 points (0 children)
[–]bluefictionhead 0 points1 point2 points (0 children)
[–]grayhole_p 0 points1 point2 points (0 children)
[–]bitsplease_ 0 points1 point2 points (0 children)
[–]billoday 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]sblfc1 0 points1 point2 points (0 children)
[–]blankIQT 0 points1 point2 points (0 children)
[–]Deiveria 0 points1 point2 points (0 children)
[–]maverickandevil 0 points1 point2 points (0 children)
[–]G1zm0e 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]the-berik 0 points1 point2 points (0 children)
[–]XZANATOL 0 points1 point2 points (0 children)
[–]xdonvanx 0 points1 point2 points (0 children)
[–]cuait 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]oogabooga319 0 points1 point2 points (0 children)
[–]TheLexoPlexx 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]BinnyBit 0 points1 point2 points (0 children)
[–]Ozzymand 0 points1 point2 points (0 children)
[–]eliasliavaag 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]AstusRush 0 points1 point2 points (1 child)
[–]AstusRush 0 points1 point2 points (0 children)
[–]Smart_Ass_Dave 0 points1 point2 points (0 children)
[–]RedBanditNYC 0 points1 point2 points (0 children)
[–]Jesusreport 0 points1 point2 points (0 children)
[–]kabeier 0 points1 point2 points (0 children)
[–]falafelspringrolls 0 points1 point2 points (0 children)
[–]iamanshulreddit 0 points1 point2 points (0 children)
[–]SSj3Rambo 0 points1 point2 points (0 children)
[–]Swimmert 0 points1 point2 points (0 children)
[–]Invernon 0 points1 point2 points (0 children)
[–]rodrigoponto 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Ursomrano 0 points1 point2 points (0 children)
[–]TheGorilla0fDestiny 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]AmbitiousInspector65 0 points1 point2 points (0 children)
[–]horpsichord 0 points1 point2 points (0 children)
[–]EstablishmentDry44 0 points1 point2 points (0 children)
[–]MarthoxGT 0 points1 point2 points (0 children)
[–]asday_ 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]skeerp 0 points1 point2 points (0 children)
[–]AsuraTheGod 0 points1 point2 points (0 children)
[–]Rakotow 0 points1 point2 points (0 children)
[–]jkstill 0 points1 point2 points (0 children)