Skip to main content

The famous cowsay for GNU/Linux is now available for python

Project description


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

cowsay for GNU/Linux was initially written in perl by Tony Monroe (, with suggestions from Shannon Appel (appel@CSUA.Berkeley.EDU) and contributions from Anthony Polito (aspolito@CSUA.Berkeley.EDU).

For python by Vaasu Devan S <>

Github Url


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

Importing the Package

>>> import cowsay

Basic Information

Original Author—> Tony Monroe ( # Thanks to him… !

For Python —> Vaasu Devan S

Email —>

__version__ —> 1.0

Available Characters for python are:

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


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


>>> 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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cowsay, version 2.0.3
Filename, size File type Python version Upload date Hashes
Filename, size cowsay-2.0.3-py2.py3-none-any.whl (6.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size cowsay-2.0.3.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page