You can directly run this file in command prompt. If you don't know the prompt here it is:
python -u <path to your project>
Replace <path to your project> with the actual path.
If you want to run cowsay.py then type this in command prompt:
pip install cowsay
python -u <path to your project>
Replace <path to your project> with the actual path.