[Zope] Copy file in filesystem
Gitte Wange
gitte@mmmanager.org
Thu, 26 Jul 2001 16:22:54 +0200
Hello out there ..
I know this is a python question (please forgive me) but I couldn't find an
answer in the python docs.
The problem is very simple - I need to make a copy of a file in the
filesystem in a pythhon module.
I have tried with this:
import copy
<a lot of code>
copy(file_reposit, new_fnreposit)
</a lot of code>
I get this error:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: TypeError
Error Value: call of non-function (type module)
If I don't use the import copy Zope just returns an error saying that copy
isn't defined.
How do I then make a copy of a file ???
Regards,
--
Gitte Wange Jensen
Sys Admin, Developer and a lot more
MMmanager.org Aps, Denmark
Phone: +45 29 72 79 72
Email: gitte@mmmanager.org
Web: www.mmmanager.org
Quote of the day:
In the beginning, there was Fortran.
- James Gray