New submission from Liam Marsh:
idea:
var():
input var name (str),
outputs var value
useful for(example in a chess program):
count=1
while count=8:
...var('a', count)='black queen'
...count=count+1
--
messages: 207118
nosy: Liam.Marsh
priority: normal
severity: normal
status:
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
Liam Marsh added the comment:
first, it was for the second idea, which can be replaced,
but maybe sameone needs it,
when you reed theese lines, this idea is sent.
meen while,
have a happy new year.
--
status: pending - open
___
Python tracker
Antoine Pitrou added the comment:
This isn't a bug, please use
https://mail.python.org/mailman/listinfo/python-ideas if you want to propose
ideas.
--
nosy: +pitrou
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python