Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: while loop with gui not working
Post: while loop with gui not working

hi, I tried the classes by themselves and they operated fine, but now I want to add a GUI and a while loop to my code with 2 radio buttons. here is my code. from time import sleep from tkinter import...
pythonbegginer GUI 2 2,034 Mar-07-2020, 02:57 PM
    Thread: trying to change variable value with a def
Post: RE: trying to change variable value with a def

hi, I tried the classes by themselves and they operated fine, but now I want to add a GUI and a while loop to my code with 2 radio buttons. here is my code. from time import sleep from tkinter import...
pythonbegginer General Coding Help 11 4,514 Mar-07-2020, 02:54 PM
    Thread: while loop with gui not working
Post: while loop with gui not working

hi, I am trying to make a program continuously print on off if a radio button is selected and if another radio button is selected, I want it to stop. here is my code. from time import sleep from tkin...
pythonbegginer GUI 2 2,034 Mar-07-2020, 02:48 PM
    Thread: trying to change variable value with a def
Post: RE: trying to change variable value with a def

i am a very begginer in python so if you might know somewhere i might might be better bale to understand what a class is and what the def __init__(self, dtime): is that would be helpful.
pythonbegginer General Coding Help 11 4,514 Mar-04-2020, 11:22 PM
    Thread: trying to change variable value with a def
Post: RE: trying to change variable value with a def

but how am i going to be able to change the variable. i tried removing line 13, but when i press either one of the buttons, it gives me another error which is Error:[error]UnboundLocalError: local va...
pythonbegginer General Coding Help 11 4,514 Mar-04-2020, 01:42 AM
    Thread: trying to change variable value with a def
Post: trying to change variable value with a def

Hi, i am a newbie in python and am trying to make a gui to control how fast an LED blinks with a variable named "delay". i am using this code from tkinter import * from tkinter import ttk import RPi....
pythonbegginer General Coding Help 11 4,514 Mar-02-2020, 03:31 AM
    Thread: python works on python 2 but not 3
Post: python works on python 2 but not 3

hi, i am trying to open a blank window with tkinter. I am using this code for python 3 import tkinter root = tkinter.Tk() print ("test") root.mainloop()I run it using python3 tkinter.py this is the ...
pythonbegginer GUI 1 1,379 Jan-12-2020, 07:09 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020