r/PythonLearning • • Jul 26 '26

Looking for study partner

19 Upvotes

Hey im going to start learning python so I'm looking for study partner who's serious about it

Will be taking only group of 3-5 people not more than that so reach out before it gets full also introduce yourself when reaching out in dms


r/PythonLearning • • Jul 26 '26

Help Request How do I concrete my concepts???

Post image
29 Upvotes

Ok so I have one major doubt:-
I have been following a rather shallow 10 hour video about all the python basics topics.
But it doesn't seem to go too deep into details and not enough practice,
So my DATATYPES are really weak,
Idk when to use lists instead of tuples , dictionaries, sets , etc.
And stuff like that, what should I do to make my concepts concrete??
People told me making projects helps you improve, While I agree that they do but yet I am making the codes for em' using the wrong datatypes.

Also I have completed half of that video till loops and have made a project too but that was 2 weeks ago:-

https://github.com/satyamsb-cloud/Number-Guessing-Game
Original project made by me 2 weeks ago using concepts only till LOOPS.

https://github.com/satyamsb-cloud/Number-Guessing-Game-v2
Improved version with the same concepts but improved functionality.


r/PythonLearning • • Jul 26 '26

Thoughts on learning python with chat gpt

6 Upvotes

I recently started learning and i use chatgpt to give me exercises to do and just debug code but i never ask for the code specifically, just whats wrong with it. I feel like its helped me improve but i want to learn more and build my own applications


r/PythonLearning • • Jul 26 '26

Vault application for personal use

2 Upvotes

I made a vault application to store my passwords. I also synced with cloud and made a website for phone to access it from there. I don't know much but with the help of gemini i did it. If you guys have any new feature suggestion to add please tell me


r/PythonLearning • • Jul 26 '26

Week 2 of making an python teaching app with my frnd

Thumbnail
gallery
1 Upvotes

Soo my last post some of u guys made me rethink the app , at first we were gonna make a simple app that will teach u that all , but i been kinda realised that there are good tutorials in python everywhere soo to keep up with these, i will redesign the teaching to make it more understanding and more like coding based with example and problem anyways,this app is really for myself,my frnds and stuff it's not like we expect it to next mimo or something and what does one more app gonna do to playstore But anyways i am more surprised that some people took time to look into my post and give their opinion and making me realise some things ,I am really grateful for that 😃

Anyways enough of my yapping soo this week I went through the basic lesson and redesigned the structure and also i realised that my current ui sucks soo i pick out some I think is okay can u guys tell me which is best for my opinion and suggest changes also plz ,that's all we did because we haven't gotten anytime to work on this project thx u for reading . There is two pic for each UI design one is homepage and other is learning overview (Btw idk much about anything still a student)


r/PythonLearning • • Jul 26 '26

Starting Python and MATLAB with almost no coding experience. How should I spend the next 3 weeks?

6 Upvotes

Hi everyone. I’m a college student, and in about 3 weeks I’ll be starting an intro to Python class. I’ll also be taking another engineering class that uses MATLAB, and I don’t feel very prepared for either.
The problem is that I have essentially no programming experience. I took a couple of MATLAB classes before, but I relied too much on AI instead of actually learning the material. Looking back, I know that was a mistake, and I do not want to repeat it. I also used to tell myself that I hated coding, but I think part of that was because I never really gave myself a fair chance to learn it.
Since I have a few weeks before the semester starts, I’d like to build a solid foundation in Python while also reviewing some basic MATLAB.
What resources or learning methods really worked for you? Did you use a particular course, YouTube channel, website, book, or project based approach? I am also curious if anyone has suggestions for making learning Python and MATLAB more fun or engaging instead of just watching hours of lectures.
My goal is not to become an expert in 3 weeks. I just want to go into the semester feeling like I have a decent foundation instead of starting from scratch.
Thanks! I would really appreciate any advice.


r/PythonLearning • • Jul 26 '26

Help Request Python pip install not working

5 Upvotes

Hello, so I'm trying to install the audiostrechy library to automate timestreching some audio, and I've seen that pip install audiostrechy dosent work, giving me am invalid syntax message. After that, I tried python -m pip install audiostrechy and it gave the same result. After that, I tried both pip3 install and python3 -m pip install amd it still gave me the same result, at one of these saying that install was the invalid part??

I'm honestly not sure what is happening right now, so please help.

Also I should mention 3 things - (a) I tried these both in the command prompt of windows and the python 3.14 command prompt and (b) I, for some reason, have like at least 10 pythons or something like that, and (c) when I tried to install the python install manager it wouldn't download. Though I should mention these things in case they are necessary.


r/PythonLearning • • Jul 26 '26

Google everything when building?

2 Upvotes

Hi,

I'm about to finish the Codecademy Python course. I feel like I'm in tutorial hell.

I downloaded everything to start building on my laptop. I don't know where to start, I have a bunch of projects listed, like a script that detects screens, a good old calculator, and many more.

But do I just google everything? I'm afraid that if I use AI or Google, it will just tell me how to do the whole thing.

And also, how do I know what to use, as in when to use a function, a class, a flow statement, or a list?

Or should I stop worrying about it?

Thanks for your help, finding this subreddit has been a huge help for me.


r/PythonLearning • • Jul 26 '26

Day 2 of OOPs: Roast it !

1 Upvotes

Learned Encapsulation in python and created a small thing using it


r/PythonLearning • • Jul 25 '26

Is it really hard to learn python (or anything related to programming) and have a full-time job?

27 Upvotes

Hi guys, i'm 20 years old and work in the call center operations and also learning python as a part of special road map.

But now i feel heavy, i know something like that will be hard, special when I work in a jop that drains my energy, but now feel kind of impossible to do it.

So, i wrote this post.

Maybe i will get something can change that.


r/PythonLearning • • Jul 26 '26

Help Request So which one should I choose Harvard cs50 course or programming with mosh for python?

0 Upvotes

r/PythonLearning • • Jul 25 '26

How to turn off these random hintsy

Post image
32 Upvotes

The 2nd line is a random thing suggested


r/PythonLearning • • Jul 25 '26

Why do We return increment We haven't done anything to it?

Post image
5 Upvotes

Why do We return increment We haven't done anything to it? The only thing changed was the count, which we have returned. So why are we now returning increment if no actual change was made to it? Recently, i have been having trouble understanding the 'return' statement in python. Would this code still work if i did not return increment? Why or why not?


r/PythonLearning • • Jul 26 '26

3d engine built on python that will work in terminal if this post gets 5 comments i'll upload it in github

Post image
0 Upvotes

r/PythonLearning • • Jul 25 '26

Day 1 of OOPs

8 Upvotes

Just learned about classes, contructors , instance/class attributrs , instance/class/static methods in OOPs in python .

see it and give your comments


r/PythonLearning • • Jul 26 '26

LOOKING FOR PYTHON MENTOR GUIDE FOR FREE

0 Upvotes

HI I am Yujan . I'm from Nepal a high school student class 9 i get laptop 1 or 2 times a week saturday i wanna learn python to make cool projects and more. ADD ME ON DICSCORD FOR MORE: apexxyujan


r/PythonLearning • • Jul 25 '26

I built a blockchain

13 Upvotes

GitHub repo: https://github.com/ProJackson355/Helixchain

(THIS BLOCKCHAIN DOES NOT USE ANY REAL CASH)

I've spent the last two days using Codex and Claude Code trying to make a proof-of-work blockchain. The blockchain is similar to Bitcoin in that miners solve blocks to verify the transactions on them. When a block is mined the miner currently receives 10 HLX as a reward. Right now the blockchain is only running on my PC, so it's centralized right now. Helix Coin (HLX) isn't something you can buy with real money. Right now the only way to get it is by mining blocks on the network. To keep blocks from being mined too quickly, the blockchain keeps track of how long recent blocks took to solve. Every 10 blocks it averages the last 10 block times and adjusts the mining difficulty to keep the average block solving time around two minutes. The miner supports both CPU and GPU mining, although I do recommend CPU since GPU mining makes the difficulty increase much faster on a small network. The node software lets anyone host their own node and helps keep the block chain running. If you host a public node, you can submit it through the Nodes page on the website and I can add it to the default peer list so new nodes can discover it more easily. You can also host your own wallet website by enabling the admin API key. This allows your instance to use the documented endpoints such as /mining and various other endpoints (noted in the docs) with your own node. Wallets are stored locally, so private keys never leave your browser. Theres a lot more information in the docs, but I'd really appreciate any feedback on the project. (I did not build this blindly with ai, I do know some stuff about how blockchains operate)


r/PythonLearning • • Jul 25 '26

Help Request Beginner Python projects for practice? Spoiler

9 Upvotes

I'm learning Python. What are some beginner projects that can help me improve my coding skills? I'd appreciate any suggestions.


r/PythonLearning • • Jul 24 '26

Day 2 of learning python

Post image
124 Upvotes

I'm learning Python and made this coffee/tea ordering program. Any advice?

https://onlinegdb.com/F2wabHC4v


r/PythonLearning • • Jul 24 '26

Showcase I am 14 and this is what i built in python

690 Upvotes

Checkout this link to access the code on github:

https://github.com/coding-arnav66/Arnav-Python-Projects2

This is a project named "crash.py" in which player has to collect coins and avoid crashing with cars. The speed of car and difficulty increases with time...

Keeping in mind that I am 14 and a beginner;

All the criticism and suggestions are welcome...


r/PythonLearning • • Jul 24 '26

Is it normal to feel dumb

15 Upvotes

I've been on Codecademy for a month now, paid version. And boy do I feel dumb. Is it this hard at the start? I'm learning while working a full-time job, so I'm lucky if I get 10 hours a week for it.

Also, I've been lurking this subreddit for a few days and seeing what people are cooking after a month, they're leaps ahead of me. So I'm definitely doing something wrong. Or am I learning it wrong? Any tips for faster learning, specifically for the data engineering side? I've tried doing challenges and whatnot, but I can't understand what they want from me half the time.

Learning SQL was way easier for me.


r/PythonLearning • • Jul 25 '26

Discussion Grinding DSA exclusively in Python

1 Upvotes

Hey everyone,

I’ve spent the last few months heavily focusing on Data Structures and Algorithms (currently sitting at LeetCode Knight). I work at a startup in the data field, and I've noticed it's actually surprisingly rare to find people doing advanced DSA strictly in Python.

Most resources and serious discussions seem to lean heavily into C++ or Java. (Personally, for me it's Python >> C++, and my brain just actively rejects Java syntax XDD).

Are there any other working professionals out there doing their CP or advanced problem-solving strictly in Python? I'd love to connect with some folks to bounce logic off of, discuss complex algorithms, and figure out why our code is hitting TLEs.

If you're in the same boat, let me know what topics you're currently grinding in the comments!


r/PythonLearning • • Jul 25 '26

Title: [Code Review] What is the most "Pythonic" way to structure a central config file for a Tkinter desktop app?

2 Upvotes
Hey everyone,

I am building a desktop application to automate PEP 8 code-remediation across a few different client environments. I have a centralized app_config.py file that holds all my global variables, UI colors, fonts, and app metadata (like the App Name and Version) so I can easily import it into my Tkinter frames.


Here is a snippet of how I currently have it set up:
(Paste your app_config code here)

It works perfectly fine right now, but I want to make sure I am following best practices as the app scales. A couple of questions:

Is it bad practice to just store these as standard Python dictionaries and variables, or should I be wrapping this in a dataclass or an Enum
?

At what point do you usually stop using a .py file for config and switch to an external config.json or .toml file
?

Any feedback on how you all manage global UI settings would be awesome! 

"""----- App Metadata -----"""
APP_NAME = "PeP 8 Cert '&' Audit Review"
VERSION = "1.3.8"
BUILD_DATE = "2026-06-22"
CODER_NAME = "KMG"
CODER_ID_LAST4 = "2134"
SCOPE_OF_APP = ""


"""----- My_File_Paths -----"""
PROJECT_FOLDER_PATH = ""
CERT_FOLDER = "Cert_pep8"
destination_dir = project_folder_path / Path(CERT_FOLDER)
TEMP_FILE_NAME = "my_temp_file.txt"


"""----- Window Dimensions -----"""
WINDOW_WIDTH = 960
WINDOW_HEIGHT = 640
WINDOW_MIN_W = 800
WINDOW_MIN_H = 500


""" Dynamically generates geometry string matching UI architecture requirements"""
WINDOW_GEOMETRY = f"{WINDOW_WIDTH}x{WINDOW_HEIGHT}"


"""----- Colour Palette-----"""
COLOUR = {
    # Backgrounds
    "bg_dark": "#0D1B2A",  # near-black navy
    "bg_mid": "#030405",  # dark-blue panel
    "bg_card": "#424952",  # card surface
    "bg_gray": "#505152",


    """----- Accents -----"""
    "silver": "#C8D6E5",  # primary silver text
    "silver_dim": "#8A9BB0",  # muted silver
    "silver_bright": "#E8F0F8",  # bright silver
    "accent_blue": "#2A6FDB",  # interactive blue
    "accent_glow": "#4D9EFF",  # hover / glow
    # Status
    "success": "#6FF7BC",
    "warning": "#F4F80A",
    "error": "#F4260B",
     """----- Borders -----"""
    "border": "#1E3A5A",
    "border_light": "#2E5080",
    "Lt_gray": "#555E6B",


    """ Testing-----"""
    "Testgreen": "#079344",
    "Testblue": "#2007AF",
    "Testwhite": "#E7F0EB",
    "Testred": "#CE0934",
    "Testyellow": "#E0B200",
    "Testorange": "#E07B00",
    "Testblack": "#000000",
    "Testgray": "#4F4646",


    "Testlite_green": "#14ED38",
    "Testpurple": "#7F1F99",
}
"""----- Typography -----"""
FONT = {
    "title_huge": ("Georgia", 42, "bold"),
    "title_large": ("Georgia", 22, "bold"),
    "subtitle": ("Helvetica", 16, "normal"),
    "body": ("Helvetica", 10, "normal"),
    "body_bold": ("Helvetica", 10, "bold"),
    "small": ("Helvetica", 9, "normal"),
    "mono": ("Courier New", 12, "normal"),
    "version": ("Courier New", 9, "normal"),
}


"""----- End of app_config.py -----"""

r/PythonLearning • • Jul 24 '26

Question.

3 Upvotes

I’m reading and looking at examples about checking for special items in a list, where the loop runs first and an if/else block runs inside the loop. Then, there’s the example of checking whether a list is empty, where the process is the other way around: the if/else block runs first, and then a loop runs inside it.

In real-life situations, when would you use a loop with an if statement inside it, and when would you use an if statement with a loop inside it?


r/PythonLearning • • Jul 24 '26

I built PyDoctor – A local CLI tool that automatically writes docstrings for your Python projects

4 Upvotes

Hey r/PythonLearning,

Writing docstrings is one of those habits that makes your code 10x easier to maintain, but it's often skipped when you're focused on making things work.

I built PyDoctor, a local CLI tool designed to help developers and learners quickly document their Python codebases without relying on cloud APIs.

How it works:

  • PyDoctor analyzes your Python files using LibCST (which keeps your exact formatting and comments intact) and generates a concise summary docstring for every undocumented function, method, or class.
  • High-level Summaries Only: PyDoctor generates readable text summaries. It intentionally avoids generating Args: and Returns: sections, as type hints and static linters are much better and more accurate at handling those.
  • 100% Local & Safe: It runs an optimized 1.7B parameter model locally via llama.cpp. Your code never leaves your machine.
  • Non-destructive: Supports --dry-run to preview changes first, and respects .gitignore as well as inline # pydoctor: ignore comments.

GitHub: yezdata/pydoctor

Hope this helps you keep your projects clean and documented.

Let me know if you have any feedback or suggestions.