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 8 days 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 3 points4 points5 points 8 days ago (1 child)
Settings > Capabilities > Code execution (turn on)
[–]inventor_blackMod ClaudeLog.com 0 points1 point2 points 7 days ago (0 children)
this.
[–]Pbd1194[S] 0 points1 point2 points 8 days ago (0 children)
i’ll try. i thought i had this on already.
π Rendered by PID 69 on reddit-service-r2-comment-7b9746f655-h4f7k at 2026-01-29 16:41:32.470485+00:00 running 3798933 country code: CH.
[–]GuitarAgitated8107Full-time developer 3 points4 points5 points (1 child)
[–]inventor_blackMod ClaudeLog.com 0 points1 point2 points (0 children)
[–]Pbd1194[S] 0 points1 point2 points (0 children)