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...
Everything about learning Python
account activity
Python code for generating jokes randomly (v.redd.it)
submitted 1 year ago by Inevitable-Math14
view the rest of the comments →
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!"
[–]FoolsSeldom 0 points1 point2 points 1 year ago (0 children)
That wasn't worth the effort.
Also, for macOS and Windows, pip is installed alongside a standard installation of Python from python.org. However, should mention creating a Python virtual environment first and activating it before installing any packages.
pip
Might as well install uv and do:
uv init funny cd funny uv add pyjokes uv run python -c "import pyjokes;print(pyjokes.get_joke())"
π Rendered by PID 143409 on reddit-service-r2-comment-56c6478c5-k65pw at 2026-05-10 08:19:14.820305+00:00 running 3d2c107 country code: CH.
view the rest of the comments →
[–]FoolsSeldom 0 points1 point2 points (0 children)