[Chennaipy] Implementation of head using docopt

Vijay Kumar vijaykumar at bravegnu.org
Sat Nov 8 07:51:34 CET 2014


On Saturday 08 November 2014 11:35 AM, harsha sunder wrote:
> hi, 
> not able to figure out how this works. Im trying the following command and its only printing out the header message. shouldnt it print out the first few bytes of the text document?
> 
> head.py -c 43 C:\Python27\docopt.txt 

I am not sure what you mean by header message. Is it printing the
usage? Can you paste the output of the command and the contents of
docopt.txt. Also indicate the exact command line, used to run the
program.

Regards,
Vijay



More information about the Chennaipy mailing list