wasm-demo/demo/ermis-f/python_m/cur/0617

29 lines
636 B
Plaintext

From: sca at isogmbh.de (Chris...)
Date: Fri, 09 Apr 1999 08:47:11 GMT
Subject: two questions
Message-ID: <370dbbe7.71248459@scout>
X-UID: 617
Hello...
Since I am new to python (ver 1.5 under NT), these may be silly,
anyhow:
1) How can I copy files with python? At first I planned to run the
DOS-command "copy" from python, but couldn't find the right function.
Second, I thought, there might be a python command to do it. Until
now, I didn't succeed.
2) Is there an way to mimic Perls
perl -p -e s/pattern1/pattern2/
command line?
Thanks a lot in advance
bye
Chris...