Skip to content

The famous cowsay ๐Ÿฎ for GNU/Linux is now available for python ๐Ÿ

Notifications You must be signed in to change notification settings

telebotter/cowsay-python

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Cowsay

PyPI download month PyPI download year PyPI download week

A python API/console script for the famous cowsay-linux.

cowsay for GNU/Linux was initially written in perl by Tony Monroe ([email protected]), with suggestions from Shannon Appel ([email protected]) and contributions from Anthony Polito ([email protected]).

For python by Vaasu Devan S <[email protected]>

Github Url https://www.github.com/VaasuDevanS

Installation

>>> python -m pip install cowsay
>>> python3 -m pip install cowsay

Importing the Package

>>> import cowsay

Basic Information

Original Author ---> Tony Monroe ([email protected]) # Thanks to him... !

For Python ---> Vaasudevan S

Email ---> [email protected]

__version__ ---> 2.0.3

Contributor ---> Chad Smith (https://github.com/cs01)

Available Characters for python are:

['beavis', 'cheese', 'daemon', 'cow', 'dragon', 'ghostbusters', 'kitty', 'meow', 'milk', 'stegosaurus', 'stimpy', 'turkey', 'turtle', 'tux']

syntax:-

>>> import cowsay
>>> cowsay.<character-name>(text-message)

(or)

>>> from cowsay import *
>>> <character-name>(text-message)

Example:-

>>> import cowsay
>>> cowsay.tux("Python is fun")

This will bring the tux character and will say the message passed as arguments.

cowsay.chars contains all the function names.

cowsay.char_names contains all the character names as strings.

cowsay.about() will display the basic info on how to use this module.

About

The famous cowsay ๐Ÿฎ for GNU/Linux is now available for python ๐Ÿ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • Makefile 1.1%