Question:Programming a game grid ...
Chris Angelico
rosuav at gmail.com
Wed Jun 27 19:37:10 EDT 2012
More information about the Python-list mailing list
Wed Jun 27 19:37:10 EDT 2012
- Previous message (by thread): Question:Programming a game grid ...
- Next message (by thread): Question:Programming a game grid ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Jun 28, 2012 at 9:35 AM, Chris Angelico <rosuav at gmail.com> wrote: > On Thu, Jun 28, 2012 at 9:24 AM, David <dwblas at gmail.com> wrote: >> First, you should be getting an error on >> vars()[var] = Button(f3, text = "00", bg = "white") >> as vars() has not been declared and it does not appear to be valid Python syntax. > > It's valid syntax, but highly inadvisable. Clarification: There's nothing inadvisable about the syntax, just about writing to vars(). Dereferencing a function's return value is perfectly alright. ChrisA
- Previous message (by thread): Question:Programming a game grid ...
- Next message (by thread): Question:Programming a game grid ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list