r/PythonLearning • • Oct 16 '25

Help Request best python learning playlist or video for beginner (windows only)

0 Upvotes

please only recommend windows tutorials only because i was just wtching one with mac os and it was a bit confusing


r/PythonLearning • • Jun 20 '26

What are the libs / packages AI struggles the most?

0 Upvotes

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 • • Sep 04 '26

Discussion Weird Folder names in Python

0 Upvotes

I always has a doubt after installing python software. When I open the Python folder, I see other folders with names like DLLs, Doc, etc, Include, Lib, Libs, Scripts, Share, Tcl, and Tools. Can anyone explain what these folders are, what they're for, and what the .pyd extension means?


r/PythonLearning • • Jul 24 '26

Help Request Making a Discussion Site

0 Upvotes

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 • • Aug 30 '26

Python learning and teaching forum

0 Upvotes

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:

https://discord.gg/AV7YArk4R


r/PythonLearning • • Aug 31 '25

Any Tool in Python that can auto-apply for a job application?

0 Upvotes

r/PythonLearning • • Jul 28 '26

Created my first database with psycopg2.

0 Upvotes

Using psycopg2 made me realize how much work SQLAlchemy was doing for me. Although implementing the queries was a bit complex at first, it gave me a lot of control over customizing things to fit my application best.


r/PythonLearning • • Jun 18 '26

Update on my Virustotal-CLI

0 Upvotes

Added a new IP resolution technique.

previous versions include:

  1. file scan/report

  2. url scan/report

  3. domain scan/report

  4. 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 :)

source: https://github.com/Soumyo001/VirusTotal-CLI


r/PythonLearning • • Aug 29 '25

Indentation ERR

0 Upvotes

I have been trying to get this one to work for a while. I don't understand where the indentation on the return(user_groups) line is supposed to be


r/PythonLearning • • 16d ago

Help Request Mr.Veeraragavan

0 Upvotes

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 • • Jun 07 '26

After learning PSint, what should I do?

0 Upvotes

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 • • May 25 '26

Help Request How can i do Jarvis voice pls

0 Upvotes

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 • • Oct 11 '25

Getting Discouraged and Wondering if I should start over

Thumbnail reddit.com
0 Upvotes

r/PythonLearning • • May 02 '25

Help Request Is it possible to shorten the code on the bottom, just like the code on the top?

Post image
0 Upvotes

r/PythonLearning • • Jul 01 '25

Virus checking bats

0 Upvotes

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 • • Oct 21 '25

ai agent learner

0 Upvotes

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 • • Aug 10 '25

🚀 Ace Your GCSE, IGCSE or A Level with Python – The Ultimate Guide You’ve Been Looking For!

0 Upvotes

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:

Python Interactive Practice


r/PythonLearning • • Aug 08 '25

Is AI giving me bad advice? why or why not?

0 Upvotes

This is what AI gave me...

📝 Your Next Steps:

  1. Explain the entire Selenium script line-by-line in your own words.

  2. Retype the whole script manually in your editor (no copy-pasting).

  3. Run the script to confirm it works, then tell me if anything is unclear or errors happen.

🔗 Stack Overflow links for what we’re doing now:

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:

🛠️ What you got right or close:

  • 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.

🛠️ What needs more clarity or correction:

  • 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.

🗒️ Notes Summary: Selenium Script Breakdown for DuckDuckGo Search

  • 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.

🧠 Reinforcement Practice:

  1. Explain in your own words what WebDriverWait does and why it’s important.

  2. Manually retype the entire script (don’t copy-paste).

  3. Add driver.quit() at the end of your script and explain why it’s needed.

  4. 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

ChatGPT said:

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:

How I expect you to learn and remember code like this:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

Bottom line:

  • 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 • • Jul 01 '26

Help Request I want to learn Computational biology, what is the roadmap in python i should take?

0 Upvotes

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 • • Jun 29 '26

Showcase What are your biggest pain points when cleaning datasets in Python?

0 Upvotes
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 values

r/PythonLearning • • Jul 14 '26

Can anyone please suggest a YouTube playlist for learning async python programming.

0 Upvotes

r/PythonLearning • • Jul 24 '26

Logic and solution

0 Upvotes

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 • • Jun 27 '26

coding buddy's for beginners

Thumbnail reddit.com
0 Upvotes

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!!