Python to make build script

Ed Leafe ed at leafe.com
Wed May 28 09:27:39 CDT 2003


On Wednesday, May 28, 2003, at 08:33  AM, Ruslan Zasukhin wrote:

> I have look on Python to use it for build scripts of VSDK archives.
> I need delete some files, and copy some files for this.
>
> I wonder that in 'os' module I do not see COPY function.
> Here there are functions to delete file or directory,
> To create directory, but no COPY FILE ???

	Look at the shutil module. This has the functions you are looking for.

      ___/
     /
    __/
   /
  ____/
  Ed Leafe
  http://leafe.com/
  http://opentech.leafe.com



More information about the Valentina mailing list