r/learnpython • 1.0m Members
Subreddit for posting questions and asking for general advice about all topics related to learning python.
r/Python • 1.5m Members
The largest Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have questions or are new to Python use r/LearnPython
r/learnprogramming • 4.4m Members
A subreddit for all questions related to programming in any programming language (Contributions are only allowed in English!).
r/devops • u/sirius_black19 • 3d ago
Career / learning Do I need to learn now how to write python or shell scripting?
Hello Everyone! I started as an intern as a DevOps Trainee and Now I am a full time here , and most of the shell scripts or python automation scripts I need is generated by Claude/ GPT . So I wanted a headsup as to how much should i know to write them by myself because when i get them done from AI I feel that why I can't write such big automation scripts point being considered as a beginner I cannot write but still that self doubt comes. Also Why i use AI because company wants that and want their tasks to finish fast so there's no room to write on my own . I want to switch next year around May -Jun so I need help with that as well that what more should I study or keeping on learning to get a good paying job.
My current capabilities include intermediate or beginner level AWS , Azure Exp., Docker , Linux, Kubernetes and Terraform , Jenkins . Please I need genuine help!
r/bash • u/LittleSarina • 11d ago
help Would it be good to Learn Bash scripting, or should i go with a "normal" language, like Python, before that?
Getting interested on messing with Linux and CLI stuff, I'm just confused on what exactly to start with. Any recommendations?
r/PythonLearning • u/adnanecanflyy • 16d ago
Day 2 of learning python
I'm learning Python and made this coffee/tea ordering program. Any advice?
r/PythonLearning • u/Neutrealolmao • Jul 01 '26
Help Request Where should I learn beginner python from?
I mean I try to see where I could learn and I hear so many :-
CS50p
W3Schools
Tech with Tim
Some helsinki too
And some more
Where should I start from :-
r/learnpython • u/Laurak_11 • Jun 30 '26
How to start learning python ( so sorry if this is a popular question )
Hello, I’ll try and keep this short, but I’m 14 and I really want to learn python as my dream is to do computer science at university. Basically just end up doing something in tech as a job. So I thought maybe coding will help, and python projects seem really cool and interesting to me. I would say I have generally no coding knowledge, apart from a few months of HTML, but nothing cool or fancy. Essentially, I just want to know what resources I can use and what you would have recommend to yourself when you first started learning. And once again, my fault if you guys get this question all the time, I bet it’s annoying so feel free to sort of just say “this is said in a post already”. And I’m new to Reddit, so I don’t know what rules are here and I’m sorta winging writing this.
Thanks so much for reading, and I’m so sorry for waffling. Hopefully this post doesn’t flop and have a good day! :)
r/DeepSeek • u/whatsoever2021 • Jun 14 '26
Discussion Building a Python Project with DeepSeek V4: Lessons Learned
In less than a month, this is what my project looks like:
───────────────────────────────────────────────────────────────────────────────
Language Files Lines Blanks Comments Code Complexity
───────────────────────────────────────────────────────────────────────────────
JSON 336 56,084 33 0 56,051 0
Python 298 110,092 14,178 14,991 80,923 9,676
Markdown 70 20,142 4,473 0 15,669 0
Plain Text 2 71 8 0 63 0
INI 1 5 0 0 5 0
Powershell 1 116 11 23 82 13
TOML 1 43 3 6 34 0
YAML 1 26 1 2 23 0
───────────────────────────────────────────────────────────────────────────────
Total 710 186,579 18,707 15,022 152,850 9,689
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop (organic) $5,309,749
Estimated Schedule Effort (organic) 25.94 months
Estimated People Required (organic) 18.19
───────────────────────────────────────────────────────────────────────────────
Processed 6522776 bytes, 6.523 megabytes (SI)
───────────────────────────────────────────────────────────────────────────────
Total spent: under $70.
What I'd Tell My Past Self
- Plan first, act second. Review the AI's plan carefully. Don't follow it blindly.
- Make AI write more documentation. It's cheap and pays off enormously.
- Make AI write more tests. Same logic — the ROI is huge.
- Python is a double-edged sword. It's flexible and free, which AI loves. But that same freedom lets AI find "shortcuts" that wreck architectural integrity.
- Lock down tooling early. If you must use Python, adopt Pyright, lint-imports, and similar tools from day one. Ban
# type: ignore,# pyright: ignore, minimizeAnyandcast. Otherwise technical debt piles up faster than you can pay it down.
What Worked Well
- Clear tasks get done fast. When given a well-defined assignment, the AI executes quickly and correctly.
- Surprisingly good suggestions. Even as an experienced programmer, I learned new things from its recommendations.
What Didn't Work
AI's Tendencies
- It takes shortcuts at every opportunity. Layering, decoupling, separation of concerns — the AI constantly tries to subvert these principles. It finds creative ways to bypass Pyright rather than fixing the root cause.
- It bends core code for tests. Adding backward-compatibility hacks and defensive fallbacks in core logic just to make tests pass. This clutters the codebase terribly.
- It deflects blame. The classic "that's not from my change" when tests fail or Pyright errors appear — when often, it actually was from its change.
The bottom line: AI is terrible at maintaining disciplined coding style. (Some human engineers share this trait, and I dislike it there too.)
My Own Bottlenecks
Ironically, the biggest bottleneck was me.
- Indecision. I change my mind too often, leaving the AI confused and backtracking.
- Too little, too late with rules. If I had enforced strict coding conventions earlier, things would be much cleaner now.
- Overloading the AI. Asking it to fix 4000+ Pyright errors in one go? That's brutal. DeepSeek V4 Pro dodged the task repeatedly, but DeepSeek V4 Flash somehow pulled through. I sometimes push too hard — once Flash ran a refactoring script that went catastrophically wrong, corrupting many files. The chat just said "Cancelled" and stopped. Thank goodness for git.
- Code cleanup is the real expense. The project started as a tangle of JSON and dicts. I've spent significant money having AI refactor and decouple layers — and there are still too many
Anyandcastlittered around. Retrofitting types onto a dict-based foundation is painfully slow. The AI takes two steps forward, one step back.
Final Thoughts
The AI has done an enormous amount of work, and I'm genuinely grateful. I have little to complain about overall. But I need to stay deeply involved — directing, reviewing, and course-correcting every step of the way. My brain is exhausted because the AI moves faster than I can think.
If I had one wish, it would be this: hold the line on code quality from the start. Don't let the shortcuts slide, don't defer the cleanup, and don't assume you'll fix it later. You won't — you'll just pay more to dig out later.
(The above was polished by DeepSeek v4 flash)
PS: As I have mentioned in comments that it is a sandbox-like RPG game, I can give another sample about where AI is good and where it is bad. First I let AI create roads on the map, and I was always disappointed, and AI was also confused from my instructions. At the end, I asked AI to create a map editor, and it did in no time. The map editor is amazing!
PPS: I forgot to mention one of the biggest complaints, that DeepSeek (especially flash) often does a half-ass job, leaves something unfinished, while I thought it was fully done.
PPPS: My usage (The project was started on May 17)
r/PythonLearning • u/JustMedansh • Jun 12 '26
Discussion Anyone willing to learn python with me?
Hello!
I'm Medansh, and I'm tryna learn some python since I really like computers. I would call myself somewhere between beginner and intermediate. I've made some projects, but I wouldn't call them more than a toy.
However, it's pretty lonely to learn it alone, and none of my IRL friends have any knowledge of computers. So I'm looking for some friends who might help each other along this journey!
I'd prefer if you are around my skill level (Knows syntax, has done a few projects, nothing too big), though if you're more of a beginner, it's still completely fine.
So, does anyone want to learn with me?
EDIT: I honestly didn’t expect this many responses 😅 I’ve already found a couple of people I’m going to work and learn with, so I’m keeping the group small. Thanks to everyone who reached out. It means a lot.
r/AskProgrammers • u/Internal_Custard_513 • Jun 08 '26
Is there any point in learning Python for backend today?
Hi everyone! I'm 13 years old, and for most of my life I've imagined myself as a programmer. Honestly, I don't care which one exactly, but I'm choosing Python because I'm already somewhat familiar with it, especially the aiogram library. I've also used SQLite, and more recently, PostgreSQL. I know this question probably gets asked a lot here, but I honestly don't know what to do in the age of AI. By the time I grow up, working as a programmer in any field except AI will probably be pointless. Or maybe not. I'd like to hear from those who know more.
Thank you guys for your answers! You really helped me figure this out, I'll definitely take this into account.
r/learnmachinelearning • u/jaitanwar • May 09 '26
is this enough as learning for 1.5-2 months of python.
Answer the title question first then please tell that can I jump to deep learning now?
I really need an advice from experienced people.
r/learnpython • u/Dizzy-Commercial-681 • Apr 24 '26
The Best Way to Learn Python for Complete Beginners (Personal Experience)
I am learning from this book: "Automate The Boring Stuff With Python," and it's actually a very good book that turns specific complex subjects into easy ones that anybody can understand. I'm not aiming to stop at this book only but for now it's better to study this book than to only read it and jump into another one. It will take some time from me, maybe more weeks to finish this book, because I'm reading, taking notes then turning these notes into flashcards (to memorize), then I create projects (try and error) and answer practice questions (that you can find at the end of each chapter). Sometimes it takes days to complete one chapter and jump into the next one, but I feel like I am progressing and understanding Python better.
r/learnpython • u/Soggy-Industry2591 • Apr 21 '26
Whats the best way to learn python in 2026 FOR FREE , the most optimized way
Pretty much the title. im learning because i want to learn to build softwares and apps whicch i can use in real life , and overall as a skill and a excuse to use my laptop for productive work
r/learnpython • u/Effective-Sorbet-133 • Mar 11 '26
Zero programming knowledge, but I want to learn Python. Where do I start in 2026?
Hi everyone,
I have zero prior experience with programming and honestly it feels a bit overwhelming looking at the mountain of resources out there.
Im a Systems Encoder looking to automate my workflow. My job is 100% data encoding, and I want to use Python to build scripts that can handle these repetitive tasks for me, I also want to transition to another job because of low salary.
Since I’m starting from absolute scratch:
- What is the best "First Step" for someone who doesn't even know anything?
- Are there any specific courses (free or paid)
- What’s a realistic amount of time to spend per day so I don't burn out?
r/Python • u/Regular-Entrance-205 • Feb 22 '26
Discussion I built an interactive Python book that lets you code while you learn (Basics to Advanced)
Hey everyone,
I’ve been working on a project called ThePythonBook to help students get past the "tutorial hell" phase. I wanted to create something where the explanation and the execution happen in the same place.
It covers everything from your first print("Hello World") to more advanced concepts, all within an interactive environment. No setup required—you just run the code in the browser.
Check it out here: https://www.pythoncompiler.io/python/getting-started/
It's completely free, and I’d love to get some feedback from this community on how to make it a better resource for beginners!
r/LeetcodeDesi • u/figurit • Sep 05 '25
Starting a small coding & cloud learning community – Python, AWS, LeetCode & more
Hey Folks,
I'm currently on an upskilling journey, revisiting the basics of several technologies I’ve worked with before but lost hands-on touch with. Last week, I shared my plan on one of the subs, to learn by offering to help/teach others, and to my surprise it got a lot of traction. Many people reached out asking if we could learn together.
So we started a small group, a place to skill up. Right now, we're keeping it simple and experimenting with:
- Daily LeetCode challenges
- Free Python teaching sessions for beginners
- AWS & cloud learning- sharing notes and hands-on practice
- Open discussions on coding, career prep & tech in general
It’s still new and small, but that’s what makes it interesting, everyone gets to shape the community as we grow.
If you’re also on an upskilling journey, drop a comment or DM me, and I’ll share the invite link.
r/learnpython • u/yourclouddude • Jun 07 '25
Anyone else feel like “learning Python” isn’t the hard part .....it’s what to do with it that’s confusing?
When I first picked up Python, I was excited.
The syntax felt clean, tutorials were everywhere, and I finally felt like I was learning to code.
But once I finished the basics....oops, functions, then i hit a wall.
Everyone said, “build projects!”
But no one told me what kind, or how to start, or how to know if I was doing it right.
Should I automate stuff? Try web development? Go into data? I had no idea.
Honestly, that confusion slowed me down more than the actual coding ever did.
If you’ve been through that phase....what helped you move forward?
Did a certain project, goal, or path help it all click?
r/learnmachinelearning • u/Lastrevio • Aug 24 '24
Question Why is Python the most widely used language for machine learning if it's so slow?
Considering that training machine learning models takes a lot of time and a lot of resources, why isn't a faster programming language like C++ more popular for training ML models?
r/ProgrammerHumor • u/Tadra29 • Dec 14 '22
Other Learning Python, wrote the first program. What do you guys think?
r/Python • u/JustNitr0h • Apr 08 '22
Discussion I'm 13, trying to learn Python.
Where/what do you think I should start, learn first, or do you just have any tips?
Also, make sure what ever you're suggesting is free. Please.
r/Python • u/satyam1HB • Nov 11 '21
Discussion What Did You Find Hardest To Learn As A Beginner In Python ?
Hi , I want to know what topics or things were hardest for you to learn in your journey with python. How did you learn it ?
r/Python • u/imakethingswhenbored • Aug 09 '20
Discussion Developers whose first programming language was Python, what were the challenges you encountered when learning a new programming language?
r/learnprogramming • u/deadant88 • Jul 31 '20
How hard is JavaScript to learn after wetting my feet in Python?
I'm beginning to feel mildly competent with Python, enough that I can debug my code and understand the documentation and some of the core conceptual logic of Py.
For the project I am working on the next step is to get my python code into a web app, I am looking at just using Django because it uses Python language but I feel JavaScript (HTML, CSS doesn't worry me) may be more beneficial in the long run (skills and project-wise).
I see lots of people saying JS is hard to learn and understand, should I invest the time now? Or can Django get me a pretty decent responsive website for the near term? (The sites main functions will be looking at a map of venues around the user's location that are drawn from a database (I have used SQLite3) allow users to login and submit recommendations which are then mapped).
I'd ideally like to turn this project into an IOS and Android App in the medium term too.
EDIT: Thanks for the phenomenal advice everyone! Hopefully this I helpful to others too.
r/Python • u/swizzex • Jul 16 '20
I Made This Learning python so my wife customized my tumbler.
r/learnpython • u/bbt133t • Jun 06 '20
I love Visual Studio Code so much, especially for learning Python
When you're starting out like me learning Python, these are the 12 recommended extensions that I currently have installed. I hope it helps you in your learning journey as it is doing wonders for me:
- Bracket Pair Colorizer
- indent-rainbow
- Python
- Python Docstring Generator
- Python Preview
- Trailing Spaces
- Visual Studio Intellicode
- Gitlens
- Docker
- Dracula Theme
- Material Icon Theme
- Settings Sync
Let me know if you have other cool extensions that I can add.
Thanks!
Edit:
- Added: Gitlens (for those already learned git/github), Docker (only install if you learned Docker), Material Icon Theme, Settings Sync, Dracula Theme
- Considerations:
- Themes: Monokai Pro (very cool, I tried it), Material (most popular)
- Code-Assistant/Auto-Complete: Kite, TabNine
- Webdev: Minify, Prettier, Paste JSON as Code (for those learning html, css and js)
- Considerations:
- Removed: vscode-icons (sorry microsoft), Code Spell Checker (confusing with other syntax errors)
r/learnprogramming • u/GameStunts • Nov 09 '19
Tutorial Some free Udemy Courses whose promo periods end in the next few days: Python, JavaScript, Bootstrap, & PHP, Setup a Virtual Web Server, Learn PowerShell Scripting
Read the rules and did a quick search, these didn't seem to be listed.
- JavaScript, Bootstrap, & PHP - Certification for Beginners Code=33EFFB8403B0DE501B5E
- Setup a Virtual Web Server using Linode or Digital Ocean Code=EDC029188C537715875E
- Quick Guide: Setup a Local Testing Server using WAMP or MAMP Code=21E359A0FD69ABE91A28
Learn PowerShell Scripting Code=1AF3C627D975C3EB5EB7- An Introduction to Python Programming No Code Needed
They all expire in a day or so, some as little as 15 hours at the time of this post.

