On 27 Oct, 07:55, holmes86 wrote:
> hi,everyone
>
> Is there function of modify row content in python? just like 'sed' in
> shell,thanks
You would do something like this, which acepts a CSV file from stdin
and sends the first column to stdout (prints it), which you could
redirect to a file or pip
En Tue, 27 Oct 2009 05:50:47 -0300, Lutz Horn
escribió:
* holmes86 [Tue, 27 Oct 2009 00:55:36 -0700]:
Is there function of modify row content in python? just like 'sed' in
shell,thanks
Sed doesn't actually modify the contents of a file. In normal operation
mode it reads from STDIN and writ
hi,everyone
Is there function of modify row content in python? just like 'sed' in
shell,thanks
--
http://mail.python.org/mailman/listinfo/python-list