r/learnpython • u/jontsii • Feb 11 '25
What do you think is the best IDE for python?
So I use PyCharm but what do you use?
r/learnpython • u/jontsii • Feb 11 '25
So I use PyCharm but what do you use?
r/learnpython • u/Cutsa • Dec 20 '24
Hello, world! I'm just starting to learn Python on my own and I'm using W3Schools as my teacher. They show the following command:
if 5 > 2:
print("Five is greater than two!")
But they don't explain why ":" is necessary. For instance, this following line of code does not require a colon:
import sys
print(sys.version)
How come? And why is it important to use indentation on the first example but not the other?
Thanks in advance for your answers!
r/learnpython • u/cedenof10 • Jul 09 '26
I’m not great at remembering the specific input formats for different functions, and I often have to look up the documentation while making scripts. Is this normal?
r/learnpython • u/Still_booting • Jan 06 '26
I'm been learning python for past 17 days.My learning process is like watch video ask chatgpt for 20-40 question and try to solve it myself but a guy in tech field said this approach is time consuming. What I can do is learn python from vibe coding make small projects from vibe coding and try to break that code understand the kigcs behind it why used the certain concepts. He said just solving WAP questions will get you to now where try learning with vibe coding. Build lots of projects with vibe coding and learn. Should I do as he said or just follow traditional way solving 20-40 questions etc
r/learnpython • u/Code-Tech • Oct 01 '24
Hello r/learnpython
PLEASE DO NOT HATE ME !
BUT I SEARCH A BIT BUT I DID NOT FIND GOOD ANSWERS
I am a fairly good Python developer and have been using VS-Code until now. I just started my 30-day Free Trial in PyCharm But I feel so overwhelmed with the features and do not know any keyboard shortcuts except SHIFT + SHIFT, which works like CTRL + SHIFT + P. I am using a Windows Device. I want to use the IntelliJ Keymap instead of the VS Code Keymap.
I have also learning Web-Dev for some time with VS Code.
I watch YOUTUBE and there are like a lot of VS Code Tricks but I do not find a lot like that for JetBrains IDEs.
I want to know to know how to get around the IDE. I need to know If there is Documentation, Video, or Something
I want to how to use PyCharm for Python Development.
I want to know how to get into WebStorm.
I want to know where and how to know the tricks of JetBrains IDEs.
Are There any Plugins which is game-changing?
Why are there so many JetBrains IDEs if one of my IDEs can do most of it?
I am a noob in JetBrains IDEs please let me know how I get started at least. I know getting my legs dirty is the best way I know it but before that I need pre-requisites
I asked it r/Jetbrains who responded but it has only like 20K users and i do not think it got reach.
UPVOTE
r/learnpython • u/cahit135 • Jul 06 '23
Now i am using pycharm but its giving too much error.I wasnt getting this errors while using vscode and these errors are mostly unimportant syntax errors that doesnt make sense in any condition. Is pycharm really necessary?
r/learnpython • u/BlueAquamarin3 • Sep 08 '24
-So, to begin with, I want to thanks to anybody that reply to this question, I really appreciate that. To be honest, I'm a beginner in this field and I don't know what to start with because my inital goal is to create an AI without relying on ANY AI assisting tool on the internet, I've had this goal for a long time and now and finally I have some spare time to begin with it. What should i do first in this roadmap and what to learn first? (I'm completely new.) Thank you!
r/learnpython • u/[deleted] • Aug 25 '24
I have no experience with programming. I try to learn Python for data analysis. But it is hard to see how the hell can THIS be used for data analysing? What I have seen from this language so far are 3-lines-codes or 1-line-codes. Like
def abc(a, b)
temp=a
a=b
b=temp
return a, b
I understand what this "code" is doing, but can anyone show me a "normal" longer code in Python that actually IS a real program and not only a little trick? I'd like to analyze how these things I have learned about looks like in "real life". (I have learned about lists, tuples, variables, loops, functions and methods, but all examples and exercises were these little somethings like the example I wrote above.)
r/learnpython • u/a193bd92 • Nov 17 '23
Edit: code is supposed to present a Huffman tree of a script and I can only use lists and no other functions other than append. No counter no dictionary no index sorry for not precising It is possible as I’ve seen a program run doing exactly this. Maybe the mistake is in my approach to doing the Huffman tree
edit2: achieved my desired result with the following code sorry for not being precise thanks again for helping me out! var1 = 0 var2 = 0 for n1 in range(len(liste2)): for n2 in range(0, len(liste2) - n1 - 1): if liste2[n2] > liste2[n2 + 1]: var1 = liste2[n2] liste2[n2] = liste2[n2 + 1] liste2[n2 + 1] = var1 var2 = liste1[n2] liste1[n2] = liste1[n2 + 1] liste1[n2 + 1] = var2
r/learnpython • u/Same_Path_6519 • May 15 '26
What is the best way or book or website to learn Python
r/learnpython • u/OfficialBriGuy • Jul 30 '26
This starts with a balance of 50. It takes coins of ONLY 25, 10, or 5 and returns the balance due to the user. If the balance due is 0 or less than 0, it returns a "Change Due: " message.
My problem is that my code will subtract any value amount the user puts in no matter what, not just the 25, 10, and 5 it's supposed to? what's going on?
shouldn't the "if coin == 25 or 10 or 5:" line ensure only one of those 3 values is used?
def main():
balance = 50
while balance >= 0:
print(f"Amount Due: {balance}")
coin = int(input("Insert Coin: ").strip())
if coin == 25 or 10 or 5:
balance = balance - coin
if balance <= 0:
print(f"Change Due: {abs(balance)}")
break
main()r/learnpython • u/Elegant-Variation940 • Jun 09 '24
I will graduate high school next year and I want to major in programming but I dont know shit about it and not that good in math
And whats the difference between cybersecurity - programming - and computer science
r/learnpython • u/SeriouslySally36 • May 20 '23
Let's say that the AI you're working with can generate perfectly functioning code for any project, framework, or concept you can imagine.
To the point where memorizing Python code is now kinda pointless. Or even the syntax of any programming language.
How would you go about learning/mastering Python then?
What concepts would you need to know to be able to perform at a professional level?
r/learnpython • u/ImprovementAlive870 • Dec 16 '24
I want to create a dating algorithm that will suggest people according to user interactions and behavior. If a user interacts with female users, then suggest females; if they start interacting with males, then show them males. If a user likes individuals from a specific country or ethnicity, show profiles from those categories without using explicit query filtering. What can I do to achieve this?
r/learnpython • u/silly_little_guy__ • Aug 31 '24
Im starting college and taking computer science, and as part of it i need to make a project using a programming language over the 2 years, it doesnt have to be fully fledged story and complete gameplay, but enough to showcase that ive made something. Im planning on making a sort of pokemon style game (at least in terms of combat) and think ive settled on python to do so. I know basically nothing about programming so im wondering how reasonable it is for me to be able to do this, or if theres maybe a better language for me to learn?
r/learnpython • u/[deleted] • Dec 09 '24
So I'm currently taking a class in high school and we're learning to code in python and I'm so damn behind. Everyone else is like coding pygame and I'm just the only one trying to figure out one of the fundamentals. I feel so damn hopeless the thing is I could barely remember how to write the code every time I read the material... I worry a lot that I have low IQ because of that...
r/learnpython • u/z4xr • Sep 26 '26
im starting on learning python but I don't know how to do it properly? I am learning using visual studio code with Python extension for Visual Studio Code on Mac 👍
r/learnpython • u/LateStarter33 • Apr 05 '25
Hey everyone,
I’m 33, recently married, and working a high-paying job that I absolutely hate. The hours are long, it’s draining, and it’s been putting a serious strain on my relationship. We just found out my wife is pregnant, and it hit me that I need to make a real change.
I want to be more present for my family and build a career that gives me freedom, purpose, and maybe even the chance to work for myself someday. That’s why I started learning Python—specifically with the goal of getting into AI development, automation, or something tech-related that has a future.
Right now I’m learning Python using ChatGPT, and it’s been the best approach for me. I get clear, in-depth answers and I’ve already built a bunch of small programs to help me understand what I’m learning. Honestly, I’ve learned more this way than from most tutorials I’ve tried.
But I’m stuck on what comes next:
Should I get certified?
What kind of projects should I build?
What roles are realistic to aim for?
Is there a good community I can join to learn from people already working in this space?
I’m serious about this shift—for me and for my growing family. Any advice, resources, or tips would mean a lot. Thanks!
r/learnpython • u/Delta_Warrior8 • Apr 20 '23
I was working on a certification practice test and I ran into multiple questions about them. I’m in FLVS and apparently either I forgot most of my first semester, or they didn’t teach me enough.
also if you could tell me other things that Flvs might have not taught me that would be nice.
r/learnpython • u/CALL911imonfire • May 11 '24
Typing on my phone (in portrait mode) is much easier than typing on a keyboard because of my disability. Do you know of any apps or websites that teach Python well via a smartphone? I've tried Mimo, and it's fine, but I don't like how it has a strike system. It punishes you for getting a question wrong, and if you get 3 wrong then you'll have to wait for your lives to return.
r/learnpython • u/wh00is007 • Feb 19 '25
I know this is a matter of perspective, but hear me out. AI tools like ChatGPT can generate code, troubleshoot errors, and even explain complex programming concepts in plain English. If I’m a hiring manager, why would I pay an “older” IT professional a high salary when I can hire a recent grad (or someone proficient at prompting AI) for less?
I’m not here to be a ‘negative Nancy’ or knock anyone down—just throwing out some thoughts on how AI is changing IT. Certain roles are already being downsized or made obsolete. Are we reaching a point where knowing how to ask an AI the right questions is more valuable than knowing how to code?
What do you all think? Is learning Python still worth it for IT veterans, or should we be focusing on something else?
EDIT:
I want to thank everyone for responding! Just to be clear, I’m not bashing Python or coders at all. In fact, I’m envious of those who can code because, for so long, it’s been my Achilles’ heel. My attention span makes it hard for me to truly grasp it, which has been frustrating.
That said, I absolutely believe learning any programming language is valuable. I was just looking at this from the perspective of a manager who’s trying to cut costs—whether by hiring recent grads, outsourcing, or relying more on AI. With how fast things are changing, I wanted to hear different perspectives on where things might be headed.
Appreciate the discussion!
r/learnpython • u/lpow100 • May 08 '25
I made a PyPI module called extra input and I want to hear what the python community on Reddit thinks of my module. https://pypi.org/project/extra-input/
Edit: I added the GitHub link and showed what each function does
r/learnpython • u/electrickangaroo31 • Mar 29 '26
I recently had to (re)learn Python for work. Long story short: I may have oversold my coding skills in an interview and got hired. Coding isn’t the main part of my job, but it’s required. I always thought Python was easy—until I actually tried to learn it seriously.
With a month before my start date, I dove into Think Python (free online). Although it was intended to be beginner-friendly, I found that some of the later chapters and exercises were extremely challenging. I got through them, but only with help from W3Schools (which, honestly, is way more beginner-friendly).
I also signed up for Coursera, Udacity, Udemy, and Codecademy (I skimmed through their courses, but never actually used them). Now I’m drowning in 50%-off emails. My question: With so many free resources out there, when does it actually make sense to pay for a course?** Especially interested in Udacity—has anyone here used it? Worth the cost?
r/learnpython • u/world_of_delusion • Dec 24 '23
Hello, I am new to Python and programming in general. I am learning Python on EdX, and was wondering how important it is to memorize syntax for different functions like find, replace, convert to upper/lower case, etc. Wouldn't memorizing them be redundant since they can be Chatgpted?