Terminology: "script" versus "program"
p at ulmcnett.com
Fri Jan 25 07:03:19 CET 2008
Steven D'Aprano wrote:
> Linux/Unix/Mac admins may be excused for saying that they've never come
> across a .BAT file at all.
> $ locate .bat | wc -l
> $ locate .sh | wc -l
$ locate .bat | wc -l
$ locate .sh | wc -l
$ locate .py | wc -l
Hmmm... that matched all the .pyo and .pyc files, too. Not fair.
$ locate -r '\.py$' | wc -l
$ locate -r '\.sh$' | wc -l
$ locate -r '\.bat$' | wc -l
Still a bit unbelievable, although I do have all the branches and tags
checked out of my main projects, and I tend to make lots of little .py
files so most of that 17,425 number is probably me.
More information about the Python-list