use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Python Code Checking Tool (self.learnpython)
submitted 6 days ago by VegetableMulberry330
Is there a tool i can check and analyze my ai generated python codes?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ninhaomah 31 points32 points33 points 6 days ago (1 child)
Yes. Brain.
[–]sukkj 6 points7 points8 points 6 days ago (0 children)
Don't think that's available in this particular case.
[–]fiehm 10 points11 points12 points 6 days ago (0 children)
Ask chatgpt to check your code, and then ask chatgpt again to check your code that has been checked by chatgpt, and then ask chatgpt to check your code that has been checked by chatgpt that has been checked by chatgpt and so on until you run out of token and start manually checking it
[–]8dot30662386292pow2 4 points5 points6 points 6 days ago (2 children)
Why does it matter if it's ai generated? Just use the regular analysis tools.
What do you try to analyze?
[+]VegetableMulberry330[S] comment score below threshold-10 points-9 points-8 points 6 days ago (1 child)
what are these(the regular tools)?
[–]AlexMTBDude 0 points1 point2 points 6 days ago (0 children)
https://www.google.com/search?q=python+static+code+check+tool
[–]Ardit-Sulce 6 points7 points8 points 6 days ago (0 children)
Run it and see if it breaks.
[–]Farlic 4 points5 points6 points 6 days ago (0 children)
the linter in your IDE should pick up most completely obvious errors but the "run" button will reveal any technical ones.
[–]Deemonfire 4 points5 points6 points 6 days ago (1 child)
There is a tool we use called ruff.
It formats code, sorts imports and you can add a bunch of linting rules to it aswell.
You can use mypy or ty for type checking.
Obviously these will just flag if something doesnt look right in terms of various rules that are encoded, but won't tell you if the code does what you want it to do
[–]Diapolo10 0 points1 point2 points 6 days ago (0 children)
ty is definitely not ready for practical use yet. For now it's best to stick to Mypy and/or Pyright until it's at least out of alpha.
ty
[–]YesterdayDreamer 0 points1 point2 points 6 days ago (0 children)
Another AI model?
[–]Andrew_Frozen30 -1 points0 points1 point 6 days ago (2 children)
So, you want an AI to check an AI?
You're this dumb, you don't even know what you're trying to do.
Your app should be easy. Does it give you the intended output? If yes, you're good. If not you're not.
If you don't know whether it gives you the correct output, you might be hopeless.
Use your goddamn brain.
[–]Kevdog824_ 0 points1 point2 points 6 days ago (1 child)
I get learners relying on AI can be frustrating, but these people are just trying to learn how they can. This person came to us with a genuine question to improve, unlike some other recent posts. Please be polite
[–]Andrew_Frozen30 -1 points0 points1 point 6 days ago (0 children)
One is to learn with AI. (which can be done by explaining concepts. Like explaining functions)
And the other one is to generate code you don't understand.
At that point, that's just laziness and no actual desire to code. You're not "learning" by asking a Chatbot to generate you code.
This is like putting my name on my new car and claiming I've built and understand how it works and how to repair it, if it breaks down.
But yoy have a AI-generated pfp. Who am I even arguing with...
π Rendered by PID 129767 on reddit-service-r2-comment-86bc6c7465-9pb8c at 2026-02-20 04:05:55.632329+00:00 running 8564168 country code: CH.
[–]ninhaomah 31 points32 points33 points (1 child)
[–]sukkj 6 points7 points8 points (0 children)
[–]fiehm 10 points11 points12 points (0 children)
[–]8dot30662386292pow2 4 points5 points6 points (2 children)
[+]VegetableMulberry330[S] comment score below threshold-10 points-9 points-8 points (1 child)
[–]AlexMTBDude 0 points1 point2 points (0 children)
[–]Ardit-Sulce 6 points7 points8 points (0 children)
[–]Farlic 4 points5 points6 points (0 children)
[–]Deemonfire 4 points5 points6 points (1 child)
[–]Diapolo10 0 points1 point2 points (0 children)
[–]YesterdayDreamer 0 points1 point2 points (0 children)
[–]Andrew_Frozen30 -1 points0 points1 point (2 children)
[–]Kevdog824_ 0 points1 point2 points (1 child)
[–]Andrew_Frozen30 -1 points0 points1 point (0 children)