loial schrieb:
> OK, I have it working with dictionaries.
>
> However I have another scenerio :
>
> I am reading a file containing records like the following :
>
>
>
>
> ..
> ..
>
>
> I need to substitute MYVARIABLE with the current value of MYVARIABLE
> in my python script and write the fi
On May 1, 6:43 am, loial <[EMAIL PROTECTED]> wrote:
> OK, I have it working with dictionaries.
>
> However I have another scenerio :
>
> I am reading a file containing records like the following :
>
>
>
>
> ..
> ..
>
> I need to substitute MYVARIABLE with the current value of MYVARIABLE
> in my
OK, I have it working with dictionaries.
However I have another scenerio :
I am reading a file containing records like the following :
..
..
I need to substitute MYVARIABLE with the current value of MYVARIABLE
in my python script and write the file out again.
The file may contain many more
Cameron Laird wrote:
> In article <[EMAIL PROTECTED]>,
> Laurent Pointal <[EMAIL PROTECTED]> wrote:
>>loial a �crit :
>>> I need to store a list of variable names in a dictionary or list. I
>>> then later need to retrieve the names of the variables and get the
>>> values from the named variables.
In article <[EMAIL PROTECTED]>,
Laurent Pointal <[EMAIL PROTECTED]> wrote:
>loial a écrit :
>> I need to store a list of variable names in a dictionary or list. I
>> then later need to retrieve the names of the variables and get the
>> values from the named variables. The named variables will alre
loial a écrit :
> I need to store a list of variable names in a dictionary or list. I
> then later need to retrieve the names of the variables and get the
> values from the named variables. The named variables will already have
> been created and given a value.
"Named variables will already have b
loial wrote:
> I need to store a list of variable names in a dictionary or list. I
> then later need to retrieve the names of the variables and get the
> values from the named variables. The named variables will already have
> been created and given a value.
>
> I hope thats clear!!!
>
> How can