pyjokes
One line jokes for programmers (jokes as a service)
One line jokes for programmers (jokes as a service)
Install with pip:
pip install pyjokes
Run pyjoke or pyjokes at the command line to get a random joke:
$ pyjoke
Why did the programmer quit his job? Because he didn't get arrays.
Import the pyjokes module in a Python file and use the get_joke function to easily access a
random joke into your application:
import pyjokes
print(pyjokes.get_joke())
See the API reference for full documentation.
New jokes should be proposed in the proposal issue or via pull request.
The logo was designed by Sam Alder. The PyJokes Society is eternally grateful for his contribution.
The UK's annual Python conference
Europe's longest-running community-driven Python conference
The charitable organisation behind the Python programming language