r/PythonLearning 6d ago

Looking for Contributors for a Classroom Management Discord Bot

1 Upvotes

Hello,

I’m a broke college student who works with a marching band program year round. Getting frustrated with previous other platforms and discord bots, I made my own with AI and it is now a relatively very large management bot that I use for this high school’s percussion program. The only problem is I know NOTHING about programming.

I’m shocked that I got it stabilized for the most part to be honest. I have used Claude Fable 5.0 to create Cadence, a Discord bot that’s grown into a very substantial project (hella slash commands, assignment workflow, google calendar integration, attendance, dashboards, etc.) It’s reached the point where it’s genuinely actually useful, but I feel like I’ve reached the limits of what is possible to be maintained through AI alone.

My long term goal if successful is to move this project away from AI-lead coding and go into something a bit more traditional and work with actual people who could understand the codebase.

I’m looking for someone who can help with bug fixing, refactoring, long-term stability, better data storage/hosting architecture, code quality and maintainability, and potentially helping guide this passion project if it were to grow into something more.

To be very honest, I don’t have much financially. I’m still in college and work part time to pay for my school. I’m happy to pay something reasonable for ongoing help, as project growth is something that I would dream of seeing.

If you’re interested in mentoring, contributing, or even just taking a look at the project to see if it is something that piques your interest, I’d really appreciate any feedback. Thanks!


r/PythonLearning 6d ago

Help Request How to bulk extract business contact info using FSSAI license numbers via Python?

3 Upvotes

I have an Excel spreadsheet containing a large list of Indian food businesses. The data includes company names, addresses, and their 14-digit FSSAI (Food Safety) License Numbers (currently formatted in scientific notation like 1.0015E+13)

Someone told me that I can use a Python script connected to a "verification service" to automatically pull the official phone numbers and emails registered with these government license numbers and save them back into Excel.

Since I am relatively new to coding, could anyone guide me for this specific case would be highly appreciated.


r/PythonLearning 6d ago

Help Request Help with indentation error

Thumbnail
gallery
0 Upvotes

I cant seem to find whats wrong class UserMainCode(object):

@classmethod
def sumOfNonPrimeIndexValues(cls, input1, input2):
    '''
    input1 : int[]
    input2 : int

    Expected return type : int
    '''

    # Read only region end

    total = 0

    for i in range(input2):
        if i < 2:
            total += input1[i]
        else:
            prime = True
            for j in range(2, int(i**0.5) + 1):
                if i % j == 0:
                    prime = False
                    break

            if not prime:
                total += input1[i]

    return total

r/PythonLearning 6d ago

I'm past the point of things like hello world and the basics of dictionaries, while/for loops, etc., but I'm not much further than that. I'm trying to think of interesting things to make in Python, maybe something math oriented. What do y'all suggest?

5 Upvotes

r/PythonLearning 6d ago

Doing codewar problem and trying pythonic condition But fail many times please tell me how I can do...

2 Upvotes
Find the sum of the odd numbers within an array, after cubing the initial integers. The function should return undefined/None/nil/NULL if any of the values aren't numbers.

def cube_odd(arr):
    result = []
    # check = arr for i in arr if type(i) != int return None
    # if not all(type(i) == int for i in arr):
    #     return None
    for _ in arr:
        if type(_) != int: return None
        else: 
            cube = _ * _ * _
            if (cube % 2 != 0):
                result.append(cube)
    return sum(result)

r/PythonLearning 6d ago

Help Request Dockerd in pure cpython3.10 code: required and mandatory, no exceptions

Post image
0 Upvotes

r/PythonLearning 7d ago

What Python feature looked useless until it suddenly became your favorite?

33 Upvotes

For me, it wasn't decorators or generators.

It was context managers. I ignored with for a long time because it just looked like a cleaner way to open files. Then I started using it for database sessions, locks, temporary files, timers, and custom resource management. Now I end up writing my own context managers regularly.

What's the one Python feature, library, or concept you completely underestimated until it finally clicked?


r/PythonLearning 6d ago

App for learning Python

0 Upvotes

Hello, having attention disorders with hyper activity I had a really hard time finding learning sources for python, so I decided (with the help of the ai to develop my own application) I put it here in beta test I still have a lot of things to see/correct all the constructive comments obviously will be welcome. Please be indulgent. The game will be open source once finished

Https://codearena.totalum-project.com/


r/PythonLearning 7d ago

Beginner Python project – Feedback appreciated

Thumbnail
gallery
15 Upvotes

I'm currently learning Python on my phone. I'm still at the beginning of my journey, so I'd appreciate any feedback on my code. Looking for ways to improve with every step.


r/PythonLearning 8d ago

Ready for (dif), right?

Thumbnail
gallery
56 Upvotes

r/PythonLearning 7d ago

Have type hints actually improved Python?

10 Upvotes

Do type hints make large codebases safer, or are we slowly turning Python into something it was never meant to be?


r/PythonLearning 8d ago

Discussion Building a Python library based on Hegelian logic instead of Boolean logic. Am I crazy?

63 Upvotes

I've been thinking about what might be the most unconventional Python project I've ever attempted, and I'd love to hear from people who know logic, PL theory, mathematics, AI, philosophy, or simply enjoy strange ideas.

The core idea is this: instead of representing truth as a binary (True/False), what if computation were built around dialectical processes?

Rather than asking whether a proposition is true or false, objects could evolve through concepts like: Thesis, Antithesis, Synthesis, Contradiction, Determinate negation, Becoming, Mediation...

In other words, contradictions wouldn't necessarily be errors — they could become first-class computational objects capable of producing new states.

I'm currently collecting papers, books, theses, existing projects, and mathematical frameworks before deciding on the architecture. Any ideas?


r/PythonLearning 7d ago

Multiple windows in Tkinter

3 Upvotes

First of all, english is not my first language, so there will certainly be mistakes. Sorry for that.

I had this a idea of a project, but it require multiple windows and i cannot figure out how to do it. I´m using tkinter and i coundn´t find a way to creat a more windows with checkboxes and stuff and transit between then.

Usedef functions and buttons to open a new window is fine for one new window, but then is a mess to implement more complex features (at least, I tried and coundn´t do it without being a mess), and also becomes progressively worse as new windows are created.

Summing up, is there functions like "open window" in tkinter or someting like that?

I coundn´t find that information anywhere else (at least not clearly).

Thx for reading, pals.


r/PythonLearning 7d ago

Im new to python i abt start from zero

15 Upvotes

any suggestions and recommendations ,how to start


r/PythonLearning 7d ago

Help Request How to start development ?

5 Upvotes

Hey guys, I'm a student currently in my final year of BTech in computer science I'm learning python now a days I'm learning oops but everyday I felt like hell you all know the pressure and I thought it's not belong to me.

I'm struggling with development since 2nd year I'm just learning basics and not building even a to do list application my placements are coming soon, trying to learn from tutorials but it's again frustrating me.

I want to learn python development and build useful project that will help me in my campus or finding job what's the approach that I have to follow.

Could u guide me towards right direction.


r/PythonLearning 7d ago

PYTHON SUGGESTION REQUIRED HELP!!!!!!!

0 Upvotes

heyy, am starting out college this year with cse aiml and wanted to know where should i start learning python

there are plenty of resources for python which really confuse me i.e

  • youtube
  • udemy
  • harvard CS50P
  • or some other reosurces too mooc.fi
  • you can also suggest some of resources

suggest me from where i should start learning python

dont confuse me more


r/PythonLearning 7d ago

Ai Learning 🦾

Post image
0 Upvotes

r/PythonLearning 7d ago

Showcase New to this

1 Upvotes

r/PythonLearning 8d ago

Tech advice

2 Upvotes

I m doing masters in data science, targetting devops and cloud roles but still cant write code in python every time get stuck in loops amd cannot go further i really want a tech job, should i master python, if yes whts the easiest way??


r/PythonLearning 8d ago

Showcase Built my first Python project. Feedback is welcome.

Thumbnail
gallery
5 Upvotes

r/PythonLearning 9d ago

Showcase Making a python football manager/simulator

Thumbnail
gallery
78 Upvotes

This is my first big project in python, and I got it to work but Im starting to run into problems related to size where I always seem to lose myself in the functions and files and all. Im using pycharm, is there a way to move efficiently between various files and scripts if youre using multiple modules? And for what im trying to do, how difficult would it be to learn a gui like tkinter or something? Thank you.


r/PythonLearning 7d ago

I want your help to make a fun Python game

Post image
0 Upvotes

I want your help to make a simple game into a really fun Python game. It's purely educational, an opportunity to learn about: - Python - (quick and dirty) Object Oriented Programming - PyGame - Teamwork using GIT

This should be accessible for Python students how are comfortable with loops, functions, and classes. If you want to help see the instructions on this PythonLearningGame git repo.

Make your changes to this already working game, maybe: - change behavior - add a new unit type - add special effects - add new game dynamics - ...

If things are not clear or you get stuck, ask AI or add questions in the comments.


r/PythonLearning 8d ago

I do my third codewar problem successfully....

1 Upvotes
def array_diff(a , b):
    a = [1,2,3,4]
    b = [1]
    result = []
    for el in a:
        if (el not in b):
           result.append(el)
    return result

Implement a function that computes the difference between two lists. The function should remove all occurrences of elements from the first list (a) that are present in the second list (b). The order of elements in the first list should be preserved in the result.

r/PythonLearning 9d ago

Python Data Model Exercise

Post image
66 Upvotes

An exercise to help build the right mental model for Python data. - Solution - Explanation - More exercises

The “Solution” link visualizes execution and reveals what’s actually happening using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵.


r/PythonLearning 8d ago

The Great Escape

3 Upvotes

I have been learning Python so this is my first script. Its a backup utility. Please take a look. All comments, suggestions are welcome. Collabs are also welcome. Source code is: https://github.com/bigbearjake14424/The-Great-Escape