En Sun, 22 Mar 2009 11:05:22 -0300, MRAB <goo...@mrabarnett.plus.com> escribió:
Esmail wrote:
Nick Craig-Wood wrote:
Esmail <ebo...@hotmail.com> wrote:
 I am wondering if anyone is using python to write script files?

 Two quick questions:
 As a replacement for grep I would use the re module and its methods?

Perhaps; but strings have methods too (`"abc" in line` is easier to read, and faster, than the corresponding r.e.)

The other things I need to do consist of moving files, manipulating file
names and piping outputs of one command to the next, so I'm digging into
the documentation as much as I can.

The 'os' and 'shutil' modules.

And for executing external commands with piping, I'd add the subprocess module.

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to