H
holmes86
hi,everyone
Is there function of modify row content in python? just like 'sed' in
shell,thanks
Is there function of modify row content in python? just like 'sed' in
shell,thanks
Is there function of modify row content in python? just like 'sed' in
shell,thanks
* 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 writes to STDOUT. Some versions of sed
provide the -i option to
edit files in place (makes backup if extension supplied)
You could program a similar behaviour in Python using the re module.
hi,everyone
Is there function of modify row content in python? just like 'sed' in
shell,thanks
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.