jeffbuttars / cowpy Goto Github PK
View Code? Open in Web Editor NEWCowsay, in Python, makes pies by default, one file, easily embedded into your app.
License: Apache License 2.0
Cowsay, in Python, makes pies by default, one file, easily embedded into your app.
License: Apache License 2.0
On Python 2.6 (I know ๐), str.format
needs every {}
to contain an index or key-name.
> cowpy "Help, I'm stuck with Python 2.6"
Traceback (most recent call last):
File "/.../.local/bin/cowpy", line 5, in <module>
cow.main()
File "/.../.local/lib/python2.6/site-packages/cowpy/cow.py", line 1183, in main
).milk(msg)
File "/.../.local/lib/python2.6/site-packages/cowpy/cow.py", line 127, in milk
return "Unable to print the message :(\n{}".format(e)
ValueError: zero length field name in format
I installed this package on my Windows successfully, but when I execute cowpy hi
, it shown me the command not found.
Would you mind uploading the license markdown file to PyPi?
Thanks!
If I run pip install cowpy, it will show some problems with the metadata of version 1.1.2 and version 1.1.1will be actually installed.
In this way, cowpy works well in python scripts, but will not work in cli. I have tried mannually install again with the setup.py in /tmp. In cli mode, it complains about metadata again.
I have to reinstall with pip install cowpy==1.1.1 and now everything is fine.
@jeffbuttars you have two different licenses for this project. Which one do you want to use? This is related to the issue created earlier today, as we need to know which one you want in order to go ahead with the usage.
Just out of curiosity, what license is this? I'm looking to package in Fedora and possibly Centos. It would need to be an FSF approved license.
isatty() doesn't work as expected on Windows causing cowpy to always listen on stdin, thus breaking using a msg as a positional argument.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.