G
Gnarlodious
I get a construct like this:
form=FieldStorage(None, None, [MiniFieldStorage('name1', 'Val1'),
MiniFieldStorage('name2', 'Val2'), MiniFieldStorage('name3', 'Val3')])
Now how would I assign every variable name* its value?
lI did try locals().update(form) however I get-> MiniFieldStorage('name2', 'Val2')
when I need to assign the variable name2 the value Val2
This is Py3
-- Gnarlie
form=FieldStorage(None, None, [MiniFieldStorage('name1', 'Val1'),
MiniFieldStorage('name2', 'Val2'), MiniFieldStorage('name3', 'Val3')])
Now how would I assign every variable name* its value?
lI did try locals().update(form) however I get-> MiniFieldStorage('name2', 'Val2')
when I need to assign the variable name2 the value Val2
This is Py3
-- Gnarlie