programmatically define a new variable on the fly

Dustan DustanGroups at gmail.com
Thu Aug 9 18:33:52 EDT 2007


On Aug 9, 5:30 pm, Dustan <DustanGro... at gmail.com> wrote:
> given the
> variables data (the dictionary), name (in your example, 'g') and
> *size* (in your example, 99), you can add it  data as shown:

erm... make that:

given the variables data (the dictionary), name (in your example, 'g')
and size (in your example, 99), you can add it to data as shown:




More information about the Python-list mailing list