two questions

Chris... sca at isogmbh.de
Fri Apr 9 04:47:11 EDT 1999


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...




More information about the Python-list mailing list