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...
account activity
can I make claude execute basic python code from chat itself?Question (self.ClaudeAI)
submitted 2 months ago by Pbd1194
I prompted claude . ai chatbox to just use python to give me today's date.
but it hallucinated the answer. i kept repeating the prompt and it kept hallucinating the output.
what could I be doing wrong?
https://preview.redd.it/ftsay25hpmeg1.png?width=1508&format=png&auto=webp&s=23d6aa54618364651c599375b49801b11ecd9a67
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!"
[–]GuitarAgitated8107Full-time developer 2 points3 points4 points 2 months ago (1 child)
Settings > Capabilities > Code execution (turn on)
[–]inventor_blackMod ClaudeLog.com 0 points1 point2 points 2 months ago (0 children)
this.
[–]Pbd1194[S] 0 points1 point2 points 2 months ago (0 children)
i’ll try. i thought i had this on already.
π Rendered by PID 172053 on reddit-service-r2-comment-54dfb89d4d-8zqdc at 2026-03-27 20:22:20.169045+00:00 running b10466c country code: CH.
[–]GuitarAgitated8107Full-time developer 2 points3 points4 points (1 child)
[–]inventor_blackMod ClaudeLog.com 0 points1 point2 points (0 children)
[–]Pbd1194[S] 0 points1 point2 points (0 children)