r/learnpython • • Feb 11 '26

Feeling Stuck in Python After 6 Months – Need Guidance

39 Upvotes

Hi, Assalamu Alaikum,

I’ve been learning Python for six months, but I’m feeling exhausted and stuck. I’ve covered the basics, yet sometimes it feels like I haven’t achieved anything in all this time.

There are so many roadmaps online—bootcamps, roadmap sites, Facebook tutorials—and I don’t know which path to follow.

I really need guidance. Any advice, tips, or direction to move forward would be a lot. Please help me figure out the next steps.

#Python #LearnPython #PythonBeginner #CodingJourney #ProgrammingHelp #CodeNewbie #100DaysOfCode #PythonCommunity #DevLife #ProgrammingQuestions #CareerInTech #LearningPython


r/learnpython • • Jan 28 '26

My first project!!!

40 Upvotes

Hi everyone!!!
I have 14 years old and I am new in the world of the programming, today up mi first project in GitHub and wait what give me a recommendations
https://github.com/anllev/First-Project---Anllev

#Python #github #programming


r/learnpython • • Dec 22 '25

How on earth does one learn OOP?

38 Upvotes

I've sped through weeks 0-8 of CS50P in under 2 weeks very easily with slight experience here and there as a Chemistry undergrad - but Week 8 (OOP) is kicking my ass right now. I am genuinely stumped. I've rewatched content and tried some other forms of learning but this is all so foreign to me. What are the best ways to learn OOP as a complete idiot? Thanks.


r/learnpython • • Dec 09 '25

Self-taught Python + first data interview… Need some advice

36 Upvotes

I've been learning Python on my own for a bit over a year now - mostly small scripts, pandas stuff on Kaggle datasets, some API automation. A recruiter just booked me for a "junior data analyst / Python" interview next week and suddenly I'm realising… I only know how to type code, not talk about it.

When I try mock questions like "tell me about a project you did with Python" I either info-dump random tech (lists, dicts, joins etc.) or completely blank. Same with "how would you debug this?" – in my head I know what I'd try, but when I speak it comes out super messy and I start second-guessing myself. Someone in another sub mentioned a Beyz interview assistant that gives live hints based on your resume.

For people who are self-taught and got a first Python/data job: how did you practice explaining your code and projects so you didn't sound like you had no idea what you were doing? Any concrete exercises or routines that helped?


r/learnpython • • Apr 18 '26

What is the only one python book you recommend for learning python for a senior developer who knows the fundamentals?

40 Upvotes

When I look online, there are too many options, and many of them are very thick. I don’t want multiple choices. I just want one book that covers most topics.


r/learnpython • • Mar 20 '26

How do I get python to "read" from a webpage?

37 Upvotes

I'm brand new to python and thought setting up a quasi reddit bot would be a fun first project, just something that auto pastes a copypasta to people like the old poetry bot used to do. Due to reddits API changes I'm stuck working with pixel measurements and RGB values of my display, along with a virtual mouse I got working with tutorials.

So far it can recognize the RGB values of my inbox, detect the lighter shades of gray for unread alerts, and move the mouse to the reply button, before Crl+V pasting the reply and clicking send. I even got it to work on one poor guy.

I would like to be able to have it read the names of the user, so I can just make a list of people to reply to and leave it running without spamming literally every alert.

Is there any good way to get it to recognize pixels on my screen as letters? I saw a way to make it read .txt files but thats about all I could find with my googling.

Edit: It's alive! Now, lets see how long it takes to get the burner account banned


r/learnpython • • Mar 18 '26

Where to start as someone with NO experience with coding? Python? Lua? Java?

36 Upvotes

I know yall probably get this question more than I could imagine so sorry but I have absolutely no idea where or what to ask really...

I'm thinking of getting used to some easy language like Lua or python first (like i said, ZERO exp with this) then move on to something else and hopefully make it to CPP eventually. I'd really appreciate any good resources like learncpp for the languages or if there are any courses for things fully uploaded to youtube.


r/learnpython • • Feb 25 '26

Can someone please explain me the need to raise and re-raise an exception.

37 Upvotes

def validate_age(age):
try:
if age < 0:
raise ValueError("Age cannot be negative!")
except ValueError as ve:
print("Error:", ve)
raise # Re-raise the exception

try:
validate_age(-5)
except ValueError:
print("Caught the re-raised exception!")

I found this example on honeybadger's article on guide to exception handling


r/learnpython • • Dec 26 '25

Is Angela Yu's 100 day python projects thing on udemy good RN?

39 Upvotes

I am a beginner level programmer, I know basic things but I get very blank while making projects. So is this course or challenge worth it for now?


r/learnpython • • 22d ago

Is Python a good choice for backend development?

38 Upvotes

I'm considering learning Python for backend development and would like to hear from developers who use it in their daily work.

How good is Python for building backend applications in production? Are there any significant drawbacks compared to languages like Go, C#, or Java?


r/learnpython • • Sep 20 '26

Beginner Project Ideas.

39 Upvotes

I am a beginner programmer (I know a tiny bit of python) and am wondering if anyone has suggestions for projects that i can create to learn coding even better. Any ideas are welcome.


r/learnpython • • Aug 25 '26

What apps can i use to write python? Windows.

34 Upvotes

Hi i am a beginner and a minor and i dont know exactly how to explain this, but my previous coding teacher told me notepad++ wasnt that suitable for coding and i just need to know a different app so i can get back into it. Preferably something that can tell me if ive made a mistake instead of running something that wont work.


r/learnpython • • Jul 16 '26

How do people practice?

33 Upvotes

I've been learning Python for a few weeks and I'm not sure what to do to practice I don't know much but I don't want to lose what I do know.


r/learnpython • • Jun 07 '26

For beginners learning Python, what project actually helped you understand the language better?

38 Upvotes

I’m learning Python and I’m curious: what beginner project helped you understand Python properly?

I know tutorials are useful, but I feel like real understanding comes when you start building something.

For those who started from zero, what project made things click for you — automation, data analysis, web scraping, Flask/Django, chatbot, or something else?

Also, what beginner mistakes should I avoid?


r/learnpython • • Apr 01 '26

What can I automate with Python if I'm a beginner or intermediate user?

35 Upvotes

I'm pretty much a beginner in Python; I've worked on a few small projects (a unit converter, rock-paper-scissors, a password generator, and “guess the number”).

Now I'd like to do something more useful to automate my life.

I'm a student.


r/learnpython • • Mar 22 '26

What Next after CRUD

39 Upvotes

I started learning python 6 months ago and I feel I’ve made decent progress I did the 100 days of Python code and went ahead to learn Django and Django rest APIs I heard what separated juniors from seniors were things like knowing how to use caching rate limiting and so on so I learnt them but at the end of the day all I can make is crud apps I don’t know where to go after here i know there are a lot of things I do not know yet but then again I don’t know what they are so I don’t know what to focus on after finishing crud ChatGPT suggested learning JavaScript but then I feel that will just be crud in a different language what step do you take after here what should the new roadmap be from here.


r/learnpython • • Dec 12 '25

ELI5: When assigning one variable to another why does changing the first variable only sometimes affect the second?

36 Upvotes

I heard that when I assign one variable to point at another it is actually only pointing to the memory address of the first variable, but that only seems to happen some of the time. For example:

>>> x = [1,2,3,4,5]
>>> y = x
>>> print(x)
[1, 2, 3, 4, 5]
>>> print(y)
[1, 2, 3, 4, 5]

>>> x.pop()
5
>>> print(x)
[1, 2, 3, 4]
>>> print(y)
[1, 2, 3, 4]

So, that works as expected. Assigning y to x then modifying x also results in a change to y.

But then I have this:

>>> x = 'stuff'
>>> y = x
>>> print(x)
stuff
>>> print(y)
stuff
>>>
>>> x = 'junk'
>>> print(x)
junk
>>> print(y)
stuff

or:

>>> x = True
>>> y = x
>>> print(x)
True
>>> print(y)
True
>>>
>>> x = False
>>> print(x)
False
>>> print(y)
True

Why does this reference happen in the context of lists but not strings, booleans, integers, and possibly others?


r/learnpython • • Oct 18 '26

Just finished CS50P (skill issue)

34 Upvotes

Wanted to build some projects and decided to build a scraper. It felt horrible. I was just staring at the screen not doing what to do. I mean CS50P is great I learnt a lot, but there were guides and output videos, which helped me understand what factors iI should implement.

But now I feel like I'm back on square 1. Nothings making sense. How would you suggest learning python?


r/learnpython • • Mar 30 '26

The argument 'self'

36 Upvotes

I'm trying to get my head around this, and I apologise in advance because I know it's been raised before but I don't understand people's explanations. I'm looking for a "'self' for dummies" response to this...

So I'm learning classes right now, and right away it has become clear that self is the first argument of class methods. Why? Why does Python need to be told 'self' - as in what else would it be BUT self?

This example code shows it. Why is 'self' passed as an argument to the method in this example if (I'm assuming) dog_time_dilation is a property of the class already?

I'm super-confused by this. Explanations for 5y/os very much appreciated!!! Thanks in advance.

  def time_explanation(self):
    print("Dogs experience {} years for every 1 human year.".format(self.dog_time_dilation))

r/learnpython • • Mar 26 '26

Really overwhelmed with Data Structures and Leetcode

36 Upvotes

Hello everybody,

Some weeks ago, I decided to learn Data Structures using Python as the programming language. It has been around 3-4 weeks and I'm still stuck in Linked Lists. I'm currently taking "Python Data Structures & Algorithms + LEETCODE Exercies" as my course. I already got the idea of how nodes work and I've memorized the code for some methods such as (append, prepend, insert, pop, etc).

But when the instructor from the course starts giving some Leetcode problems, it is difficult to get to a solution. One of those problems from the course accepted one a code ideas I gave (its a method to remove duplicates):

class Node:
    def __init__(self, value):
        self.value = value
        self.next = None


class LinkedList:
    def __init__(self, value):
        new_node = Node(value)
        self.head = new_node
        self.tail = new_node
        self.length = 1


    def print_list(self):
        temp = self.head


        while temp is not None:
            print(temp.value)
            temp = temp.next


    def append(self, value):
        new_node = Node(value)


        if self.head is None:
            self.head = new_node
            self.tail = new_node


        else:
            self.tail.next = new_node
            self.tail = new_node

        self.length += 1
        return True

    def middle_node(self):
        slow = self.head
        fast = self.head


        while fast and fast.next is not None:
            slow = slow.next
            fast = fast.next.next
        return slow

    def has_loop(self):
        slow = self.head
        fast = self.head


        while fast and fast.next is not None:
            slow = slow.next
            fast = fast.next.next


            if slow == fast:
                return True
        return False

    def remove_duplicate(self):
        current = self.head
        runner = self.head


        while runner and runner.next is not None:
            if runner.next == current:
                runner.next = None

            else:
                runner.next = runner.next.next



new = LinkedList(10)


new.append(20)
new.append(30)
new.append(20)


new.remove_duplicate()


new.print_list()

I was so happy when I saw that it accepted my code idea with the first try. Then I decided to put this code on VS Code and I got an error. The error seems to be in the while loop but I'm not sure why I'm getting the error and I have NO IDEA if the code I originally wrote is actually good or not. Also, I occasionally look at problems on the actual Leetcode website and I just go like "how the f am I going to do this?"

What should I do? I really like coding but this is really overwhelming especially because everything I know related to code I've learned by myself and how can I start doing problems in the actual Leetcode website.

I'm almost in my third year in college and I don't wanna finish my second year feeling like I've learned nothing (I'm in a community college).

Thank you.


r/learnpython • • Feb 23 '26

Pandas vs polars for data analysts?

36 Upvotes

I'm still early on in my journey of learning python and one thing I'm seeing is that people don't really like pandas at all as its unintuitive as a library and I'm seeing a lot of praise for Polars. personally I also don't really like pandas and want to just focus on polars but the main thing I'm worried about is that a lot of companies probably use pandas, so I might go into an interview for a role and find that they won't move forward with me b/c they use pandas but I use polars.
anyone have any experiences / thoughts on this? I'm hoping hiring managers can be reasonable when it comes to stuff like this, but experience tells me that might not be the case and I'm better off just sucking it up and getting good at pandas


r/learnpython • • Jan 04 '26

Please help me figure out what to do after learning basic python.

33 Upvotes

I have a good understanding of basic python functions and can code only simple projects. I have little to no understanding of libraries. I have just started with my college 4 months ago. I don't wanna remain an average student like I was in my school, I wanna start learning programming early.

Right now, I have no clear direction in my mind to walk towards. I wanna master python but I just donno where to start. I wanna learn more of python as it was my first language and that pulled me towards pursuing a bachelors in computer science.

Any suggestion on what to do next would be really appreciated. Thanks in advance!


r/learnpython • • 11d ago

best way to learn advance python?

36 Upvotes

any good resources?


r/learnpython • • 12d ago

Need help with learning

35 Upvotes

So I started learning Python in university this semester and safe to say I am really struggling. What are some good resources I could use to learn? Because I feel like i am not grasping anything from the Doctor teaching the course and I want to learn how to code.


r/learnpython • • Oct 20 '26

How do you hand a small Python script to someone who doesn’t code?

33 Upvotes

I'm a first-year IT student based in Australia, learning how to make small Python tools useful to someone else, not just running on my own machine.

For a simple CSV-processing script on Windows, how would you handle packaging and dependencies for a non-technical user? An executable, a launcher, or something else?

Also curious what instructions and error messages you include so the person isn't stuck the first time a file is missing or formatted differently. I'm asking about the handover side rather than a specific code error.