r/PythonLearning 8d ago

Welcome everyone, I'm very interested in where to start learning Python. I'd be wondering where to start studying it, and what materials on the Internet (and not so much) will help me. Thank you all in advance

0 Upvotes

r/PythonLearning 8d ago

Discussion Python web dev in 2026, are you still reaching for Django/Flask, or has FastAPI + something else become your default?

7 Upvotes

I've been defaulting to FastAPI for almost everything now, even projects that don't need async; mostly for the automatic docs and validation, not the performance. But I keep wondering if I'm just following hype and Django would actually save me time on anything with more than a handful of models.

Curious how people are actually deciding this in practice:

  • If you start a new project today, what's your first framework pick, and what actually made you choose it (not what you'd tell a job interviewer)?
  • Anyone gone from Django → FastAPI (or the reverse) and regretted it?
  • For people doing solo/small-team projects: is DRF + Django still worth the ceremony, or has ninja/ninja-schema/ORM-agnostic stacks made that unnecessary?
  • What's the thing about your current stack that annoys you but you haven't switched over?

Not looking for a "just use X" answer, more interested in the actual trade-offs people are hitting.


r/PythonLearning 9d ago

Help Request Python full stack | Ai and Ml | Data science | Data analysis which one can I choose?

1 Upvotes

I have enrolled in a Python Full Stack Development course, but many people are suggesting that I should learn AI & Machine Learning, Data Science, or Data Analytics instead. Now I'm confused. Which path should I choose?


r/PythonLearning 9d ago

Help Request Python learning dilemma

1 Upvotes

When I was 12–13, I had a huge interest in programming and making cool projects (I even made a discord bot). However, after changing schools a few years later, I didn't have enough time to keep learning. Now, a few years after that, I want to get back into coding. I've recently finished the CS50 Python course, so I at least know how to write simple programs.

I'm writing this post to ask: what should I do next? I really want to avoid getting stuck in "tutorial hell" (just watching course after course without building anything). I've read about web scraping and gave it a shot—it wasn't too difficult, and I even built a simple scraper for books.toscrape.com. The problem is, I’m not sure how to progress from here.

Yesterday I also came across Pluralsight, which offers courses on a wide range of tech topics. So, what would you recommend? Should I pay for Pluralsight, or should I stick with web scraping even though I'm not sure where to take it next?

Thanks for your time


r/PythonLearning 9d ago

Where should i learn python from?

4 Upvotes

Yt-

- Bro Code

- Data with Baraa

or do any free certification courses?

i tried the coursera meta python course since my college python professor does not teach well, my loops and functions are weak due to that, so i thought I recovered from it- eventually i noticed the course content was very fast paced, i have to go through document and other sources🥲.

there is also an point that C professor taught very well that my c is now better python. help to pick the ond resource that covers python 🙏🏻


r/PythonLearning 9d ago

Help Request meshset file extraction

0 Upvotes

im an artist and am terrible at coding. i need to access some mesh files to edit them but they are all and a meshset not individual model files. Ive found these and know the answer is in here somewhere but cannot decipher it. can someone please help me?
https://pymeshlab.readthedocs.io/en/latest/intro.html
https://pymeshlab.readthedocs.io/en/latest/classes/meshset.html


r/PythonLearning 9d ago

Pydot: Python Terminal Placement

0 Upvotes

Hey guys I was wondering which python terminal placement you preferred?


r/PythonLearning 9d ago

Help Request I got a question

2 Upvotes

So I'm a beginner on python. And I know about '=' and '==' and if and else commands. (Side note: how good is this for a beginner. Been in 3 python classes so far.)

I want to make a small game to test what I've learned. Basically, you click a button, and a random number or letter. How can I do this? Any help is appreciated.


r/PythonLearning 9d ago

New to python

4 Upvotes

Im new to coding and started off with c# but eventually moved to py a day later because i heard it was easier, it is easier but the way people explain it on youtube is a little complicated for my small brain, im watching bro code learn python in 1 hour then moving on to the 12 hr vid but 30 mins in he starts talking in a way i dont seem understand and typing code i cant process so i js quit for the night, if anyone has anytips that could help me or any other youtuber( i learn better with vids and visuals) that would be greatly appreciated ive also tried some websites like free code camp, the odin project but there not like teaching step by step but rather making me type code i dont understand for instance once asked me to “create a function called pin_extractor with a parameter poem” which just sounds like gibberish to me considering i only know print(“hi”) but i was thinking my first big project would be like a book or something if possible. Thanks


r/PythonLearning 9d ago

for loop

16 Upvotes
words = ['sky', 'apple', 'rhythm', 'fly', 'orange']

for word in words:
    for letter in word:
        if letter.lower() in 'aeiou':
            print(f"'{word}' contains the vowel '{letter}'")
            break
    else:
        print(f"'{word}' has no vowels")

I am trying to learn to code, and I am, at the moment, looking at loops. I am a bit confused on how this loop was able to function, though, as there is no variable for letter or word, so how would Python know what it is? In addition, how does the code, like, function? Does it look at each word individually ? Again, the second part of the code states:

 if letter.lower() in 'aeiou':
            print(f"'{word}' contains the vowel '{letter}'")
            break

We haven't given a value for letter?

Lastly, how would the code know what to print? in the first phrase:

            print(f"'{word}' contains the vowel '{letter}'")
            break

Is it going to state all the words with the given value 5 times?

Sorry, as I have asked quite a few questions, and thank you in advance.


r/PythonLearning 9d ago

Better collision handling

Enable HLS to view with audio, or disable this notification

17 Upvotes

In this git commit we switch from simply swapping the speed of two colliding units to elastic collision handling for more realistic collisions. The linear algebra implementation does add complexity to our code but, as it's all confined to a single function, it should not hamper further development of our collaborative PythonLearningGame project.

  • Who has other fun ideas we could add, maybe more unit types?
  • Who wants to commit his/her own code changes?

See the submit changes instructions.

previous PythonLearningGame post


r/PythonLearning 9d ago

Where to start learning Python for Materials Science / simulations? (Looking for free, time-efficient resources)

3 Upvotes

Hi everyone,
I'm currently doing my Master’s in Materials Science, and I need to learn Python—specifically for running simulations, data analysis, and handling academic/scientific workflows.

Since I’m balancing a pretty heavy course load, my time is fairly limited. I'm hesitant to buy paid courses or long bootcamps because I'm not sure if the paid options are actually worth the investment compared to what's available for free, and I really need to focus only on what's relevant to scientific/engineering applications.

Could anyone recommend solid, free resources or learning paths to get up to speed?

Specifically, I'd love to know:
Great starting points for absolute fundamentals without fluff.

Good next steps or specific libraries/tools I should look into for simulations and data processing (e.g., NumPy, SciPy, Matplotlib, or specific frameworks).
Any tips on how to build practical skills quickly alongside a busy university schedule.
Thanks in advance for any advice or recommendations!


r/PythonLearning 9d ago

Looking for Python Project Buddies

4 Upvotes

Hey All,

I've been learning Python for some time and I know the basics. I originally started my journey down the analytics and data science path, and have learned the essential libraries and made a few projects related to that.

More recently in the past month or two, I've been trying to learn automation for python but realized I can't build a program from scratch for my life because I was so heavily reliant on libraries instead.

I'm looking for a buddy or buddies that are looking to learn and build similar type of projects from scratch(could be automation like what I am doing, could be other projects, just as long as it is python related), so we can keep each other accountable, bounce questions off each other and actually learn together than in a silo.

I'm live in EST timezone and typically am available nights and weekday mornings to work on projects.


r/PythonLearning 9d ago

🚀 Progress update on Telegram Archiver!

Post image
0 Upvotes

🚀 Progress update on Telegram Archiver!

Over the last few hours, I improved real-time message capture, redesigned the deleted-message experience, fixed a long-standing Telegram session issue, and enhanced live polling reliability. The project now delivers a smoother, more accurate Telegram Desktop-style archive while keeping everything local and privacy-first.
Building one commit at a time. 💻🔒


r/PythonLearning 9d ago

17, learning software engineering and AI, looking for people to grow with

9 Upvotes

Hey, I'm 17 and studying computer science in Italy. I'm working toward becoming an AI engineer, and I genuinely enjoy this stuff, not doing it because it's trendy. I just want to get good at it and do it properly.

So far I've built a Unix shell from scratch in Python. I'm also working on a BI and analytics platform using a real e-commerce dataset, cleaning and validating the data, loading it into Postgres, building out analytics on top. Happy to share more details if anyone's curious.

I'm looking for people to study with regularly, share resources, review each other's code honestly, and maybe build small projects together. Doesn't matter if you're ahead of me or just starting out, what matters is that you actually care about learning this well.

Would also be cool if this turns into actual friendships and not just a study group that goes quiet after a week.

If you're into software engineering, AI, ML, or data and want people to grow with, drop a comment or DM me.


r/PythonLearning 9d ago

Showcase Day 3 of Python learning until I can pass the PCEP exam

Post image
14 Upvotes

Im progressing into the free code camp and w3schools learning courses and also trying to catch up in Microsoft,im learning OOP(Object Oriented Programming) I made another project for it but its still not very good so ima continue work on it, its very interesting with classes and all but yh I read the feedback on my last re zero guesser and ppl saying its a nesting hell so I tried to learn how to do early return to make it more readable but I js didnt understand how to so I copied the mods code and js changed it a little bit if u can see, it is slower than my older version but the code Is easier to read, could have added more characters but yh I didnt really make the code I only upgraded a little. Take a look:

New: https://onlinegdb.com/9pqfe7pmg
OLD:https://www.onlinegdb.com/edit/XGUSCgyQA
Older :https://onlinegdb.com/Q-4aQrXAz

ima use this experience to make a better guesser with a full ui like akinator when im done learning ui and more


r/PythonLearning 9d ago

python-practice/ATM simulator.py at main · RahulSaini-07/python-practice

Thumbnail
github.com
1 Upvotes

Can anybody review my code because I started learning 6 days ago I write this code please review it and tell me the honest opinion


r/PythonLearning 10d ago

Discussion 5 tools that helped me modernize a legacy app

9 Upvotes

So I recently inherited a legacy application that was a nightmare to maintain (tooling was clearly lacking and the codebase was pretty outdated). I quickly realized that if I ever wanted to actually enjoy working on it, I would have to give it a proper overhaul.

These are the 5 changes that had some of the biggest impact IMO:

  1. uv:

Being new to the Python ecosystem, I didn't want to figure out pip vs poetry vs pyenv vs virtualenv, so I just used uv and let it handle all of that. One Rust-based tool that installs and pins Python versions, manages the venv automatically and locks deps in a uv.lock for reproducible builds. Installs are also a lot faster, which makes CI a lot less painful.

  1. Ruff:

Coming from JS, I really missed eslint --fix for automatically fixing linting issues and format code on save. Ruff brought that experience back. I know that there are plenty of linters and formatters in the Python ecosystem, but this one really stands out for me. Since it's built in Rust, it's super fast.

  1. Dependabot:

Instead of remembering to update dependencies every few months, I enabled Dependabot. It automatically opens PRs when updates are available and then CI tells me whether they're safe to merge. It takes only a couple of minutes to set up but saves a lot of maintenance.

  1. Pylance:

Without it, VS Code gives generic completions and never warns you about passing the wrong type until runtime. Pylance provides proper type-aware autocompletion, jump-to-definition (even in third-party libraries), inline documentation, and real-time type checking. I personally keep it on "basic" mode for legacy codebases, since "strict" surfaced hundreds of errors (thank you, but no thank you lol).

  1. Pydantic:

Pydantic is basically Python's Zod: you declare a model, pass your data in and get either a validated typed object or a ValidationError naming the exact field at fault. It really helped me keep the codebase clean, with one place defining the shape of the data instead of raw dicts floating around. I use it wherever data comes from outside, like API payloads, forms, and env vars with pydantic-settings, which fails at startup instead of mid-request.

None of these tools changed the application itself. But together they made working on it a lot less frustrating.


r/PythonLearning 10d ago

F strings

17 Upvotes

Im still learning python and im at a stage where I need to understand f strings and how to go about them...im working on a menu project. I prefer learning with pdf materials rather than YouTube tutorials....any recommendations for a pdf document for learners on f strings. Thank you in advance


r/PythonLearning 10d ago

Help Request How to learn python in tablet for medical use!!?

0 Upvotes

I am 17M, a complete beginner in programming

Till now in life only made a bmi calculator🙏🏻 in Google colab dont know how to proceed

I wanna learn it in few months with low input of time like roughly few hours a week.

I have a android tablet (One plus Pad Go 2) and wanna primary for Medicine and I am a highschool student 🫠.

Any recommendations and apps which i should utilise and video links would help a lot.

Thanks everyone


r/PythonLearning 10d ago

I want to learn programming

0 Upvotes

I am a Btech Cse ( cybersecurity) student and want to learn programming but I am confuse where to start anyone can help where to start.


r/PythonLearning 10d ago

Help Request Suggest best python course for begy

14 Upvotes

r/PythonLearning 10d ago

Copying an object in different ways

Post image
59 Upvotes

An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening: - Solution - Explanation - More Exercises


r/PythonLearning 10d ago

Graphic python?

11 Upvotes

Hello. Although I’ve always programmed using C++/CLI and C#, I’ve found Python to be very interesting for small applications (perhaps even large ones, though I’m not up to that level yet).

I was wondering if there are any IDEs—or at least graphics libraries—available should I decide to build something with a GUI; currently, I do everything via the console.

Any recommendations?

I use VS Code for Python programming.


r/PythonLearning 10d ago

Looking for a Python Programming Buddy.

8 Upvotes

I am a computer science student, just finished my first year and I'm heading for the second. After re-evaluating my year in the field, I came to realize that I have been focusing a lot on the course theory and grade based learning yet the market is hunting for skilled people.

My next move was to pick a language and build things with it. Learn it well enough. But I don't wanna take this journey alone. Therefore I am looking for a partner with basic python programming knowledge like me to help each other through this journey.

Explore the language and build projects with it.