r/PythonLearnersHub • • Jun 16 '26

Python beginning

Post image
500 Upvotes

Learnt about basic introduction of python programming from @saumyasingh

I learnt about python syntax,variables ,expressions and statements ,taking input from the user and looking forward to learn new things daily .

If someone has any suggestions then please drop in comments .


r/PythonLearnersHub • • Mar 17 '26

Automatically Visualize your Data in your IDE

161 Upvotes

Automatic data structure visualization in your IDE using ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜†_๐—ด๐—ฟ๐—ฎ๐—ฝ๐—ต:


r/PythonLearnersHub • • Mar 11 '26

How to copy a 'dict' with 'lists'

Post image
76 Upvotes

An exercise to help build the right mental model for Python data.

The โ€œSolutionโ€ link uses ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜†_๐—ด๐—ฟ๐—ฎ๐—ฝ๐—ต to visualize execution and reveals whatโ€™s actually happening.


r/PythonLearnersHub • • Mar 21 '26

Python's Mutable and Immutable types

Post image
70 Upvotes

An exercise to help build the right mental model for Python data.

The โ€œSolutionโ€ link uses ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜†_๐—ด๐—ฟ๐—ฎ๐—ฝ๐—ต to visualize execution and reveals whatโ€™s actually happening.


r/PythonLearnersHub • • Mar 26 '26

Learn Python programming from scratch with interactive examples

Post image
55 Upvotes

Learn Python programming from scratch with interactive examples.

What You'll Learn

  • Variables, data types, and operators

  • Control flow: conditionals and loops

  • Data structures: lists, tuples, dicts, sets

  • Functions, modules, and packages

  • File handling and error management

  • Object-Oriented Programming (OOP)

  • Advanced: decorators, generators, type hints

  • Professional: testing, logging, virtual environments

Free course available here https://8gwifi.org/tutorials/python/


r/PythonLearnersHub • • Jun 20 '26

Looking for the best free video resources to learn AI/ML from scratch

50 Upvotes

Hi everyone,

I'm an engineering student and I want to learn Artificial Intelligence and Machine Learning from the ground up. I already know some basic Python, but I'm looking for a structured, beginner-friendly video roadmap that can take me from the fundamentals to advanced topics.

I'm mainly looking for free YouTube courses or other free video resources that cover topics like:

Python for AI/ML

Mathematics (Linear Algebra, Calculus, Statistics)

Machine Learning

Deep Learning

Neural Networks

NLP

Computer Vision

MLOps (if possible)

Real-world projects

There are so many playlists online that I'm confused about which ones are actually worth following. If you had to start again today, which video courses or YouTube channels would you recommend, and in what order should I watch them?

I'm willing to invest several months in learning properly, so I prefer quality over speed.

Thanks in advance for your suggestions!


r/PythonLearnersHub • • Jan 31 '26

Hash_Map Data Structure Visualized

42 Upvotes

Learning data structures in Python gets easier with memory_graph visualizations. Data structures are no longer abstract concepts but concrete, clear and easy to debug.

This Hash_Map demo is a Python implementation similar to 'dict'. The demo visualizes:

  • adding key-value pairs

  • rehashing

  • lookup by key

  • iterating over keys


r/PythonLearnersHub • • Feb 13 '26

Data Structures in Python Visualized

37 Upvotes

Understanding a data structure like linked list in Python is a lot easier when you can just see it: Linked_List demo

memory_graph visualizes Python objects and references, so data structures stop being abstract and become something you can debug with ease. No more endless print-debugging. No more stepping through 50 frames just to find one sneaky reference/aliasing mistake.


r/PythonLearnersHub • • Feb 06 '26

Python Mutability

Post image
36 Upvotes

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:

It's instructive to compare with this earlier exercise (tuple with lists, instead of list with lists).


r/PythonLearnersHub • • Jan 02 '26

Python Data Model exercise, Mutability.

Post image
36 Upvotes

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/PythonLearnersHub • • Mar 07 '26

Visualized: Index the Values using a dict

34 Upvotes

r/PythonLearnersHub • • Sep 10 '26

Forming a small/compact group of Python beginners

Post image
24 Upvotes

r/PythonLearnersHub • • Apr 27 '26

Mutable vs Immutable Python Types

Post image
24 Upvotes

r/PythonLearnersHub • • Mar 26 '26

Selection Sort Visualized for Easier Understanding

23 Upvotes

Many algorithms can be easier understood after step-by-step visualization using ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜†_๐—ด๐—ฟ๐—ฎ๐—ฝ๐—ต. Here's a Selection Sort example.


r/PythonLearnersHub • • Jan 20 '26

Python's four Copies

20 Upvotes

Pick the right way to โ€œ๐‚๐จ๐ฉ๐ฒโ€ in Python, there are 4 options:

๐š’๐š–๐š™๐š˜๐š›๐š ๐šŒ๐š˜๐š™๐šข

๐š๐šŽ๐š ๐šŒ๐šž๐šœ๐š๐š˜๐š–_๐šŒ๐š˜๐š™๐šข(๐šŠ):
    ๐šŒ = ๐šŠ.๐šŒ๐š˜๐š™๐šข()
    ๐šŒ[๐Ÿท] = ๐šŠ[๐Ÿท].๐šŒ๐š˜๐š™๐šข()
    ๐š›๐šŽ๐š๐šž๐š›๐š— ๐šŒ

๐šŠ = [[๐Ÿท, ๐Ÿธ], [๐Ÿน, ๐Ÿบ]]
๐šŒ๐Ÿท = ๐šŠ
๐šŒ๐Ÿธ = ๐šŠ.๐šŒ๐š˜๐š™๐šข()
๐šŒ๐Ÿน = ๐šŒ๐šž๐šœ๐š๐š˜๐š–_๐šŒ๐š˜๐š™๐šข(๐šŠ)
๐šŒ๐Ÿบ = ๐šŒ๐š˜๐š™๐šข.๐š๐šŽ๐šŽ๐š™๐šŒ๐š˜๐š™๐šข(๐šŠ)
  • c1, ๐š๐ฌ๐ฌ๐ข๐ ๐ง๐ฆ๐ž๐ง๐ญ: nothing is copied, everything is shared

  • c2, ๐ฌ๐ก๐š๐ฅ๐ฅ๐จ๐ฐ ๐œ๐จ๐ฉ๐ฒ: first value is copied, underlying is shared

  • c3, ๐œ๐ฎ๐ฌ๐ญ๐จ๐ฆ ๐œ๐จ๐ฉ๐ฒ: you decide what is copied and shared

  • c4, ๐๐ž๐ž๐ฉ ๐œ๐จ๐ฉ๐ฒ: everything is copied, nothing is shared

See it Visualized using memory_graph.


r/PythonLearnersHub • • Jan 15 '26

Python Mutability and Shallow vs Deep Copy

Post image
17 Upvotes

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/PythonLearnersHub • • Jan 24 '26

Build the right Mental Model for Python Data

Post image
15 Upvotes

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:

It's instructive to compare with this earlier exercise (tuple with list, instead of list with tuple).


r/PythonLearnersHub • • Nov 25 '25

Python Mutability Exercise

Post image
14 Upvotes

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/PythonLearnersHub • • Jul 20 '26

Anyone looking for 1:1 Python mentorship? (Backend & real-world projects)

12 Upvotes

Hey everyone,

I've been thinking about doing a few one-on-one Python mentoring sessions outside of work and wanted to see if there's any interest.

I've been working with Python professionally for the past 5+ years, mainly building production backend systems with FastAPI. I've also been on the startup side of things, so I've spent a lot of time taking products from an idea to something real that people use.

A lot of learning resources teach you syntax, but not necessarily how software is actually built in production. Things like:

- structuring a project

- writing clean, maintainable code

- APIs with FastAPI

- databases

- authentication

- logging & debugging

- testing

- deployment

- working with Git

- and using Python to build AI-powered applications

If you're:

- just getting started with programming,

- switching into software engineering,

- or want to become comfortable building real Python projects,

I'd be happy to help.

The idea is to keep it completely personalizedโ€”1:1 sessions where we work toward your goals instead of following a generic course.

I'm just gauging interest for now. If this sounds useful, leave a comment or send me a DM with what you're trying to learn.


r/PythonLearnersHub • • Jun 22 '26

i built gUrrT conversational video Intelligence made possible on consumer grade pc

Thumbnail
gallery
12 Upvotes

it would always anger me whenever i would get stuck on a topic while watching youtube lecture or during my JEE days the LMS lectures of my coaching

Doubts would come like an avalanche, the only possible solution was typing it down in the comments or asking my fellow (smarter than me) mates

I always felt a lingering need, that what if i had a person who knows the video lecture i am watching in and out, who is smarter than me who knows everything not just things taught inside the video but also beyond, and is available 24x7

With this goal i made gUrrT, a tutor to help me go through a video lecture.

It smartly samples, video frames and extracts audio transcripts, then use vlms to caption the key frames, storing everything in a vector database.

Converting a video into a searchable array

Your asked question makes a call to the vector database then sends all the context to an llm which with its existing knowledge base along with the new video context answers all your questions from the video beautifully.

so all you gotta is type in your queries regarding anything you did not understand that is spoken or written on the board by the instructor

just go ahead send the video lecture to gurrt and ask all your doubts without worrying about rate limits, video durations, low computationa power or a paywall.

gUrrT is free, built with love and a lot of open source


r/PythonLearnersHub • • Dec 30 '25

Tie Data Structure Visualized

12 Upvotes

Data structures like Trie can in Python be easier understood and debugged after visualization using the memory_graph package. A Trie is a tree of dictionaries and can be used for things like word completion.


r/PythonLearnersHub • • Apr 24 '26

Breadth First search visualized using memory_graph

11 Upvotes

r/PythonLearnersHub • • Mar 05 '26

Python Assignment, Shallow and Deep Copy

Post image
11 Upvotes

An exercise to help build the right mental model for Python data.

The โ€œSolutionโ€ link uses ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜†_๐—ด๐—ฟ๐—ฎ๐—ฝ๐—ต to visualize execution and reveals whatโ€™s actually happening. It's instructive to compare with these earlier exercises:


r/PythonLearnersHub • • Jul 01 '26

Python Visualise DataStructure & Concurrency

10 Upvotes

This online compiler let you visualise any data structure written in Python real time
https://8gwifi.org/online-compiler/


r/PythonLearnersHub • • Mar 23 '26

A mindset shift that helped me finally finish my first data project (and avoid the Selenium rabbit hole)

8 Upvotes

Hey .

I wanted to share a realization I had recently that helped me actually finish a Python project instead of abandoning it half-way. Hopefully, it helps other beginners who might be stuck.

Iโ€™ve been trying to build a price-tracking project for a few weeks. My grand plan was to write a scraper from scratch, grab product data across a few e-commerce sites, and then use Pandas to clean it and build some trend charts.

But I hit a massive wall during the scraping phase. Between dynamic JavaScript loading, IP blocks, and sites constantly changing their DOM elements, I was spending 100% of my time trying to bypass bot protections. I got incredibly frustrated because my actual goal was to practice my Python data manipulation skills, not to become a reverse-engineering/anti-bot expert.

I finally decided to change my approach:ย Stop trying to reinvent the wheel for every single step.

I decided to decouple the data gathering from the data analysis. I ended up using a visual web scraper I stumbled across calledย ThorDataย just to handle the annoying extraction part. I basically pointed it at the pages, let it deal with the proxies and JS rendering, and just exported a raw JSON file.

Once I had that JSON file saved locally, the Python magic could finally start.

Without showing a wall of code, instead of fighting Selenium timeouts, I spent the last few days actually learning how to:

  • Parse deeply nested JSON structures into Pandas DataFrames.

  • Use Regex in Python to clean up messy string data (like stripping out weird currency symbols and formatting).

  • Handleย NaNย values correctly without just carelessly dropping entire rows.

  • Group the data to calculate historical low prices for specific items.

The biggest lesson I learned:ย As beginners, we often try to do everything from scratch and get burned out. If your main goal is to learn Pandas or data visualization, it's totally fine to use a no-code/low-code tool for the data gathering part so you don't lose motivation.

Has anyone else experienced this? When you guys build side projects, do you insist on writing the scraper from scratch every time, or do you use external tools to bypass the extraction phase so you can focus on the core Python logic? Would love to hear your workflow!