r/learnpython • u/Thick_Risk5308 • 4m ago
Beginner python study group?
Absolute newbie here. Im lookjng for a small group of people to learn python with. (i hope im not breaking any rules)
r/learnpython • u/Thick_Risk5308 • 4m ago
Absolute newbie here. Im lookjng for a small group of people to learn python with. (i hope im not breaking any rules)
r/learnpython • u/yosefhay1929 • 53m ago
Hi everyone,
I'm building a Python bot for Polymarket's BTC 15-minute Up/Down markets. It's still in paper mode (no real money yet).
What it does now:
- Logs every trade, the order book depth and spread, the Kraken BTC price, and the market resolution
- Follows a few profitable wallets and only enters when they agree
- Has a daily loss limit and pauses after a losing streak
What I learned so far:
- I can't compete on speed with the fast maker bots, so I stopped trying
- Taker orders tested better than maker orders for me
My questions:
Is there still a real edge in 15-minute BTC markets for a slow bot, or is it mostly fees and noise?
What would you test first: entry price filters, time of day, or adding ETH/SOL markets?
Any common mistakes to avoid before going live?
Thanks for any advice.
r/learnpython • u/Dependent_Market3515 • 4h ago
I want to learn Python and MATLAB for NVH data analysis. Can anyone recommend good courses for beginners?
I want to learn practical applications like FFT, vibration analysis, SPL, STL, frequency analysis, and processing NVH test data.
Which should I learn first, Python or MATLAB? Also, please suggest courses that are useful for automotive NVH jobs.
r/learnpython • u/Whole-Researcher93 • 6h ago
Data Analysis with python OR Legacy python for everyone. This is on codeacademy, if you have another recommendation I'm all ears. I'm gonna download some apps that are primarily python focused but I am mainly just asking on behalf of where to start on codeacademy.
r/learnpython • u/Adriannightowl • 6h ago
Hi, good evening,
my brother and I would like to learn how to program, (me Python, he dart and flutter, ) my brother already used to know HTML CSS and Javascript. Some years ago.
I wanted to know if Kingdom.py from Steam is it a good one for me to learn Python as a total beginner? Or is Codecombat better?
I like the fact that kindgom.py is a one time pay. But I dont know if all code relating things are accurate and well debugged. In contrast to the joy of programming, (from which I read some bad reviews, despite its many good ones) (oh, and I also know that Joy of Programming is for more advanced learners)
And should I or my brother also play the farmer was replaced or Human resource Machine? What would you recommend us? And thanks in advance 🙇🏻🍀☀️
Btw. I'm planning to complete the CS50P in the future. (I'm following some Spanish speaking free courses first [Mouredev -on youtube] in order to have a better grasp of abstract/logical concepts in my native language before encountering them in English) (And will probably do the CS50X Spanish dubbed later on) But I dont know if it's also necessary for Python. 🥹
I'm open to any recommendation and would appreciate your knowledge about it. Thanks, and have a good night
r/learnpython • u/hanjokazooie • 12h ago
I've been self teaching using their lessons for about a week now, but without access to their server I can't check answers for exercises I'm stumped on. Their pastebin method doesn't work as it requires a verified account, and none of their confirmation emails send.
r/learnpython • u/ShoeEater788 • 17h ago
Hello guys, im currently in 10th grade and im 15, im considering being an IT as my professional career, so i figured i should learn Python to get started with, im not really aiming to master Python within a time period or something, but rather than i want to learn basic knowledge about it so if ever being an IT is my final decision for my career, Im a total beginner in Python and tech in general, my only big project was switching to linux, What is the best way to get started with??
r/learnpython • u/FewFly2677 • 19h ago
I think the course is highly inconventional. The star pattern was not introduced in loops and many other patterns that can be aseks. I understand that I should also do some research about it but some patterns like generating stars should be taught right. I basically finding the course structure wierd
r/learnpython • u/FunMagazine2121 • 1d ago
I am 19 year 1st year btech student and in my vacation I want to learn about ethical hacking and cyber security so where to start as there are too many courses which are too expensive and can anyone guide from where to start and what is journey if you know can you recommened me. Books also which I can study
r/learnpython • u/Ok_Veterinarian8836 • 1d ago
Building a Python-based Windows maintenance and gaming optimization application — looking for community feedback and ideas!
I currently work in IT at an MSP and am pursuing my bachelor’s degree in Information Technology. I’ve been brainstorming a personal project to improve my Python, PowerShell, automation, and software development skills.
The idea originally came from all the repetitive things I do before getting on Call of Duty. I figured I could automate those tasks, create a customizable application, and turn it into a professional portfolio project.
I’m still in the planning phase, but here are some features I’m considering:
System Maintenance & Updates
Windows and security update checks
Automatic CPU, GPU, and hardware identification
Hardware-specific driver update checks
Microsoft Store application updates
Desktop application updates
Temporary file cleanup
DirectX and game-specific shader cache management
Storage and system health diagnostics
Gaming & Performance Optimization
Normal, Gaming, and Maximum Performance profiles
Customizable background process and service management
Individual toggles for applications and services
Automatic secondary monitor management
CPU, GPU, RAM, and VRAM monitoring
Network latency and bandwidth monitoring
Automatic game and launcher startup
Automatic restoration of system settings after gaming
Power & Battery Management
Automatic desktop and laptop detection
Battery and charging status detection
Selectable efficiency, balanced, and performance modes
Optional automatic power management
Temperature monitoring
User-configurable power preferences
Security & Safety
Download drivers directly from approved manufacturers
Verify installer digital signatures and publishers
Verify hardware and operating system compatibility
Require user authorization before running third-party installers
Protect essential Windows and security services
Preserve original system configurations
Automatic rollback and recovery options
Detailed activity and error logging
Pre-Gaming Optimization Sequence
I’m also considering a loading screen that would:
Perform an initial system health check.
Record baseline resource utilization.
Save the current system configuration.
Apply the user’s selected optimizations.
Wait for background operations and resource utilization to stabilize.
Perform a second resource measurement.
Generate a before-and-after report.
Close the main optimization application.
Automatically launch the selected game and gaming platform.
I don’t want the optimization application itself consuming unnecessary resources while someone is gaming.
I’d also like to offer an optional lightweight background monitor that restores the original settings when the game closes, or a mode that closes everything completely.
I’m planning to use Python, PowerShell, native Windows APIs, and potentially CustomTkinter for the GUI. Windows 11 would be the initial target, with the possibility of supporting other operating systems later.
I’m also planning to incorporate Agile development and ITIL practices, maintain a GitHub repository, document security risks, and validate optimizations through actual performance testing.
For the Python community:
What libraries or frameworks would you recommend?
How would you approach the application architecture?
Are there better ways to interact with Windows services and APIs?
What security or technical challenges should I anticipate?
How would you minimize the application’s resource consumption?
For the gaming community:
What do you routinely do before launching a game?
What optimization techniques have you found genuinely effective?
What features would make you actually want to use this application?
What frustrates you about existing gaming optimization software?
Are there any features you wish existing applications offered?
I don’t want to create another generic FPS booster that blindly disables Windows services, makes unrealistic performance claims, or compromises system security.
I want something transparent, customizable, measurable, and reversible.
I’m open to constructive criticism, feature recommendations, and alternative approaches. I’d potentially like to make it open source so other people can contribute.
What would you add, change, or completely avoid?
r/learnpython • u/Complete_Ad_3944 • 1d ago
I learned the basics of Python
Now what?
What should I do next?
What would you do if you were at the stage where you had just learned the basics?
r/learnpython • u/Ok-Direction-5650 • 1d ago
Alguma dica pra aprender turtle? Sabe aqueles desenhos que fazem em python, realmente fazem do zero ou usam algum programa?
r/learnpython • u/rushaydotexe • 1d ago
I know a bit python but not tooo much. If I were to start python from scratch , where would I do that? Also , I need python for data sci and I want to learn a bit about web dev too so what all do I need to learn realistically.
Lastly , where do I get practice questions and projects to build that I can put directly in my portfolio??
r/learnpython • u/Joltik2007 • 1d ago
The subreddit doesn't let me attach an image so this is a vague rendition of what it looks like.
|
|---- -√2 β
|
|
|--↑-- 0 β
|
|-↑--↓- √2 β
My current idea is using horizontal bar charts with matplotlib.pyplot, but it doesn't have an x-axis and I'm struggling to create the y axis.
r/learnpython • u/Klutzy_Solid5200 • 1d ago
Like for example, you are working on a project where everything is running fine, but then you install a new package for a specific task, but it changes the version of an existing package like numpy or pandas, and suddenly, parts of your old code start throwing errors.
How do you usually fix these issues? Do you use virtual environments or follow any other approach to avoid package conflicts?
Would like to understand what's the common approach for this.
r/learnpython • u/Guilty-Question-6557 • 1d ago
Hi everyone,
I've been learning Python for about 5 months. I know basics like data types, lists and classes, but I still can't solve problems on HackerRank. When I get a problem, my mind often goes blank. Sometimes I also struggle to understand the statement in English.
I spent the last 3 years consuming a lot of mindless social media content. Now I find it hard to focus and stay disciplined, and reading documentation or books feels difficult.
I'd like advice on:
How can I build logical thinking and problem-solving skills?
How do I get past the "blank mind" stage?
How can I rebuild my focus and discipline?
How can I get better at reading documentation and books?
If you've been through something similar, what actually worked for you?
Honest feedback is welcome. Thanks!
r/learnpython • u/CandleShot7639 • 1d ago
I’m f(17) and I’ve tried to get into python numerous times but this time I want to actually be dedicated to it and eventually build my way up to harder languages.
Anyways please let me know some good YouTubers/sites to learn from as well as projects I could try out! I’m also hoping to make a few friends (close to my age) also learning python to make it more enjoyable.
I’m also open to any other information you think might help me out c:
r/learnpython • u/Terrible-Disaster774 • 2d ago
I hope this is perfect sub to post.
I need to build network performance monitoring and anomaly detection tool. I need to make something built with an admin dashboard and easy to set up , register a device and monitor easy to run on low resources.
the biggest challange is how to monitor and detect a registred device by an IP address(my be dynamic) is there any way?
which protocols i have to explore for detection and reporting ?
I'm a little bit familiar with python programming .
any advise or suggestion regarding workflow or implementation will be appreciated?
r/learnpython • u/Raging_demon3832 • 2d ago
So I am first year student in first sem currently knows the basics of normal python and hav good experience on nested loops never created projects and my clg is teaching me basics of numpy i wanna get into ml in future i wanna master numpy pandas and other libraries so can yall suggest me best resource to actually do this ?
r/learnpython • u/blackgarliccookie • 2d ago
I'm back again, hopefully with clearer information.
I have 19 boolean variables. Each one is labeled with the date of an election. Inside the variable has true/false. True is voted, False is didn't vote.
I want to create a voting history variable that has a few options.
Never voted, if all 19 are false.
Voted in the past 5 years, if any of the date variables in the past 5 years, aside from the recent midterm, have a vote.
Voted in the past 10 years, if no votes were cast in the past 5 but there were votes in the past 10.
And recently registered, which would involve the registration_dt variable which I feel more confident being able to implement.
I just really don't know how to turn these into one variable without losing information. Thanks so much :)
r/learnpython • u/South-Put-7948 • 2d ago
Guys, I am beginner. I have the python code and have saved in file. Now I want to place the file path in the terminal and run that code. I don't know what should I write before adding the file path? Please help!
r/learnpython • u/timepassr • 2d ago
so a little of context i have computer science as a subject in grade 12 , and in it i have to study python , sql , stack and python connectivity with sql . i have managed to study sql but im struggling with python all i know is print("hello world") , i dont know if this is the right place to post this but help will be really appreciated . also i cant give it much time sadly coz i have subjects like physics chem and maths hanging in my neck . max i can give is 45 mins a day and i have to do it in under a month .
these are all the topics i need to learn
Basics: Tokens, keywords, identifiers, literals, variables, data types, operators, and type conversion.
Control Flow: Conditional statements (if, elif, else) and loops (for, while, break, continue).
Strings: Indexing, slicing, traversal, and built-in string methods.
Lists, Tuples, and Dictionaries: Creation, indexing, slicing, mutability vs. immutability, traversal, and built-in functions/methods.
Standard Modules: Importing and using math, random, and statistics.
Functions
Types of Functions: Built-in functions, functions defined in modules, and user-defined functions (def).
Parameters & Arguments: Positional arguments, default parameters, and keyword (named) arguments.
Return Values: Returning single or multiple values (return statement) vs. void functions.
Scope of Variables: Global scope vs. local scope and the global keyword.
Exception Handling
Error Types: Syntax errors, runtime errors (exceptions), and logical errors.
Built-in Exceptions: ZeroDivisionError, TypeError, ValueError, IndexError, KeyError, FileNotFoundError, IOError, etc.
Handling Blocks: try, except, else, and finally clauses, along with raise and assert statements.
File Handling
File Types: Text files (.txt), binary files (.dat), and CSV files (.csv).
General File Operations: open(), close(), with statement, and file access modes (r, r+, w, w+, a, a+, rb, wb, ab, etc.).
Text Files: Reading (read(), readline(), readlines()), writing (write(), writelines()), and file pointer manipulation (seek(), tell()).
Binary Files: Serialization/deserialization using the pickle module (pickle.dump() and pickle.load()).
CSV Files: Reading and writing tabular data using the csv module (csv.reader(), csv.writer(), writerow(), writerows()).
Data Structures (Stack)
Stack Concepts: Linear data structure and LIFO (Last-In, First-Out) principle.
Stack Operations: Implementation using Python lists (push via append(), pop via pop(), peek/display, and underflow/overflow checks).
Python–Database Connectivity
MySQL Interface: Connecting Python to a MySQL database using mysql.connector.
Query Execution: connect(), cursor(), execute(), parameterized queries (%s or .format()), commit(), fetchone(), fetchmany(), fetchall(), and rowcount.
THANKS A LOT FOR READING
r/learnpython • u/No_Art7806 • 2d ago
I'm a social scientist who has primarily used R for my research, but would like to learn Python so that I can more effectively use LLMs. I completed the Python Programming MOOC, so I'm familiar with basic syntax, classes, etc. I then used Claude to create a textbook with exercises to cover topics such as making API calls, validation, tools, connectors, RAG, automation, eval testing, etc.
The problem I'm facing is that the code in each exercise goes well beyond what I learned in the MOOC, so I'm getting overwhelmed and feel stuck in the weeds. For instance, there are many packages being used that I've never encountered (pydantic, pytest, os, sys, threading, argparse, hashlib, pipeline, __future__) and concepts I haven't encountered (e.g., dataclasses).
- How important is it for me to understand these concepts if I want to use LLMs for scraping, classification, running OCR on large datasets? How much would I be missing if I used codex or Claude Code to simply code the files?
- How would you recommend proceeding? On one hand, I don't want to spend excessive time on more Python tutorials at the expense of doing research, but on the other, I don't want to be missing fundamentals.
- Are there any packages/concepts you would emphasize learning beyond learning basic Python syntax?
- Could you provide resources that provide a more gentle overview of how to use Python for the purpose of using LLMs?
Thanks!