-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJVAGepAAoJEC0ft5FqUuEhmu0QAJqevatfAn0Rp+wAhHbJBele
UVvvmNWFRo1FfI9lz3VP3WmJ/9IJ+j4WqdM3BhCsn+qEUMtEVC/B3voasZypq+zE
ORe720P5UTqCaLZGF4BemrSsdPP8WPOoIfVYd5CmaTaBI73akir+5Vfi0gKJMVBs
RdTW3sN8liuk+TWjtaJuJf6hRaUWlF0y+jy7ZZnIyZQjarRKwD+kQAG/WczncQ6Q
Bno4UYyxF5CWzB9uFResDjdmyM960DO7/0jPvNzZDnP1ENxqfhB5uTT7mOh6O/G2
uNfLnXaDIrPUDwCUiufOSe8dVuMi6OASeItQbRRXy0fTCwNVrjTSJQY0nODHwBD4
sMznMc1Def3kaKCKZT8qiy/JRwt6fLxdNNjpTt9KwdrjC3X7+Gys4GqPHvFwYu3c
3lInn8A//jDXBHbEJvI2IfRV8AmJCKZ8DQB0P/9o5feJrURolKmNy/8smYne2204
faP2OFhBb043d515NghqLFvcIUXG5CgY4N/fSeDcpkfPjX4pPMoKa2w2hZljtDNr
UN/l2+vt0F9Vf2oz9gmIDLuCylQtCv3dJNv1TJzUWPtB6Bb1Ko3o8SlGZl5RtIib
Pec5bnrj5kjxEXTowNQNcP5N+kFvqnTUwh9kmixno7fx4Ax23NNXQO1eQTiOR3rp
riqkKNq8WPqAu81OBFzr
=aYGp
-----END PGP SIGNATURE-----
Hi Henry,
On 03/10/2015 07:37 PM, Henry Versemann wrote:
> So how does an expression like you suggested above (
> innerDict['+newinnrkey+'] = newinnrval ) work then?
> It seems like it wouldn't work without enclosing the expression
> with quotes or double-quotes, and even then it seems like it would only
> become some kind of string instead of a statement which would be
> automatically executed to produce a result. Please explain or point me
> to some documentation explaining this type of code or coding.
> Thanks.
I didn't suggest that line of code, Bill did. As Tom said, it was
probably a typo. The line of code I suggested, which is what you should
use, is simply:
innerDict[newinnrkey] = newinnrval
Carl
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/550067A9.6030903%40oddbird.net.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment