r/PythonLearning • u/FtheMemer_alt • Oct 16 '25
Help Request best python learning playlist or video for beginner (windows only)
please only recommend windows tutorials only because i was just wtching one with mac os and it was a bit confusing
r/PythonLearning • u/FtheMemer_alt • Oct 16 '25
please only recommend windows tutorials only because i was just wtching one with mac os and it was a bit confusing
r/PythonLearning • u/skvark • Jun 20 '26
If you use some coding agent, what have been the libraries or packages that the models don't really grasp without your help?
I usually need to give extra context for anything that moves fast, like Pydantic AI, and then all kinds of edge cases inside various libs.
What I have found funny is that some time ago most models still defaulted using OpenAIs older APIs even though I instructed them to use the responses API.
r/PythonLearning • u/No-Inevitable-6476 • Sep 04 '26
r/PythonLearning • u/BlitzPieGard • Jul 24 '26
Hey I am going to make a discussion app. Can you suggest some features to add to the site. I am making it on python and using the framework Flask and I am a beginner too so pls help me too
r/PythonLearning • u/jmaroo • Aug 30 '26
I have started a Discord server for Python training and memorabilia.
If you are new to learning Python This server is for you.
If you know Python and want to teach others, this is the Atli server.
I am a newbie. I want us all to gather here and use each other's experiences.
Discord server link:
r/PythonLearning • u/KingOfUniverse37 • Aug 31 '25
r/PythonLearning • u/OneLittle6430 • Jun 18 '26
Added a new IP resolution technique.
previous versions include:
file scan/report
url scan/report
domain scan/report
ip scan/report
the main reason, I build this cross-platform project is for the structured printing of the JSON data that the API returns from the browser and also, I don't remember whether it had ip resolution technique.
also, new learners can learn from this project on modular architecture, API requests.
if you guys liked it, please drop a star :)
r/PythonLearning • u/Ok_Aioli2605 • 16d ago
I am loading few large size binary files (70 MB19 nos. look_up tables) in Main using more than 2/3 python files. On completion of the loading, I have to take up a series of search (in 3 or more threads) and arrive at the solution. I am using array.fromfile for loading which does not wait for loading completion. Hence, it fails saying array out of bounds. How do I delay the start of search, just till the loading is completed.
r/PythonLearning • u/Fresh_Drawing_7538 • Jun 07 '26
Hi, I'm new to programming and I'm really interested. In my computer science classes, they taught me a very superficial version of PSeInt, and I've been learning independently at home with free YouTube courses. I already know the basics, like how to write logical statements (yes and no) and how to use correct syntax. I have an uncle who's a cybersecurity programmer who recommended I learn Python and is going to give me some books on the subject. I've also been reading that PSeInt is generally considered outdated. With that in mind, what courses or online resources could you recommend to help me learn about this system? Is it easier or more complex than PSeInt? What advice would you give me as a beginner?
Thanks in advance for any help and especially for your attention.
r/PythonLearning • u/kojosei12 • May 25 '26
Hello guys, I'm currently developing my own assistant based on Jarvis from Iron Man. And now that I have a base, I want my assistant to talk with the same voice as Jarvis in the movie. I'm actually using edge-tts to make it speak.
r/PythonLearning • u/jizzstealingthiefman • Oct 11 '25
r/PythonLearning • u/OliverBestGamer1407 • May 02 '25
r/PythonLearning • u/karitanos • Jul 01 '25
I want to create some bat files to be checking -Registry changes -ip contacts To keep my pc safer?
I'm a total newbie in coding and I need help with the Idea. What do you think of it? Is it doable? Is it worth it? Anything to add?
Edit: new thought, can I check the tasks from task scheduler and the startups for changes too?
r/PythonLearning • u/Icy_Rub6290 • Oct 21 '25
Well hey folks,
I am a coursera learner applied to Vanderbilt University : ai agent developer and I faced the problem of applying the steps and contents BECAUSE OF the APIs
at first I solved it using Gemini's free 200k tokens but I was considered about hitting this rate at just 10 to 20 requests so I ditch it
then moved to openrouter which thankfully gives me free models with limits but I didn't but in mind that I have 50 requests per day and I already hit the limit due to a dump bug in the litellm module which hides my code's output with no error at all after a trivial search I found out that to get more free requests you need to pay at least 10 dollar to start using 1000 request by day
here is my question
isn't there any service provider that provide me a good free experience with higher requests per day
for those who asks am a python developer
def generate_response(messages : List[Dict],model = "openrouter/qwen/qwen3-235b-a22b:free",max_tokens = 1024) :
response = completion(
model=model,
messages=messages,
max_tokens=max_tokens
)
return response.choices[0].message.content
messages = [
{"role": "system", "content": "You are an expert software engineer that prefers functional programming."},
{"role": "user", "content": "Write a function to swap the keys and values in a dictionary."}
]
response = generate_response(messages)
print(response)r/PythonLearning • u/Soggy_Tomorrow_5786 • Aug 10 '25
Hi everyone,
Over the past few years, I’ve been helping GCSE/IGCSE students get comfortable with Python — not just learning the syntax, but actually writing code confidently in an exam setting.
I ended up creating a structured guide that:
Breaks Python down into GCSE-relevant topics
Uses worked examples and mini challenges
Matches the specification so nothing important gets missed
Plenty of coding examples for practising that progress gradually from simple to challenging
Above all, giving you an opportunity to apply what you learn in a real-world project
Taking you through the essentials of the Object Oriented Programming - OOP - with easy jargon-busting.
This is the tutorial on Python with a console for practising on it while learning:

r/PythonLearning • u/[deleted] • Aug 08 '25
This is what AI gave me...
Explain the entire Selenium script line-by-line in your own words.
Retype the whole script manually in your editor (no copy-pasting).
Run the script to confirm it works, then tell me if anything is unclear or errors happen.
Selenium basics and setup: https://stackoverflow.com/questions/18152744/how-to-use-selenium-webdriver-with-python
Using WebDriverWait and Expected Conditions: https://stackoverflow.com/questions/57113452/selenium-webdriverwait-expected-conditions
Finding elements by CSS selectors: https://stackoverflow.com/questions/60358131/selenium-find-elements-by-css-selector
Submitting a form and interacting with inputs: https://stackoverflow.com/questions/49699935/how-to-submit-a-form-with-selenium
Then I went and explained it the entire selenium script I did line by line in my own words and it said this...
Great job! You’ve got the general flow and many key points down. Let me help you clarify and correct a few important details, so your understanding is exactly aligned with what an AI/ML engineer mentor would expect:
from selenium import webdriver — imports Selenium’s tool to control browsers (here Chrome).
Service class helps manage the ChromeDriver service.
ChromeDriverManager() automatically downloads and manages the ChromeDriver executable so you don’t have to manually download it.
By is a utility Selenium uses to specify how you want to find elements (by ID, name, CSS selector, etc).
WebDriverWait waits for elements to appear or become interactable to avoid errors from trying to interact too soon.
expected_conditions (EC) contains conditions we wait for (like element present or clickable).
The script opens DuckDuckGo, finds the search box, types the query, submits it, waits for results, then prints them.
driver.quit() closes the browser window at the end.
Service is a class that helps Selenium start ChromeDriver as a separate process, it does not directly install anything. The installation happens when you call ChromeDriverManager().install(). You pass this path to the Service so it knows where the driver is.
By isn’t part of webdriver or common folders but a module that has locator strategies like By.ID, By.CSS_SELECTOR.
EC.presence_of_element_located() waits for a single element matching your locator.
EC.presence_of_all_elements_located() waits for all elements matching your locator to appear — that’s why we use it for results, which are multiple links.
The (By.CSS_SELECTOR, "input[name='q']") is a tuple passed as an argument inside another tuple — you can think of it as two pieces: “How to find it?” (By.CSS_SELECTOR), and “What to find?” (the selector string).
search_box.submit() submits the form containing the search input, triggering the search.
You didn’t mention driver.quit() but it’s important: it closes the browser cleanly when we’re done.
Import necessary Selenium modules and ChromeDriver manager.
Use ChromeDriverManager to download ChromeDriver and pass path to Service.
Create webdriver.Chrome with the Service to launch Chrome browser.
Use driver.get() to open DuckDuckGo homepage.
Use WebDriverWait + EC.presence_of_element_located to wait up to 10 seconds for search input.
Use search_box.send_keys() to type the query and .submit() to start search.
Use WebDriverWait + EC.presence_of_all_elements_located to wait for search results links.
Loop through results and print their text content.
Call driver.quit() to close the browser.
Explain in your own words what WebDriverWait does and why it’s important.
Manually retype the entire script (don’t copy-paste).
Add driver.quit() at the end of your script and explain why it’s needed.
Write a short comment explaining the difference between presence_of_element_located and presence_of_all_elements_located.
Your turn: Explain point #1 back to me. What is WebDriverWait, and why do we use it?
The next thing it want's me to do is try and redo the script from memory which I already know I won't be able to do at this point...so I asked it a bit deeper and it told me this
I appreciate your honesty — this is a really important question. Here’s how I truly expect you to approach this, especially at the beginner level:
Understand the concept first, don’t just memorize: When you grasp why we use WebDriverWait or what driver.get() does, it’s easier to recreate it without rote memory. Focus on understanding the purpose behind each line.
Write the code yourself with guidance, not just copy-paste: Copy-paste is fine for reference, but typing it yourself (even if you glance at it) helps build muscle memory and familiarity. Don’t worry about perfect recall now — it comes with repetition.
Break it down into chunks: Instead of memorizing the whole script at once, take it step by step. Practice writing the import lines one day, the setup lines the next, etc.
Use comments as memory aids: Write short comments for each line or block in your code. That way, you understand the “story” the code tells and can follow that story later.
Use resources to reinforce learning:
Keep the official Selenium docs handy.
Use sites like Stack Overflow for examples and explanations.
Watch short tutorials on YouTube for repetition and different perspectives.
Test your understanding by explaining back: Even if you struggle, trying to explain what you do understand helps deepen learning and reveals gaps you need to fill.
Don’t expect perfect recall overnight: Even experienced programmers look up syntax. What’s important is knowing how and why to use it, and where to find the details quickly.
I’m here to build your foundation and confidence — not to make you memorize lines of code like a robot.
Real learning comes from practice, repetition, and making mistakes.
You will get better at recalling and writing this code as you work with it more.
Meanwhile, it’s perfectly fine to keep your notes and references nearby — no one codes without looking things up.
...so is AI giving me good advice or no?
r/PythonLearning • u/Ghosteagle_AUH • Jul 01 '26
I would like to go into computational biology and bioinformatics route, i took the bioinformatics course last year, i didn't get that much benefit from it, but i got the basics of R?, I'm i lost or is this a normal thing to ask?, Thank you.
r/PythonLearning • u/Significant-Log-4272 • Jun 29 '26
I've been working on a data-cleaning library as a learning project. While building it, I realized I kept solving the same problems repeatedly: I'm curious what repetitive preprocessing tasks you find most annoying in Pandas or Polars. I'd like to improve the project based on real workflows rather than assumptions.duplicate rows inconsistent datetime formats memory optimization missing valuesr/PythonLearning • u/Remarkable-Wash-6841 • Jul 14 '26
r/PythonLearning • u/[deleted] • Jul 24 '26
currently I am trying to solve hackerrank problem they look easy in my own eyes but still in every question i make mistake sometimes I don't even know how to solve I only solve 3-4 questions to this date so I don't know if it's right to take help from AI
I need your guidance to what should I do to build my logic and try to avoid taking help of AI
sorry for my english
please suggest something
r/PythonLearning • u/B_David- • Jun 27 '26
This post is for beginners to find their coding buddy's! personally I'm15 and I'm beginner python programmer and I'm looking for a friend to text and share my work with.
the nonprogrammers dont understand!!