Ezio Melotti added the comment:

You should propose this to the python-ideas mailing list, but from your 
description is not clear to me what you want.
Can you try to explain it more in detail?
Are you asking for a new function that accepts the name of a variable as a 
string and prints its value?  Or for a function that creates dynamically a new 
"variable name"?

If you want to dynamically create variable names, it's better to just use a 
dictionary instead, e.g.:
d = {}
for count in range(1, 9):
    name = 'a' + str(count)
    d[name] = 'black queen'

----------
nosy: +ezio.melotti
status: open -> pending
versions: +Python 3.5 -Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20099>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to