r/PythonLearning • • Jul 31 '26

Wanting to get into AI

2 Upvotes

I am 42 years old and wanting to branch off and learn something that could possibly be a side hustle or a whole new career. I feel as if AI is here to stay and I am still “young” enough to do something with it. To give a little about myself I am a warehouse manager for a Mack truck dealership and Make about 80k a year and on the side I umpire travel baseball and softball games. During the season that ranges anywhere from $350-$700 for a weekend but it’s long days and I’m tired. I have zero experience with coding of any kind. When I look up the best way to get started i don’t see what I would call useful information, mostly videos of “if I were starting over this is what I’d do” and it ends with someone selling something (not every time). With all of that said what would be the best place for me to start and keep with to get certifications and learn. I was thinking of starting with the python program for everybody. I’m sure this question gets asked a lot, thank you for any input.


r/PythonLearning • • Mar 31 '26

Help Request Is there any block coding website that directly converts to python?

2 Upvotes

Me and my friends have been using block coding for a couple of years and have made some fun stuff but we want to get into propper coding and i figured the fastest way to get going would be a block coding alternative. Are there any websites that'll let us do this?


r/PythonLearning • • Oct 12 '26

Python Studio: A visual Python editor that helps kids learn without frustration

2 Upvotes

I’ve been developing Python Studio, a visual Python editor designed so that kids (and beginners of any age) can learn Python without frustration or tears.
Many children struggle because most Python editors are text‑only and hard to visualize. So I built something different.

⭐ Features
Drag‑and‑drop GUI designer
Kids can place buttons, labels, and text boxes and instantly see the layout of their app.

Real Python code generated automatically
They can learn step by step while immediately seeing the results.

Beginner‑friendly interface
No complicated setup and no overwhelming menus.

English version included
So children outside Japan can use it easily.

Hotkeys for smoother workflow
Simple shortcuts allow users to move widgets, duplicate elements, delete items, save projects, and run code quickly.
They can also assign key combinations to instantly open their favorite websites.

What you can do based on the program in this page
• Load and save projects easily
• Use a search window to quickly find text inside the code
• Automatically handle virtual environments (venv) without manual setup
• Open the hotkey builder to customize your own shortcuts
• Track text‑modified states to avoid losing unsaved work
• Create new files, open existing ones, and perform quick saves
All of these features are implemented in the code and designed to be simple for beginners.

🎯 Why I made this

I wanted a tool that helps kids enjoy programming instead of feeling lost or crying because things don’t work.
If a child can see the final shape of their program, they stay motivated and curious.

🔧 GitHub

Source code and English version:
https://github.com/rabbit-hand/Python-Studio-Code-Editor-Form-Designer

🙏 Feedback welcome

I’d love to hear:

  • Ideas to make it even more beginner‑friendly

  • Whether this could be useful in schools or workshops

  • Any bugs or improvements you notice

I hope Python Studio can help more kids around the world learn Python with confidence and joy.


r/PythonLearning • • Jul 13 '26

What part of programming did you completely misunderstand when you first started?

7 Upvotes

Not just syntax or functions , I mean the bigger concepts.

For me, it was thinking that being good at programming meant being able to write code from memory. Later I realized understanding the problem, breaking it into smaller pieces, debugging, and knowing why something works matters way more.

Was there a concept or assumption you got completely wrong as a beginner?


r/PythonLearning • • Jul 20 '25

Help Request On the verge of losing job, please help me learn Python

7 Upvotes

TLDR: I have to learn Python or else risk losing my job.

I joined a British banking major as a graduate hire in 2019 and has been working in their market and geopolitical risk teams. Most of my work is based on Excel and some internal dashboards. I had Biology in high school and a masters in Arts (Majoring Economics) and have zero knowledge of coding or that logic for writing codes

As some of you might be aware, there is an ongoing cost cutting initiative which resulted in downsizing of teams as well as a switch to a unified python platform ETA next year.

Half of my teammates are asked either to leave or to find other roles internally. Luckily, because of some connections and also due to my strong fundamentals in methodology, I got saved for this time. But once the python platforms kicks in next year, with most of the tech guys in the team gone, my survival would depend on how much I can pick up on Python for analytics.

Long story short, I have to learn Python from a coding toddler to being a pro in six months or risk losing job. Pressure is intense.

What are some resources or tips that you can share in this journey, especially from folks who are python coders from a non CS background?


r/PythonLearning • • Apr 03 '26

Need help

Post image
11 Upvotes

I don’t know what I’m doing wrong 😑


r/PythonLearning • • Feb 20 '25

Why does If/Else Not Work?

Post image
9 Upvotes

Everytime I Run it, it is Always 'else', even when 'if' would be right


r/PythonLearning • • May 16 '25

can someone help (benigner)

Post image
9 Upvotes

idk why my code isnt working im using p4ye and python playground also i ran a code with two variable before and when i printed x it just printed x idk why


r/PythonLearning • • Sep 25 '26

Help Request Emotional exhaustion from learning Python

9 Upvotes

Python is the first programming language I wanted to learn. I started it a few months ago and genuinely can't do anything in it. I keep watching videos, classes, tutorials and looking for roadmaps that lead me nowhere. It makes me feel like I'm incapable and an absolute failure. I don't know what else to do, if I should just switch to another language or give up on in it entirely. Need advice...


r/PythonLearning • • Jun 15 '25

How do I make this part work. Neither part does anything.

Post image
38 Upvotes

r/PythonLearning • • Nov 04 '25

Print max number in list error

Post image
14 Upvotes

r/PythonLearning • • Nov 12 '25

[self-taught newbie here, week 4] Python treats functions as 1st class objects, but it seems variables are not, and only id(variable) is bound to a dict value when stored in a dict... (more inside)

0 Upvotes

This;
my_var = "doesnt matter"
my_dict = {
"key": my_var

}

my_dict["key"] = "ASDF"

print(my_var)

Will print;

"doesnt matter"

How can I force Python to actually be useful?
And I know I could store a tuple, or a list in there and change [0] of that, but that's extra cost, it's inefficient. I demand efficiency.

Is it even possible to have this? Or is it more training wheels?


r/PythonLearning • • Aug 17 '25

Help Request Pretty sure I've flow to close to the sun

Post image
4 Upvotes

Trying to add memory/recall for an AI based on user input(fairly new to python) this section here will either throw syntax errors or completely ignore this section entirely any ideas of what i could be doing wrong


r/PythonLearning • • Sep 12 '26

Help Request started python at a very young age with adhd

4 Upvotes

i started python at a young age with adhd, the math in python is too hard to learn i cant focus on learning, i need a way to learn python easily, i watch youtube totorial to learn btw


r/PythonLearning • • Aug 01 '26

Help Request Whelp. What's the correct docstring format?

Post image
4 Upvotes

I'm publishing my first python package and wanted to confirm the correct docstring format to conclude the documentation. The image above summarizes my search online, AI or otherwise.

PEP 257 appears to prefer option 2 (the left in the image) but I find option 1 out in the wild so much more often. So what's it?

Ohh and yeah, neither is correct because the first line should be a summary and what follows should be a more elaborate paragraph after a blank line. But I really just want to know whether the text should start of the actual first line after the """ or not. I'm using sphinx if it makes a difference.


r/PythonLearning • • Apr 16 '26

CS50 Explained Simply 🔥 Learn Programming for Beginners (Full Basics)

Thumbnail
youtu.be
0 Upvotes

r/PythonLearning • • Mar 07 '26

so full code ıdk what wrong can u help me guys

Thumbnail
gallery
4 Upvotes

thıs how ıs happenıng


r/PythonLearning • • Jul 01 '26

Any free platform for python learning?

4 Upvotes

Hi I'm currently pursuing cse in btech I want to learn basic coding and all.....so I wanted to learn python first any suggestions?!


r/PythonLearning • • Aug 10 '25

Is it still worth it to learn web development ?

0 Upvotes

r/PythonLearning • • May 09 '25

Help Request I wrote the code but where can I see my code work is it the game engine or something else?

1 Upvotes

r/PythonLearning • • Aug 28 '25

AI Devlopement

1 Upvotes

How to build an AI? What will i need to learn (in Python)? Is learning frontend or backend also part of this? Any resources you can share


r/PythonLearning • • Jul 30 '25

PROJECTS FOR PYTHON

0 Upvotes

can y'all suggest some beginner friendly projects for learning python


r/PythonLearning • • Aug 24 '25

How do you find the 44-quintillionth prime number?

0 Upvotes

I'm on a MacBook Pro and I'm thinking there has to be a better way than a sieve?

I'm thinking I could mush Riemann and Newton together and maybe leap through the number line.

Feasible?


r/PythonLearning • • 23d ago

Discussion Profiling CLI startup: how jsonschema Draft7Validator added 4.8s to our cold start (and how we fixed it)

Post image
0 Upvotes

Ran into an annoying performance bottleneck while profiling our CLI and figured the findings might save someone else a few hours of head-scratching.

Our tool validates config manifests against JSON Schema Draft 7. In fresh virtualenvs, cold-start imports were taking over 5 seconds.

Profiling revealed two primary culprits:

  1. jsonschema.Draft7Validator eager compilation: Instantiating the validator compiles heavy format checkers and regex dependencies (Lark and RFC 3987). If you instantiate this at module level, every single CLI invocation pays that cost even if the user just ran --help or a command that doesn't touch schemas.

    • Fix: Defer instantiation via module-level __getattr__ or initialize it only when validation actually executes.

  2. importlib.metadata.distributions() traversal: Scanning installed distributions without boundaries linearly inspects every .dist-info directory on sys.path.

    • Fix: Replaced it with scoped directory globbing for our specific package metadata prefix.

Startup dropped from ~5.2s down to ~150ms.

We rolled this out in Skillware 0.6.0 (an open-source project we maintain for deterministic agent tooling: https://github.com/ARPAHLS/skillware).

Are you folks deferring schema compilation in your CLIs, or do you prefer pre-compiling/caching schemas during package build?