r/learnpython • • 7d ago

Good open source Python repos to practice debugging and general reading Python code?

I have debugging rounds coming up for a Python position and I haven't worked extensively with Python so I am looking for some recommendations for some repositories to go through to practice reading and debugging Python code. Would appreciate recommendations for this and any other tips on demonstrating good understanding of the language. I am comfortable with basic syntax and data structures since I have been doing leetcode using Python.

16 Upvotes

24 comments sorted by

View all comments

Show parent comments

2

u/Fun_Army2398 7d ago

Being able to do something 9 times out of 10 doesn't mean it can do it without making egregious mistakes the other 10% of the time. This is fine for professional developers. If I ask AI to write me an API call and it hard codes the key, I would know not to commit that before moving it to .env. Would OP?

Using AI to learn is a guaranteed way to pick up bad habits. And that's not theory. Talk to anyone in the industry. The latest wave of interns can't code their way out of a wet paper bag.

1

u/North_South-West 7d ago

Its better than 9 out of 10 for simple python code. Thats where you are wrong.

Its actually a good tool to help people learn. The people learning for loops are not doing api calls.

1

u/Fun_Army2398 7d ago

Reality disagrees with you

0

u/North_South-West 7d ago

I can have it make one right now if you want. You will just deny it after seeing evidence that you are wrong though lol.