reading specific lines of a file

Fredrik Lundh fredrik at pythonware.com
Sun Jul 16 03:16:19 EDT 2006


Bill Pursell wrote:

> Some might argue that this is not really doing
> it in Python.  In fact, I would argue that!  But if
> you're at a command prompt and you want to
> see line 7358, it's much easier to type
> % sed -n 7358p
> than it is to write the python one-liner.

'sed' is not recognized as an internal or external command,
operable program or batch file.

</F>




More information about the Python-list mailing list