numbering variables
remi
remi at non.com
Mon Mar 28 08:55:03 EST 2005
Fredrik Lundh a écrit :
> "remi" <remi at non.com> wrote:
>
>>I want to store each item of mylist in a variable (and after "xmlize" it little by little).
>
>
> why not just process the items in the list?
That's right.
>
> for item in mylist:
> print tex2xml(item)
where tex2xml() is the main converting function i guess.
So i should change "print tex2xml(item)" to a kind of
"output.write(tex2xml(item))".
Ok, i try this too but i think it will lead to a "line by line"
processing of the file... I try.
Thanks.
Rémi.
>
> </F>
>
>
>
More information about the Python-list
mailing list