Ooooops. My keyboard (fingers) was faster than my mind :(
So....
There is more than one "run-time changed variable" in the dictionary
and not all strings in the dictionary are formatted using % operator.
Example:
lcd={
2:{2:(("Enter you choice"),("Your kredit= %3d" % (kredit)))},
4:{2:(("Your choice: %2s" % (keyboard)),("%-20s" % (actKeyboard)))}}

I do not know which variable(s) to use for the % operator in the time
of the call of the value (% formatted string) from the dictionary.

This is also the reason why the variable names are stored in the
dictionary with the strings.

Any other suggestions?
Thanks
Petr Jakes

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to