In article <[EMAIL PROTECTED]>,
 "Fredrik Lundh" <[EMAIL PROTECTED]> wrote:

> (also note that most trivial shell commands are better done in
> python.  most uses of cat, for example, can be trivially emulated
> with one or two lines of python...)

Though the knowledge required to do this may be more trivial
for some of us than others!  "cat" probably doesn't have much
going for it that a naive implementation would miss - some
versions will recreate "holes", but most applications will never
miss this.  You can replace "mv" with os.rename() if you don't
care that it will fail when the destination is on a different
filesystem.  Etc.

   Donn Cave, [EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to