[Zope] Creating files on server

Gitte Wange gitte@mmmanager.org
24 Apr 2001 14:08:22 +0200


On 24 Apr 2001 07:56:56 -0400, ghaley@mail.venaca.com wrote:
>       hi gitte,
> 
>       you can write a python script, save it in the extensions
> directory, then create an external method with the name of the python
> program.  the program will take the input and write it out.  if you want
> files to write to different places on disk you can pass variables to the
> script to have it parse the file.  the from your dtml method, you will
> make the call to the external method and pass the values that the program
> will need.
> 
>       ciao!
>       greg.
> 
>       Gregory Haley
>       DBA/Web Programmer
>       Venaca, LLC.
> 

Sorry I don't get this ...

If I put the code into a file and name ie.g. myscript.py and then create
an external method in my folder and in a dtml-call calls the external
method this will call the script in the extension folder ?
Okay .. but can you then help me with putting the output file the right
place ?