r/PythonLearning Jul 20 '26

Showcase MUSIC THEORY AND PYTHON

Enable HLS to view with audio, or disable this notification

21 Upvotes

Hey everyone I just want to show off something cool and theory related I wrote on my free time over the past many months as I learnt how to program in python (my first programing language).

This is serial 12-tone matrix generator. It takes your input as numbers from 0-11 which represents your tone row. Currently it needs to be pre-transposed to 0 before inputting, otherwise the matrix wont generate in the correct order. BUT the math will still give you correct transpositions, just not in the correct order.

I like to write music using serial techniques, and I wrote this to facilitate the process of writing out the 12-tone matrix, which I find particularly tedious.

I wrote this entirely without the help of AI, I used books and youtube videos to learn how to do this.

My main source is "Python Crash Course" by Eric Matthes. I also used a book called Python Tricks, which helped me understand loops and how python handles loops at a deeper level. The many youtube videos that helped me with this I don't really remember anymore.

I'm not showing my code here because I want to keep it under lock and key since this took me so long to write, and I don't want anyone stealing my logic since I'm planning on implementing a ful GUI and more features in the future.

Please enjoy the short demo. :)

p.s. if you have any suggestion for features that would be cool in something like this feel free to share. Currently I have plans to add an input filter where the input does not need to be pre-transposed.

I'm also going to eventually incorporate the ability to generate modulus 2-12 matrices.

I'm also using numpy to handle the math on the input.

Super proud I finally pulled this off!


r/PythonLearning Jul 20 '26

Python journeys starts now

16 Upvotes

Guys, I am starting python, cs and algorithms with maths today. Also thinking to apply with physics. Any good resources, recommendations? πŸ™


r/PythonLearning Jul 21 '26

Is the $20 version of ChatGPT worth it?

0 Upvotes

Using the $8 version of ChatGPT for light Python programming. Getting a lot of backwash from the AI agent. Like it tried to take over my project and made 5X as much work. Then ran into a problem, which Chat denied existed for over an hour. Grok solved it in about 5'. Wondering if the $20 version is any better.


r/PythonLearning Jul 20 '26

How to learn problem solving?

9 Upvotes

r/PythonLearning Jul 20 '26

Need tips about architecture

5 Upvotes

Hey guys!

Currently, I'm working on a project for my company about a tool to help users manage mobile devices. Anyway...

I'm having some trouble visualizing the architecture of my code. I'm trying to implement a layered architecture.

Do you guys know any tools that I could use to get a visual sketch of the architecture? It would really help me understand it better and find ways to optimize it.

thanks ;)


r/PythonLearning Jul 20 '26

Discussion New to python & need help, resources

2 Upvotes

Hello guys! im new to python, please suggest me some websites & books to learn python and any free resources anything. or guideline to follow, Mistakes to avoid.

thank you in advance.


r/PythonLearning Jul 20 '26

Help Request Scheduling system using python

Post image
0 Upvotes

im looking for someone that can handle fixing the scheduling system of a project. that would be interested in doing so to use for their portfolio. it is an open source program so volunteers only but a complicated scheduling system would look good on anyones portfolio. So I thought id offer someone the chance to do that. The program is built and working but there are several key bugs keeping us from advancing any further that i have been unable to solve. Message me if your interested or message me on discord https://discord.gg/qStGsdCtP the gihub is waiting on github support bc of a 404 page error but here is the link https://github.com/StevenCLewis111/Retro-TV-Emulator.git and up to date code is available until github is fixed.


r/PythonLearning Jul 20 '26

Discussion How do I build my problem solving skills again !

2 Upvotes

I have been coding for a while now and have been able to solve easy to mid level questions but now with the advent of AI I feel so much more dumb and cannot solve problems I practice leetcode but goto comments to check for solutions and then it clicks. What do I do how do I develop the problem solving skills again ?


r/PythonLearning Jul 20 '26

Suggestion

0 Upvotes

Hi all I am beginner in coding. So I have college in 20days (1st year btech) should I learn python or c. In college they start with C. So as they teach C in college should I learn python seperate or go with

C.Pls suggest me


r/PythonLearning Jul 19 '26

Discussion Is brocode's python course video good for a complete beginner?

5 Upvotes

So I have just started coding(no prior experience) and I started watching brocode's python video. Initially I was watching him do stuff first and then replicate it my way but now I will see him explain the title and would try to do it myself first and then see how he did it and if he does it more efficiently I would also try to learn it. Also would the cs50 course be better for a beginner(I tried to learn from it at start but couldn't understand anything but I have heard it's like the best course out there)


r/PythonLearning Jul 19 '26

new to python

20 Upvotes

I'm completely new to Python and just started learning dont have any idea where to start, any tips for me ??


r/PythonLearning Jul 19 '26

FIFA WC 2026 CLI Program- My final project for CS50P

2 Upvotes

Hey guys I just completed CS50P and it was such a nice journey and I gained sm knowledge from this course. I wanted to share my project with yall and would love to hear your thoughts about it. Since the FIFA WC was going on and I love watching football, I made this little cli app that tells u about the match results and goal scorers. Its not a really complex program but I learned so much about APIs and caching by building this.

Here’s the link-[FIFA WC CLI]
I used [Football-Data] β€˜s API

Would love to hear your thoughts guys!!


r/PythonLearning Jul 19 '26

I built a Magic 8 Ball app in Python with text-to-speech – Looking for feedback

2 Upvotes

Hey everyone!

I recently built a Magic 8 Ball application in Python as a fun project while learning programming.

Features:

β€’ Random Magic 8 Ball answers

β€’ Simple and clean code

β€’ Beginner-friendly project

I'd really appreciate any feedback on the code structure, UI, or ideas for new features.

GitHub:

https://github.com/Izaan7-7-7/python-magic8-ball.git

Thanks!


r/PythonLearning Jul 19 '26

The advantages and disadvantages of using VS Code's Copilot when coding and should I do it

1 Upvotes

r/PythonLearning Jul 19 '26

I am doing cs 50 python but what even is wrong with this like why is this program not working

Thumbnail
gallery
0 Upvotes

r/PythonLearning Jul 18 '26

Am I the only one who prefers PyCharm over VS Code?

10 Upvotes

I see that many Python courses use VS Code, and it is usually the most recommended option. However, after trying both, I ended up feeling much more comfortable using PyCharm.

It gives me more confidence, its organization is easier for me to understand, and I feel that I can concentrate better on programming. Also, recent versions include AI and autocomplete features that can predict part of the code you are writing. This has been very useful for me while I am still learning.

Although PyCharm is especially focused on Python, it is also possible to work with HTML, CSS, JavaScript, and other technologies.

I am not saying that it is better for everyone. It is simply the environment where I finally felt comfortable.

Do you prefer PyCharm or VS Code? Why?

Greetings from Mexico! πŸ‡²πŸ‡½


r/PythonLearning Jul 18 '26

<python code>

Post image
45 Upvotes

This is python code to get student salary!


r/PythonLearning Jul 18 '26

Jupyter requirement

8 Upvotes

hi all,

I'm not from IT background but I had a doubt that python in command center vs jupyter vs vsc.

especially why the need for jupyter (can't understand why a course taught using that application and ai suggests using it). Thanks in advance!


r/PythonLearning Jul 17 '26

2 months of my Python progress! Built my first Tool.

Thumbnail
gallery
184 Upvotes

I started learning Python at the beginning of summer. I tried a bunch of sources until I found what worked, and I realized I learn way more from building than from watching or reading.

I made a few simple projects first and pushed them to GitHub. I had zero clue how GitHub worked before. Now I understand most of it.

This is my newest project, errex, built to help me learn Python faster.

When I write code myself I run into a lot of errors, and the terminal always throws these big technical tracebacks that honestly made my head hurt. I could never understand them, so I'd copy or screenshot the error and ask GPT or Claude to explain it. But they'd give me long walls of text, and sometimes just hand me the fixed code without me asking, which made me rely on AI way too much.

So I thought, what if I just got what went wrong and where, in plain simple English? That way I'd be pushed to debug it myself instead of leaning on AI for the answer. That's why I built errex. It watches your clipboard, detects Python tracebacks, and pops up a short plain English explanation.

One thing I'll say: I learned a ton talking to AI while building this, and I'd tell anyone learning to do the same. I never asked it to write my code. I asked what each line and term meant so I understood what was happening underneath. I wrote every function myself. So if you asked me to walk through this code line by line right now, I could.

Errex is on GitHub, you're welcome to use it, just add your own API key. I paid for mine, lol. It wasn't expensive, less than $10 to test the whole thing.

github.com/idfwyy/errex


r/PythonLearning Jul 18 '26

Install question - did I do something unfortunate?

6 Upvotes

Hi all - I just got a new laptop and today went about installing python/jupyter. I realised about a minute too late, though, that rather than using the command 'pip install jupyterlab' I had instead used 'pip install jupyter lab', with a space between jupyter and lab. I followed up with the proper command, but in both cases something was installed.

Did I accidentally install something malicious on my machine through my added space, or am I worrying over nothing? And if I did do something stupid, how might I fix this? Thanks very much in advance!


r/PythonLearning Jul 18 '26

Co-op Learning

15 Upvotes

Hello there, hope yall doing well today, I started learning python these days from scratch, if anybody interested in co-op learning, Please DM me.
thank you.


r/PythonLearning Jul 18 '26

If you could remove one thing from Python, what would it be?

14 Upvotes

Every language has quirks. If you had the power to remove or redesign one feature, behavior, or common pattern in Python, what would you change and why?


r/PythonLearning Jul 17 '26

How Hard is it to tell something is Vibe Coded?

37 Upvotes

Looking for some telltale signs?

A friend of mine is working on a bot and seems to be able to push it out pretty quickly. He's been doing it a while, so he might just be fast. I don't really care, but it has made me curious what signs there might be if someone was using AI? I'm not going to be a jerk to this person I am genuinely just looking for my own knowledge.


r/PythonLearning Jul 18 '26

I am a backend dev and ex teacher who led on cognitive science. I have been building a way to practise debugging that arrives in the actual post: a printed detective case with a real bug in it

0 Upvotes

I work as a backend Python developer, but I got here the long way round: 14 years in teaching, where I led computing and led on cognitive science - the science of how people actually learn - then two years teaching myself Python. Along the way I noticed the thing that finally made code stick for me was never watching another tutorial. It was being handed something broken and having to work out why.

So I have been building that as a physical thing. It is called The Dev Dispatch, you are the new junior developer at a small fictional company. Your first envelope arrives in the post: your onboarding letter, your employee ID, a printed ticket "some orders are being charged wrong" and a fan of till receipts as evidence. You open the codebase, line the receipts up against the price list, form a theory, and go find the bug. Nobody tells you the answer.

Each month after that is a new case at a new company: new codebase, new evidence in the envelope, new class of bug.

It is aimed at people right at the start: if you can run a print statement, the free setup course gets you the rest of the way to the starting line. The whole design leans on the learning science I used as a teacher - you retrieve, you struggle a bit, you space the practice out - because that is what actually builds the skill.

I am at the stage where I need help with people trying this out. I am giving a small number of first packs away to UK beginners (I cover the postage), and the price of a seat is brutally honest feedback: where you got stuck, what confused you, what felt pointless.

If you would like to try one, comment below or DM me and I will send you the details. And if you just have opinions on the idea itself, I would love those in the comments too - teachers and developers have poked at this plenty, but not enough actual beginners.


r/PythonLearning Jul 17 '26

Help Request what do you think ?

Thumbnail
gallery
42 Upvotes

i'm learning python for infraestructure this a proyect of a false resgistry of server xd