I wrote the following code that works in Python 2.7 that takes the variables
passed to the function into a dictionary. The following call:
strA = 'a'
intA = 1
dctA = makeDict(strA, intA)
produces the following dictionary:
{'strA':'a', 'intA':1}
To access the names passed int
I accidentally posted a question to here. I am returning to Python after a
couple years away and I am trying to brush up my skills and make the switch to
Python 3.x.
---Andrew
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.or