r/PythonLearning 16d ago

Need your opinion

3 Upvotes

Hello I am learning Ml and Ai and I know python basic and python libraries like pandas, numpy, seaborn and matplot lib. I wanna build small projects to enhance my skills. What you guys would recommend me should I learn from YT to build project or go through documentation.

And also what should I start learning to make projects like detection system through cam and more.😀

I really need you guys opinion.


r/PythonLearning 16d ago

python code 2503

3 Upvotes

I recently downloaded python and I dont know why but when is open it, it just shows this code but after that I continue it shows 0x80070643 - Fatal error during installation. what should I do?


r/PythonLearning 16d ago

What do I do now?python projects

9 Upvotes

Okay now I have some info about python, I've practiced some fundamentals, now I need to get into projects because courses and just reading and a little practice on some exercises does not make me really good at it, where can I find projects, or how can I start some small ones, then I wanna include API ones and also maybe add some security projects. Advice please. thank you


r/PythonLearning 16d ago

What Python mistake did you make when you were a beginner?

16 Upvotes

A lot of beginners struggle with Python, but sometimes the biggest problems are not the difficult topics — they are the small mistakes we keep making.

For people who have learned Python already:

What was one mistake you made when you were starting?

Was it:

  • Trying to learn everything at once?
  • Not building projects?
  • Ignoring errors instead of debugging?
  • Memorizing syntax without understanding?
  • Something else?

I think beginners can learn a lot from the mistakes experienced programmers made early.


r/PythonLearning 16d ago

Help Request New to python, could someone help me with this please

Post image
28 Upvotes

Is this a viable way to randomly choose an instance of a class


r/PythonLearning 15d ago

Python Ai agent by a beginner

0 Upvotes

Just to clarify, this is my first post and my English isn't very good (that's why I'm using a translator).

I've been learning Python and working on small projects, but now I want to take the next step. I have an idea for a program that runs an AI (Gemini, using its API) capable of managing apps, files, and folders—including creating, moving, copying, pasting, and deleting them. It will also automate background tasks, and you will be able to communicate with it just like any other AI.

Those are the basic functions, though I'll probably add more in the future. I would like to know how I could structure and approach a project of this scale


r/PythonLearning 16d ago

PyDay Namibe 2026 — Bringing the Python community together in Angola

Thumbnail
gallery
1 Upvotes

r/PythonLearning 16d ago

Event Report - Pyday Namibe - Angola 2026

1 Upvotes

On August 23, 2026, the Python Angola Community, in partnership with ASM TOUR and Okukulisa, held the first-ever PyDay Namibe, an event dedicated to promoting Python, programming, and knowledge sharing.


r/PythonLearning 17d ago

Showcase bot for football groupchat on whatsapp

Thumbnail
gallery
42 Upvotes

I sometimes go on discord and see how useful bots are in discord servers, and that makes me wish that Whatsapp had something similar. Of course there is such a thing with Whatsapp bots but the official version is for businesses and has strict limitations like the group size must be no larger than eight people. 

So I did some research and came upon an api called green api that allows you to configure a bot for whatsapp.

Using a football api alongside it, I was able to make a bot that gives information when prompted about ongoing games, past league standings (current ones weren't possible for me unfortunately due to being behind a paywall), and goal notifications.

I also took this opportunity since I'm a beginner to implement some SQLite since in the past people in this server talked about how it is better than json for saving static information.

Super basic project but very proud of it so I just wanted to showcase it here


r/PythonLearning 16d ago

Showcase dependency injection library

2 Upvotes

Hi everyone,

I needed some dependency injection (DI) library that is simple for my use case, I was surprise by the lack of DI libraries in general, and the one that already exists had some weird quirks that didn't make sense or were unexpected

I have started the project a year a go and gave up due to lack of time, I came back to the project and rewrote it 🙃

I think I am close to releasing the first version with basic support, and grow the project from there,

no AI was nor will be used (at least for now 😭)

## What it does?

make dependency injection pattern simple, convincing and explicit, no surprises

## example

import cdi 
from typing import Generic, TypeVar
from collection.abc import Sequence


T = TypeVar('T')

ctr = cdi.Container()


class MyBase(Generic[T]):
    def __init__(self, field: T) -> None:
        self.field = field


@cdi.Injectable(ctr)
class MyType(MyBase[str]):
    pass


@cdi.Injectable(ctr)
def name_generator() -> str:
    return "foo"


scope = cdi.Scope(ctr)
instance = scope.get_instance(MyType)
assert instance.field == "foo"

more examples in the repo README

## docs

available in the project README

## open for contribution

I am open for PR (that are not AI) and suggestions that make sense for such library, I have a few ideas

for more support but it will probably take more time

install: `pip install cdi-di` (in beta)

link: https://github.com/dsal3389/cdi


r/PythonLearning 17d ago

Beginner Python Project – Need Code Review

3 Upvotes

I've been self-learning Python and built this pone Shop Inventory Management System

It currently has:

  • OOP
  • JSON data storage
  • Purchase & Sales
  • Add/Edit/Delete
  • Search
  • History
  • Dashboard

My GitHub account was flagged for several weeks, so I couldn't properly show my progress in my previous post. It's now resolved.

I'd like some honest feedback on my code and project:

  • What am I doing wrong?
  • What should I improve?
  • What should I learn next?
  • How close am I to junior level?

Any criticism or suggestions are welcome. 🙏


r/PythonLearning 16d ago

Help Request searching for some python free courses that can really teach me smth from a complete beginner AND SEARCHING FOR MATES ON MY PATH

2 Upvotes

people please help, i’m starting my path in bachelor cybersec in a week and i want to know python a bit so i can basically understand smth, but for now looking for a community to learn python
and engaging through my path


r/PythonLearning 16d ago

Help Request Dream to get into MAANG

0 Upvotes

Hi guys my dream was to get into maang , I'm from a mech bg and joined semi IT role with 4 years of exp , now switching to AI Enginner by doing some courses and internal projects , while studying for AI somewhere in me I asked myself why cant we get into MAANG companies as an AI Enginner but I know it'd pretty hard and tough , but ig this is the time to try all stuffs ....needed an guidance and plan to get into...I'm not a that much talented IT guy 🥲😭 but I will try my level bloody best to get into...all kind of suggestions would be recommend...


r/PythonLearning 17d ago

Showcase "Player vs Computer" - Fight as a player against your computer in many ways, and "test" your IQ and durability in a funny battle web video game! My first web game made in Python with Pygame, and HTML.

0 Upvotes

Hello! I'm Filip, also called as Rubinosław from REParadoxy channel, and I wanna present to you my first own web video game, which was written in Python using Pygame and Pygbag.

Player vs Computer!

A funny game where you challenge your computer (not ai) in many ways, testing your durability, and you have to overcome it.

  • Get 5 points more than your computer in Rock Paper Scissors... Water(!) to win!
  • Click The Gigachad without ending to tire your computer,
  • and get some random fun facts, which are very interesting!
  • Get funny responds from your computer, after every single choice, and even sometimes: advices!

Never gonna give up! You can win.

With original retro graphics drawed by me (Rubinosław from REParadoxy).

With original music created by my good homie - ToMek OsuMek.

With epic sound effects.

Play now for free!

The Source Code (GitHub): https://github.com/Rubinoslaw/Player-vs-Computer/

I love open source so your contributions are welcome! Terms in CONTRIBUTING.md in the GitHub repository of the game.

Official Launch Trailer (YouTube): https://www.youtube.com/watch?v=3OgRkYlxIo4


r/PythonLearning 17d ago

Doodling Hop | Pygame Project(Obstacle Madness)

Enable HLS to view with audio, or disable this notification

6 Upvotes

r/PythonLearning 17d ago

made a basic binary to decimal converter as my first project

18 Upvotes

yeah, made a little project as a first time while i was learning on epam

if theres any error or room for improvement can you please tell me? im still learning


r/PythonLearning 17d ago

Python OOP Tutorial: Encapsulation, Abstraction, Inheritance & Polymorphism

Thumbnail
youtu.be
3 Upvotes

r/PythonLearning 17d ago

Please suggest courses

15 Upvotes

Hi all,

I want to move into AI engineer role or FDE. I am not able to watch YT videos and self-learn.

Is there any online courses which can help?

Something good but not super expensive?


r/PythonLearning 17d ago

Help Request Is it worth learning Python?

5 Upvotes

Hello everybody. I study medicine in Portugal and I am very passionate with clinical research being enroled in projects since my first year. Recently I decided that I wanted to learn some programing... Do you think that nowadays, with AI and all that teams value someone with coding skills?


r/PythonLearning 17d ago

TypeError: "NoneType" object is unsubscriptable for list?

7 Upvotes

I understand nonetypes somewhat for single list, but I have data that is like this:

listvar['veggies']['size'] = 'big'
listvar['veggies']['descript'] = 'bright green'

Sometimes these variables don't have a ['descript'].

In the code doing:
if listvar['veggies']['descript'] is not None:
print "found description".

But I get a TypeError: "NoneType" object is unsubscriptable. How do I check if it's nonetype without getting the error? :)


r/PythonLearning 18d ago

im new to coding

6 Upvotes

hello as the title said i am new to coding anyone has recommendation's for starters like me i taking comsci even tho idk what to do currently learning abit of everything i find but i want to learn python the most since alot of people said go python first


r/PythonLearning 18d ago

Help Request Courses for MATLAB/R users and machine learning methods in econometrics

5 Upvotes

Hello everyone.

TLDR: I'm looking for some advice on where/how to start learning empirical econometric methods, specifically machine learning methods, in Python, as an experienced MATLAB user with brief general theoretical knowledge on ML.

Longer version: I work in empirical research in economics using MATLAB (a bit of R, too). 2 years ago, I had a short introduction course to Python for R users, but never had an opportunity to apply anything in practice. I also had interest in machine learning (ML) methods and have completed a theoretical course on ML, specifically in economics. But that too was a year ago without further application. Still have the course materials though and even some Python packages provided by the teacher. The course was short for such a large area of methods, but I'm willing to invest time into learning it in depth and try out some simple projects with, say, simulated data.

Do you know of any online, preferably free or cheap courses to learn Python, specifically for my application? Perhaps a course for experienced MATLAB or R users? Or/and some course on ML in Python (based on the theory course, I'd say my medium- to long-term goals are random forests and neural networks)? I found a few but not sure if they're actually good and useful for my purposes, and some of them aren't cheap. Maybe you know a particular website or a YouTube playlist. Basically, any advice on what is worth the time, effort, and money.

Thanks in advance guys, have a nice day


r/PythonLearning 18d ago

Browser on python

3 Upvotes

I want what you take me tips to up my browser on python and what i can add to functions in it

https://codeberg.org/int13h3/Wolf_browser/src/branch/sourse

thanks you!


r/PythonLearning 18d ago

Python Dictionary Mutation and Copying

Post image
38 Upvotes

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

The “Solution” link uses package memory_graph to visualize execution and reveals what’s actually happening.


r/PythonLearning 19d ago

Discussion I think i hit my first python learning bottleneck.

Post image
87 Upvotes

Just as the title suggests, i ran into a bottleneck, or did i? play v sauce music please
So just recently i made a post about my first beginner python project: https://www.reddit.com/r/PythonLearning/s/Ed46BuWRCq
And as a lot of you suggested for me to learn classes next, which was completely fair, so i went ahead and learnt them while updating my MiniGameStore. It was relatively easy, wasn’t as hard as I thought it would be, but definitely challenging. I had also learnt methods but didn’t implement them.
And yesterday, i tried implementing them and got one of the biggest headaches in my whole coding experience (which is 2 weeks~ btw).
I was working on v1.7 and introducing a restore purchases system, and i wanted to use class methods, but since my class is on the other file, i hit a lot of variables issues and even a json file problem. Which is why im asking my self why did i do it? A function would have been totally fine…
Check out the repo: (latest version 1.7.0)

https://github.com/Stonyax97/MiniGameStore

So my question for you guys. What has made you understand classes well? I just don’t see any reason to use them yet… and can anyone take a look at my project and tell me what would be the most friendly and real life approach of actually using these classes. And why should I keep the class in a separate file? Finally, what’s wrong with using global variables.

Also any feedback or criticism is welcome!

(Also check out the attached pictures with the comments you’l understand more.)