Newbie: word count and Win32

Nick nick at nick8325.freeserve.co.uk
Tue Mar 19 12:54:51 EST 2002


"Joe Christl" <jchristl at zdnetmail.com> wrote in message
news:e9cd3ea2.0203190421.904cdfb at posting.google.com...
> 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

What happens if you type python c:\count.py foo.txt?






More information about the Python-list mailing list