Newbie: word count and Win32

Joe Christl jchristl at zdnetmail.com
Tue Mar 19 07:21:10 EST 2002


newbie here (don't you just cringe when you read that? :),

I downloaded the python EXE from
http://www.python.org/ftp/python/2.2/, found a script on the
mail.python.org Tutor page:
http://mail.python.org/pipermail/tutor/2001-February/003403.html

but I can't seem to get it to run.  I would like it to run from the
C:\ command prompt, like so:

c:\count.py foo.txt   (or)
c:\count.pyc foo.txt

and have it output the lines, words, and characters.  I have tried to
even get it working from the >>> prompt, to no avail.

Am I doing something wrong here?

Thanks for your ideas,
Joe



More information about the Python-list mailing list