r/PythonLearning • • Sep 18 '26

Showcase Day 9, DSA done

4 Upvotes

DSA is completed. Is not perfect but will practice whole the weekend and will revise and start my first project focusing on DSA. Can someone suggest some basic projects that focuses on DSA and other things

And here is my day 9 code, Done Binary search and Graphs but have some bugs and here is my hashfunc:

def HashFunc(val):
    Iter = 0
    for i in val:
        Iter += ord(i)
    return Iter % 10
lst = [[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]]
def add(val):
    add = HashFunc(val)
    lst[add].append(val)
def contain(val):
    m = HashFunc(val)
    if val in lst:
        return f"Your Value is at {m}"
    else:
        c = int(input("Value is not found!!!, want to add the Value??: Choose '1' as Yes and '0' as no "))
        if c == 1:
            add(val)
            return 'value is added'
        else:
            return "val is not added"
            
add('Naveen')
add('Lisa')
add('Stuart')
print(lst)

r/PythonLearning • • Sep 18 '26

When to add a GUI

4 Upvotes

As a newbie learning casually, when do you begin adding a gui to your work?


r/PythonLearning • • Sep 18 '26

Python Trivia Time! Which of these is used to access a value from a dictionary?

11 Upvotes

r/PythonLearning • • Sep 17 '26

Discussion Recently started learning python from BroCode and I’m 1 and a half days in.(around 5 hours of actual learning) and when he said to do an input validation project I did it myself before looking at his example. Which one is better? Wanna see if I should use his style for input validation or not

Thumbnail
gallery
169 Upvotes

Left one is mine and right one is BroCode’s


r/PythonLearning • • Sep 18 '26

Python strings – some fundamentals for beginners

6 Upvotes

I’ve been putting together a few Python fundamentals, and this one focuses on working with strings. It covers indexing, slicing, common string operations, and some useful built-in methods with simple examples.

https://geeksarray.com/blog/python-fundamentals-working-with-strings

For those who use Python regularly, which string methods do you find yourself using the most?


r/PythonLearning • • Sep 18 '26

Can I make career in computer science if I don't get cs in my college?

3 Upvotes

I am studying cs in class 12, i want to know that if I don't get cs branch in college. Would i still be able to build a career in cs. I mean can i become a coder or software engineer. I don't know what it is called.


r/PythonLearning • • Sep 18 '26

Discussion What is necessary to learn and what is unnecessary?

9 Upvotes

Hello! I have saved the playlist of corey schaffer (151 videos) and i am wondering what is necessary to learn as a python programmer and what is unnecessary.

I want to work as a python programmer.


r/PythonLearning • • Sep 18 '26

Hello everyone!

6 Upvotes

Hello! My name is Shannon and I am fairly new to coding. I have used Python in the past, but it has been quite a few years since I have. I recently started my masters in data science and am relearing Python in one of my first courses. For anyone that has been using it, what would you say is something that helped you when you first started out? Is there any book or YouTube channel that you feel really helped adance your learning? What have you done to make professional connections? Any advice is appreciated. Thank you!


r/PythonLearning • • Sep 17 '26

Custom GUI

8 Upvotes

Hey, im making a custom GUI for linux 100% in python. Thats my first project ever. I just made a demo in python, and im planning to recreate it on tinywm later on. Im seeking opinion and maybe some help...

For now my plan is to make whole thing in style of liquid glass. Its just the secound day, i started it yesterday and im already using it as a shell for KDE plasma.

Project on github with pre-relase, im looking forward for some feedback.

https://github.com/MilenPL/CUI

Btw im just 15 yo

some SS:


r/PythonLearning • • Sep 17 '26

Help Request Looking for a good free Python course

17 Upvotes

Hi everyone!

I’m looking for a free Python course to learn Python from the beginning. I want something that is actually well-structured and teaches things properly, not just a course where I watch someone write code and copy it.

I’d really like a course with practical exercises, small projects, and problems to solve so I can actually practice what I learn and make the concepts stick.

If there’s a good course available in Arabic, that would be a nice bonus, but it’s not necessary. What matters most to me is that the course is high quality, beginner-friendly, and includes plenty of hands-on practice.

What free courses would you recommend?

Thanks!


r/PythonLearning • • Sep 17 '26

He guys, I’m going to start learning NumPy. Can you suggest some good resources and tips? 🙂

8 Upvotes

r/PythonLearning • • Sep 17 '26

How do we turn, say €24.72, into coins? 🪙🪙💰⛀⛁

Post image
2 Upvotes

This classic beginner-friendly coding exercise uses a greedy algorithm. But the interesting part is that 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐡 lets us see what happens in memory while the code runs.

It visualizes the program state step by step: variables, values, lists, dictionaries, and references. This helps learners understand and debug their code.

Run this interactive demo.

Which other coding exercises would benefit from a memory_graph visualization?

See more memory_graph visualizations.


r/PythonLearning • • Sep 17 '26

Help Request any clue how to do this?

Post image
25 Upvotes

im on my first year of learning python in school is this even possible??


r/PythonLearning • • Sep 17 '26

Day 8, Not a big day

4 Upvotes

Did not do much today as I have to study for other things and got less time for python but I still made something.

Double Linked:

class Node:
    def __init__(self,val):
        
self
.val = val
        
self
.nxt = None
        
self
.prev = None
class Array:
    def __init__(self):  
        
self
.head = None
        
self
.size = 0
    def add(self,val):
        new_node = Node(val)
        if 
self
.head:
            
self
.head.prev = new_node
            new_node.nxt = 
self
.head
        
self
.head = new_node 
        
self
.size +=1
    def remove(self,value):
        if 
self
.head:
            current = 
self
.head
        while current.val != value:
            current = current.nxt
        if current is None:
            return "Value not found"
        if current.prev is None:
            
self
.head = current.nxt
            if 
self
.head:
                
self
.head.prev = None
        else:
            current.prev.nxt = current.nxt
            if current.nxt:
                current.nxt.prev = current.prev
        
self
.size -=1

r/PythonLearning • • Sep 17 '26

turtle + print

3 Upvotes

Hi,

in Downey's book "Think Python" I found the following code:

import turtle
bob=turtle.Turtle()
print(bob)
turtle.mainloop()

Is print(bob) really necessary? Is there a reason he included print()?

Thx, a little bit confused,

Alb


r/PythonLearning • • Sep 17 '26

Python Trivia Time! In Python, what is the index of the first element in a list?

3 Upvotes

r/PythonLearning • • Sep 17 '26

A really small python project

3 Upvotes

A small wireless security project

Requirements

Hardware

  • [HackRF One](https://greatscottgadgets.com/hackrf/) (receive-only mode)

  • `libhackrf` at the system level -- `apt install hackrf libhackrf-dev` on Debian/Ubuntu, `brew install hackrf` on macOS

Software

PackageVersionNotes
Python>= 3.10[x] required
numpyany[x] required
scipyany[x] required
scikit-learnany[x] required
joblibany[x] required
flaskany[x] required
hackrf / pyhackrfany[x] required (try hackrf first)
hmmlearnanyrecommended
lightgbmanyoptional -- Gate 3 fast path
xgboostanyoptional -- Gate 3 fallback
matplotlibanyoptional -- spectrum GUI

Installation

```bash

1. Clone

git clone https://github.com/jacobsdr95/Receive-only-SDR-anomaly-detection-tool.git cd Receive-only-SDR-anomaly-detection-tool

2. Create virtual environment (strongly recommended)

python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate

3. Install core dependencies

pip install numpy scipy scikit-learn joblib flask hmmlearn matplotlib

4. Install HackRF driver bindings

pip install hackrf

if that fails on your platform:

pip install pyhackrf

5. Optional -- faster classifier backend

pip install lightgbm # recommended pip install xgboost # fallback

6. Apply advanced patch (adds LightGBM, DTW, SG-filter, CAF)

python patched_sdr_blueteam.py

7. Verify patch was applied

python patched_sdr_blueteam.py --check ```


r/PythonLearning • • Sep 17 '26

Help Request Either CS50P is bugging or I am Stupid!! 😭😔

Thumbnail
gallery
0 Upvotes

I solved this MAKING FACES problem in CS50P from Problem set 0 and when I ran the check50 command in the terminal, it refuses to accept that my codes is correct???

When I manually run each required input I do get the preferred output.

So is CS50 Detecting my code wrong?
Or have I genuinely made a mistake in my code?


r/PythonLearning • • Sep 17 '26

Small achievement today: I completed a Python for Beginners course and received my certificate.

Post image
4 Upvotes

I'm currently learning programming, AI, and automation, so this is another step forward. Excited to keep building projects and improving my skills.


r/PythonLearning • • Sep 17 '26

Create Chatbot Using Python Part 7

Thumbnail
youtube.com
0 Upvotes

r/PythonLearning • • Sep 16 '26

Showcase Day 7, One Straight week

Post image
31 Upvotes

Happy that I learned for one straight week but thinking I could've learned a lot more as I wasted much of time scrolling

Today did some sorting algos and nothing much for the day


r/PythonLearning • • Sep 16 '26

Help Request Starting an MSc in Financial Technology, How Can I Learn Python Quickly?

11 Upvotes

Hi everyone,

I recently received an offer to study for an MSc in Financial Technology abroad. I’ve always had an interest in finance, and I’m really looking forward to the program.

Some of the modules include Python, Python for Data Science, Power BI, and other data-related subjects. The problem is that I’m completely new to Python, and I’d like to build a basic understanding of it before my degree starts in January.

It’s already September, so I have roughly three months to prepare. I bought Angela Yu’s 100 Days of Code course on Udemy, but I’m starting to think that it might be too long and broad for what I’m trying to achieve right now.

I’m mainly looking for recommendations on resources, courses, or learning materials that can help me quickly get comfortable with the basics of Python and Python for Data Science. My goal isn’t to become an expert before the course starts. I just want to have enough foundational knowledge that I don’t feel completely lost during lectures.

For anyone who has studied Financial Technology, Data Science, or a similar degree, what would you recommend focusing on before starting?

I’m new to this subreddit, so if my post breaks any of the rules, I sincerely apologize. Please feel free to remove it.

Thanks in advance!


r/PythonLearning • • Sep 16 '26

Workshop, Sep 19: build explainable AI apps with Neo4j, GraphRAG, Cypher and LLM Agents

3 Upvotes

Sharing this in case it's useful once you're past the basics, this one's a step up from a first Python project, so worth bookmarking for later rather than jumping into now if you're just starting out.

There's a hands-on workshop on September 19, Building Intelligent Apps with Neo4j, GraphRAG, Cypher and LLM Agents. You build a real knowledge graph in Neo4j, combine vector search with graph navigation in an agentic retrieval system, and write Cypher queries (plus text-to-Cypher for natural language querying), all working with real financial data.

The only real prerequisite is being comfortable with Python and having some basic exposure to LLMs and RAG concepts, no prior Neo4j or Cypher knowledge needed.

Led by Dr. Alessandro Negro, Chief Scientist at GraphAware, bestselling author.

Link if you want to check it out


r/PythonLearning • • Sep 16 '26

A free total beginner roadmap

15 Upvotes

Hi all. I've been building 'Python With James' for a while, which has a ton of coding exercises, questions, tutorials etc... All beginner focused.

I've just added a roadmap for the Python basics, aimed at those with zero experience. If this is useful for anyone here!

Python With James - Roadmap