Skip to content
Advertisement

Tag: tkinter

Functions executing out of order?

I have a problem currently that makes no sense to me whatsoever. I am making a program that runs a script on a website using the selenium web driver. This is paired with a GUI I made with Tkinter. In short, I have a “Launch” button in the gui that is set to trigger this function: “script” is an external

Python Tkinter –AttributeError

Cannot seem to figure out the below Tkinter message. Usually doing a quick search will provide answers but this time I seem to miffed the search engines as to what might be causing the below error. Curious to know if I am missing a Python package or line 25 below is used in an older version of Python and it

How to save a tkinter canvas as an image

I would like to save my drawing on a tkinter canvas as an image so I can open it for later use. I currently use this save system from this post however this is not a good way for me. First I would need to add an offset and second if i set the application so only some part of

Writing a function that draws a cube. I can’t manage to make a full cube, just the y axis cube (more info in text)

as the title says, I want to make a program for school that draws rubiks cube. Essentially, user enters size of cube (3×3, 4×4, …) and the program reads the first number of the entered size. So if user writes 3×3, program will read the number ‘3’ at the beginning. From there, the program will run y = canvas.create_polygon(100,cube_y,200,cube_y,200,cube_y2,100,cube_y2, fill

Advertisement