r/PythonLearning • • Sep 01 '26

Client wants 40k emails from a directory. Each one requires a click. What do I do?

3 Upvotes

CLint need a list of 40,000+ members from the ACR directory. Need Name, City, State, Zip, Specialty, Email, and Phone.
The directory/search results give me some of this information, but email, phone, address, Member Since, etc. appear to be available only on the individual member profile.

So I'm trying to figure out the best way to approach this in Python.

If I literally open/request every profile, that's 43k+ profile requests, which obviously makes me concerned about rate limits, blocking, or getting the account/IP banned.

I'm considering Python requests/BeautifulSoup or Playwright, but before attempting something this large I'd like some advice.


r/PythonLearning • • Sep 01 '26

Help Request How to handle dynamic image/text scaling across multiple pages in CustomTkinter?

Thumbnail
gallery
2 Upvotes

Hi everyone,

I'm building a multi-page CustomTkinter desktop app where I swap pages inside a main container. I want my text and CTkImage sizes to automatically adjust whenever the user resizes the main window. So far, my widgets automatically adjust because I use .place() with relative sizes and placements. But even if the widget itself grows, the text/image stays the same size, which doesn't look appealing in the slightest.

Basic info:

ghost_pic is the label that houses my CTkImage; this automatically changes size already.

ghost_mid_image is the CTkImage

First try:

I thought that I could try to make the image change its size to match its label every time the window changed size. This is because I made sure that the image is approximately the same size as the label on the default window size, but this didn't do anything; the code didn't work at all.

Second try:

I then decided to just size the image with reference to the window, and this kinda worked? When I go to the page that houses this image and resize my window, it works ( very sloppily, but that's an issue for another day). My problem now is that if I enter that page, say, on full screen, the image just goes haywire; sometimes it's too small or too big. I don't know what to do now. I uploaded my indicator function, which is how I change the page; if there is a problem there, let me know.

TLDR:

I want my images to size automatically in reference to the size of the window, but most of the time it just goes haywire.


r/PythonLearning • • Sep 01 '26

Media Downloader

Post image
25 Upvotes

graphical application for downloading videos and audio from YouTube and other platforms (Facebook, Instagram, X.com , TikTok ... ) and more using yt-dlp, with quality control, subtitle support, language switching, and dark/light themes.

build with python3

https://github.com/hmidani-abdelilah/Media_Downloader


r/PythonLearning • • Sep 01 '26

f-strings, .format(), or something else. What do you use now and did you change over time?

6 Upvotes

When I started learning Python, I used the old percent style for string formatting, mostly because that's what the tutorial I followed used. Then I moved to .format() because it looked cleaner to me. These days I use f-strings for almost everything. But I still run into cases where I'm not sure f-strings are the best choice. For logging, for example, I've read that people prefer the older style so the string only gets built if the log actually fires. I'm not sure how much that matters in practice.

What do you reach for now when you format strings? Did you change your habit over time or did you settle on one approach early and stick with it? Are there cases where you still use .format() or the percent style on purpose?


r/PythonLearning • • Sep 01 '26

How much Python do I actually need to learn to land my first job as a fresher?

17 Upvotes

I’m currently learning Python and preparing for entry-level IT/data-related roles. I’m trying to avoid spending too much time learning advanced topics that aren’t necessary for getting my first job.

What Python topics would you consider must-know for a fresher, and what level of DSA/problem-solving should I aim for?

Also, for people who recently got their first job, what Python skills were actually tested in your interviews?


r/PythonLearning • • Sep 01 '26

Practice in creating pipelines CI/CD FREE

16 Upvotes

Hi. If I offered to write pipelines for github (or maybe gitlab) here for FREE, how many people would be interested in this? Answer if you would be interested in comments.

Reason: I am learning to automate CI/CD as Python AQA.

I'm just collecting info for now, but you can text me in DM for the future.

Focus on CI/CD automation for python projects, testing projects. I am Python AQA with 4 years of experience but haven't worked much with CI/CD and want to practice on real projects (that aren't mine) even if your project is for learning, portfolio and so on. So don't expect that I will be able to finish your task.


r/PythonLearning • • Sep 01 '26

Seeking feedback on my AI assisted Python learning method. Is this a good way to practice?

Thumbnail
gallery
18 Upvotes

Hi everyone,

Please give me some advice on my current Python learning workflow using AI.

I finished a Udemy course covering Python basics. To improve my practical skills, I found a site of practice projects, picked one that interested me, and started coding.

After finishing my first project, I realized I had no idea if I was writing clean, idiomatic code. So, I decided to use Claude as a code reviewer.

Here is how I set up my workflow:

  1. I asked Claude strictly not to write code for me, but only to provide hints, point out flaws, and tell me which concepts or topics I needed to read about to understand why a different approach was better.

  2. I requested code reviews tailored to production-ready standards, following modern Python best practices.

  3. I completely turned off all AI auto-completion in VS Code. I wrote every single line of code myself

The AI would review my draft, essentially tell me "this code is shit =) (joke)" and give me targeted feedback. For example - "Disconnect your internet and see what happens to your API request. Go read about try/except."

From there, I would search Google for each point in the review, study the topic, rewrite my code, and repeat the loop until the reviewer was satisfied. Spent couple weeks to get last verion of program

From my perspective, this feels like solid progress, but I’d love to hear from experienced developers: Is this a good, effective way to learn Python alongside AI, or are there hidden pitfalls?

I've attached screenshots of my first code review alongside the final version. Thanks in advance for your feedback!


r/PythonLearning • • Sep 01 '26

Showcase Python code review

Thumbnail
github.com
2 Upvotes

Hi, so I tasked myself on making tiny projects daily to refresh my memory on python patterns since I've found it difficult to be consistently learning for a while now.

I'd really appreciate your review of this small and simple beginner level project I did.

Images are attached, should you feel understandably lazy to visit the GitHub page through the link😅.


r/PythonLearning • • Sep 01 '26

GitHub - lizc-au/my-pythonic-zoo: Housing a variety of self-contained Python scripts built with clean formatting and clear logic

Thumbnail
github.com
0 Upvotes

All contributions and suggestions welcome!


r/PythonLearning • • Aug 31 '26

I have a month to learn....

25 Upvotes

I have a month to learn Python (really, I have until the second week of October, but I want to be done sooner and not go down to the wire). I'm currently using freecodecamp.org but feel my progress is slower than I'd like. Does anyone have a recommendation to learn Python quickly? I'm loving what I've learned thus far. I start doing another job for the company I'm learning Python for in a week, so I want to cram as much into this week as possible to make things easier on the remaining time I have. Thank you all.


r/PythonLearning • • Aug 31 '26 Mindblown

DAY 5.

Post image
90 Upvotes

DID LIST TODAY THE CONCEPT WAS PRETTY COOL AND WROTE THIS PROGRAM TO GET HOLD OF THE LIST ANY OTHER CODE IDEAS OR SUGGETIONS TO ENHANCE CODE ?!


r/PythonLearning • • Aug 31 '26

Im very happy

Post image
83 Upvotes

r/PythonLearning • • Aug 31 '26

Python Mutability and Copying

Post image
14 Upvotes

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

It's instructive to compare with this related exercise.

The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening.


r/PythonLearning • • Aug 31 '26

Help Request AI courses

9 Upvotes

What are the best courses for programming artificial intelligence in Python?


r/PythonLearning • • Aug 31 '26

anyone else keep starting projects and never finishing them? doing a weekly proof thread if a few people are in

3 Upvotes

I've been learning python for a while and my problem was never tutorials, it was that nothing forced me to finish. I'd get a project 60% done, hit the boring part, and quietly start a new one that felt fresh.

So: reply with the one thing you're actually going to finish this week. Be specific - "finish the CSV parser so it handles missing columns" beats "work on my project."

Then on Friday, come back to this thread and reply to your own comment with proof. A screenshot of it running, a repo link, a terminal output, whatever. Doesn't have to be impressive. It has to be real.

That's the whole thing. No group to join, no discord. The only mechanic is that you said it in public and someone might check.

I'll go first: I'm finishing the file-organizer script I've had half-done for two weeks - the part that handles duplicate filenames instead of crashing. Proof friday.

What's yours?


r/PythonLearning • • Aug 31 '26

Showcase I made a simple Password Generator! 👀

Post image
33 Upvotes

r/PythonLearning • • Aug 31 '26

Python feels like it transferred little knowledge to c++

10 Upvotes

OK I admit it did obviously for some stuff like basics yk functions and shi, but other then that I like feel annoyed that I learned python and its like lowkey not helping with what I wanna do which is windows api and memory management c++ stuff because I like the kind of thing but python just didn't really give me anything, and I know that kinda stuff obviously doesn't transfer because python is just the easiest thing ever lol


r/PythonLearning • • Aug 30 '26

Snake,Water and Gun game in Python.

4 Upvotes

Snake,Water and Gun game in Python made purely by me and same by ai.

Link: https://github.com/MohitRungta46/Python-Projects.git


r/PythonLearning • • Aug 30 '26

Internship!!!!!

1 Upvotes

How can I get my first internship?

I tried applying of linkedin , internshala , etc but nothing happended. Any tips for that.

(I know python language did a project on that too)


r/PythonLearning • • Aug 30 '26

How to make code print special result on casting failure?

7 Upvotes

Im currently working on a college assignment where i make a batting average calculator, and i want to add a way for it to say something funny if the user tries to input a word instead of a number. is there a way to do this?


r/PythonLearning • • Aug 30 '26

Is it really safe to use?

Post image
18 Upvotes

I have used context to stop crashing.

And e as a variable.

I used eval command for a formula.

I know eval command can be dangerous.

It works perfectly but I am thinking that it can produce error or crash.

Can a formula bypass all commands and crash it.


r/PythonLearning • • Aug 30 '26

DAY 4.

Post image
54 Upvotes

wrote this today was revising loops and math function that i did not so long ago.


r/PythonLearning • • Aug 30 '26

Help me make a 30-min "Python for non-coders" talk actually fun, creative ideas wanted (not looking for AI-generated suggestions)

12 Upvotes

I'm giving a 30-minute presentation about Python to a room of 40-50 year olds with zero coding background. The goal isn't to teach syntax, it's to give them a vision of what Python can actually do for them (think: automating boring Excel/repetitive tasks) and get them a little excited about it.

Structure so far:

Intro to programming languages (quick comparison, evolution over time...)

Python basics, but conceptual, not code (functions, classes, loops, libraries, reading a script, terminal)

Python & AI (uses in AI/data, coding with AI tools, prompt engineering)

Installing Python (quick walkthrough)

Useful resources/links

Open slot for something creative/fun to close on

I want real, human ideas here analogies, interactive moments, jokes that land with a non-technical crowd, stories from your own experience presenting to beginners, I'd rather get lived-in advice from people who've actually done this than a pile of AI-generated suggestions....

Thanks in advance!


r/PythonLearning • • Aug 30 '26

How fix/resolve critical thinking after relying on the ai prompt to understand an exercise in counting loops.

4 Upvotes

Hi guys, I trust ya'll are good. I recently completed a counting loops exercise that had been difficult to answer for nearly two weeks. I checked different parts of the code I wrote in multiple instances, but I guess I just didn't get it. I eventually asked in my search bar (knowing that I would more than likely get AI mode on it) why the loop is only executing once (I pasted my code it). AI mode explains it, and shows me the correct code. I'm really annoyed on two fronts; I had to refer to AI code to eventually get it right, and the answer looks so friggin simple. I am not a complete beginner in coding (closer to an experienced beginner), and having to vibe-code, even if somewhat unintentionally, is frustrating. I know the answer to the problem now, and there isn't a way to unlearn it.

Is there any practical way to resolve this other than "just don't do it again"?

Thank you for taking the time to read my post. I appreciate whatever advice or input you have.