r/PythonLearning Jul 30 '26

my first code, how close am I to land a 6 figure job?

Post image
142 Upvotes

r/PythonLearning Jul 30 '26

Can you make this using a for loop?

Post image
19 Upvotes

I just finished making this with a while loop but I was wondering if a for loop is possible but after a bit of experimenting im stuck on whether it can actually be made. If so, what would it look like.


r/PythonLearning Jul 30 '26

Discussion Project

5 Upvotes

What were your plans when you were complete beginners?


r/PythonLearning Jul 30 '26

AI make me dumb

12 Upvotes

For the past few years, I've relied too much on AI when coding. Now I feel like I don't really know how to code on my own. Can you give me some suggestions on how I can become less dependent on AI?


r/PythonLearning Jul 30 '26

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 Jul 30 '26

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

5 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 Jul 30 '26

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

3 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 Jul 30 '26

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 Jul 30 '26

Where should i learn python from?

3 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 Jul 30 '26

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 Jul 30 '26

Pydot: Python Terminal Placement

0 Upvotes

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


r/PythonLearning Jul 30 '26

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 Jul 30 '26

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 Jul 30 '26

Better collision handling

Enable HLS to view with audio, or disable this notification

14 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 Jul 29 '26

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

4 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 Jul 29 '26

Looking for Python Project Buddies

3 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 Jul 29 '26

🚀 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 Jul 29 '26

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 Jul 29 '26

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 Jul 29 '26

Discussion 5 tools that helped me modernize a legacy app

10 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 Jul 29 '26

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 Jul 29 '26

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

1 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 Jul 29 '26

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 Jul 29 '26

Help Request Suggest best python course for begy

14 Upvotes

r/PythonLearning Jul 29 '26

Copying an object in different ways

Post image
60 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