Another question for you - files name

From: Steve_Vai (gio_at_localhost.localdomain)
Date: 02/22/05


Date: Tue, 22 Feb 2005 19:31:23 +0100

I would like to create files whose name is related to one on more
input-output data of my programs.
The problem is that I don't know how to give a "dynamic name" to files,
neither if it's possible or not to be honest at all :-)

At the moment, I create files in this way:

open (34, file='chosen.kumac')

were "chosen.kumac" it's not dynamic at all - I mean, it's not a function
of the input-output of the program.
My problem, basically, is that the number of files I have to create depends
on input-output data: so a priori, in my program, I can't write these
instruction (while I can write IN files dynamic stuff - I still thank you
for your help).
I could manage this problem with some "if - then - goto" statements, but
that wouldn't be a serious solution.
Ciao!