CLI tool to generate quotes said by Professor Astrachan.
- Must have Python 2 installed
/usr/local/binmust be on the path
/usr/binmust be on the path
- Python 2's executable must be at
Installing on MacOS or Linux:
To install, run the following commands:
git clone https://github.com/vasilescur/ola.git cd ola chmod +x ./install.sh sudo ./install.sh
You may then delete the
ola folder into which you cloned the repo.
Installing on Windows
Clone or download the repository.
ola file to
MacOS or Linux:
To use, simply run:
If you want to use a different quotes source file, pass the path as an argument:
Quote files are formatted as one quote per line.
You can also pipe output to other programs. For example:
ola | cowsay
The quotes file may be configured. It is stored at
At the command line, run
python ola.py from the repo's folder.
Note: Not tested, but this might break the ability to pass custom files as arguments (or might break the whole thing). If this is the case, maybe try find a fix by editing the
sys.argsv section of the code.
But why Python 2?
My Python 3 installation is a bit funky, so I decided to use Python 2 for more easy cross-platform support.
If you'd prefer to use Python 3, here's how:
- In the main program (
- Change the shebang line at the top of the file to point to your Python 3 executable
Pull requests are welcome. Please submit an issue if any bugs are encountered.
Created by Radu Vasilescu.
Many of the quotes are sourced from here: ola Quotes from CS 101
Others are added by me.
MIT license. See