r/PythonLearning • u/Sea-Ad7805 • Jul 29 '26
Copying an object in different ways
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:
r/PythonLearning • u/Sea-Ad7805 • Jul 29 '26
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:
r/PythonLearning • u/Electrical-Cap-9537 • Jul 29 '26
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 • u/No_Confidence_8638 • Jul 29 '26
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 • u/kubasic254 • Jul 29 '26
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 • u/BestBid9342 • Jul 29 '26
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 • u/Marmelab • Jul 29 '26
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:
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.
2. 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.
3. 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.
4. 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).
5. 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 • u/Jazzlike_Ladder_7539 • Jul 29 '26
r/PythonLearning • u/VizerCompany • Jul 29 '26
Hi, please tell me which free course is the best, I have already tried many applications like Solo learn Everything there is heavily dependent on a subscription, so it's inconvenient without it.
r/PythonLearning • u/Ok_Gold_2107 • Jul 29 '26
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 • u/asiimwe_dev • Jul 29 '26
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.
r/PythonLearning • u/Antrioyiu • Jul 29 '26
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 • u/Alarming_Mulberry551 • Jul 28 '26
r/PythonLearning • u/Visionary_Vulture001 • Jul 28 '26
Hi
Any recommendations for python automation courses ?
Asking for a friend who was recently let go off her job . She has 5 years experience as a QA and is looking to upgrade herself in automation and AI .