Aucune description

zortazert 8d8fb8ef25 missing line. il y a 2 ans
.gitignore 9b7dac75d0 Only really needed *.pyc in the .gitignore. Could add back in future il y a 2 ans
LICENSE 5f2b5c9464 Initial commit il y a 2 ans
Makefile e5a2653329 macOS build support il y a 2 ans
README.md e5a2653329 macOS build support il y a 2 ans
fortunes.txt f91297328b add pokemon quotes and fix help il y a 2 ans
snakesay.py 8d8fb8ef25 missing line. il y a 2 ans

README.md

Snakesay

Snakesay is a less feature rewrite of cowsay in python.

 ------------------------------
| The more wonderful the       |
| meeting, the sadder the      |
| parting. - Looker            |
 ------------------------------

         \        ___
          \   \__| o \
              /   \  |
                   | |     o
                 __| |__  //
                |_______|//
                \_______//

Install

Linux/macOS

git clone https://codeberg.org/zortazert/snakesay
cd snakesay
make
make install

Windows

In some directory download the fortunes.txt and snakesay.py for windows script. Then search on the internet how to make the directory you installed them in your path.

curl -o snakesay.py https://codeberg.org/zortazert/Python-Projects/raw/branch/main/snakesay/snakesay.py 
curl -o fortunes.txt https://codeberg.org/zortazert/Python-Projects/raw/branch/main/snakesay/fortunes.txt 

Help

python snakesay.py QUERY - make a snake say something

python snakesay.py -fortune - make a snake say a random fortune. Requires requests installed.

python snakesay.py -r QUERY- randomly selected a tux, cow or snake will say something

python snakesay.py -t QUERY - a tux will say something

python snakesay.py -s QUERY - a snake will say something

python snakesay.py -c QUERY - a cow will say something