Dadjokes Plus Plus 1.2 | GitLocker.com Product

dadjokes-plus-plus 1.2

Last updated:

0 purchases

dadjokes-plus-plus 1.2 Image
dadjokes-plus-plus 1.2 Images
Add to Cart

Description:

dadjokesplusplus 1.2

Image of dadjokes++ geting used on terminal startup.

























Dadjokes++
Dad jokes on steroid.
Fetch jokes from icanhazdadjoke. Unlike other alternatives, dadjokes++ can download all jokes to your computer for faster and offline retrieval.
Installation
Make sure you have python 3 and pip installed, then execute this in your terminal:
pip install dadjokes-plus-plus

Usage
From terminal
Fetch a random joke online
$ dadjokes
I used to be a banker, but I lost interest.

Download all jokes to jokes.txt
$ dadjokes -d "jokes.txt"

Load a random joke from jokes.txt
$ dadjokes -l "jokes.txt"
A steak pun is a rare medium well done.

Note: if you don't provide -d or -l a path it will automatically be "jokes.txt".
From python
Fetch a random joke online
import dadjokes
print(dadjoke.joke())

Download all jokes to jokes.txt
import dadjokes
print(dadjoke.save_jokes("jokes.txt"))

Load a random joke from jokes.txt
import dadjokes
print(dadjoke.joke("jokes.txt"))

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.