This time I made a funny thing !
I have posted two other versions, java and c++ version.
Java Version
http://forum.codecal...035-cowsay.html
C++ Version
http://forum.codecal...-c-version.html
Python Version
import sys if sys.argv[1] != "cowsay": print "Usage:\n 'cowsay string'" sys.exit(0) cowsay = sys.argv[2] lne0 = 2+len(cowsay) line0 = " " line0 = line0+"_"*lne0 lne = 2+len(cowsay) line = "-"*lne cowtxt= line0+"\n\ < "+cowsay+" > \n\ "+line+" \n\ \ ^__^ \n\ \ (oo)\_______ \n\ (__)\ )\/\ \n\ ||----w | \n\ || ||\ " print cowtxtHope you guys like it and +rep me for creativity :P
Also the Java and C++ versions are NOT mine, so thank the rightful owners for them :)


Sign In
Create Account



Back to top










