Example package that tells a joke
Project description
- Contact:
- baxiabhijit@gmail.com
- Organization:
- Baxi Developers
- Date:
- 2016-03-07
- Status:
- This is a “work in progress”
- Revision:
- 7302
- Version:
- 1.0.2
- Copyright:
- This document has been placed in the public domain. You may do with it as you wish. You may copy, modify, redistribute, reattribute, sell, buy, rent, lease, destroy, or improve it, quote it at length, excerpt, incorporate, collate, fold, staple, or mutilate it, or do anything else to it that your or anyone else’s heart desires.
- About:
This is a simple project which tells a joke.
Dedication
Thank you stack overflow for showing me how to use this. Link: http://stackoverflow.com/questions/4155914/how-to-create-a-python-2-x-package-simple-case Original Author: Marius Gedminas
Abstract
This document is a demonstration of FunnyBone Project.
Installation
pip install FunnyBonesProject
- To Upgrade
pip install --upgrade FunnyBonesProject
Usage
In your python shell, type this:
>>> from Jokes import * >>> >>> funnyJoke = get_a_joke() >>> print funnyJoke
Brian’s stress level was at unsurpassed levels. His wife Maggie was in labor and Brian was sure it was time to head to the hospital. Breathing heavily, Brian grabbed the phone and called the doctor. “MY WIFE, SHE’S READY, SHOULD WE COME?” The doctor tried to relax the poor fellow, “just try to relax, now tell me how much time elapses between the contractions?” “SHIRLEY!” Brian screamed on the top of his lungs, “HOW MUCH TIME IN BETWEEN THE CONTRACTIONS? TEN MINUTES? OK, TEN MINUTES IN BETWEEN!” “And is this her first child?” Questioned the doctor. “NO YOU STUPID NITWIT, THIS IS HER HUSBAND!”
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.