CZ: Chtěl bych se zeptat jak mám správně zadat velikost plátna v tkinteru jako proměnné. Mám to zatím takhle:
velikosts1=input ("Zadejte šířku a výšku plátna."): platno=Canvas (width= "velokosts1" , height= "velikosts1" ) platno.pack() Píše mi to, že jsem špatně zadal velikost okna. Mohli by jste mi poradit? Předem děkuji. EN: I would like to ask how do I correctly specify the size of the canvas in the tkinteru as a variable. I have this so far like this: velikosts1=input ("Enter the width and height of the canvas."): unjust=Canvas (width= "velokosts1" height= "velikosts1" ) unjust.pack() It writes to me, that I entered the wrong size of the window. Could you give me a help? Thanks. _______________________________________________ Python mailing list python@py.cz http://www.py.cz/mailman/listinfo/python Visit: http://www.py.cz