All Questions
Tagged with python-2.7 user-interface
363
questions
0
votes
0
answers
8
views
Trouble accessing a driver from two separate command prompts - "An application is already using the driver"
I recently upgraded a computer from Windows XP to Windows 11, and I am having trouble running old programs from the command line. After figuring out compatibility with python (32 bit 2.7.11), windows (...
0
votes
2
answers
70
views
Show Error message when Entry field is empty?
I am working with Tkinter for GUI creation.
I created an Entry field to get some data. Here is the code for that,
self.entry_var = StringVar()
self.id_label = tk.Label(self.window,
...
0
votes
0
answers
38
views
How to update the data of Button after some time in Tkinter?
I am Creating GUI to show the Temperature and Humidity from the server using Tkinter. This GUI is developed to show temperature and humidity of multiple devices.
This is the button that I created to ...
0
votes
0
answers
16
views
Tkinter: get label from init from another method (Python 2.7) [AttributeError] [duplicate]
I'm trying to get the elements located in the init of my class from another method in order to update a label. Here is an example code:
class mainApp:
def __init__(self, master):
my_frame =...
0
votes
1
answer
47
views
How to add translate feature to my MayaPython cube generator UI
I'm trying to make a cube layout tool to name and add polyprimatives to my scene, then reference in assets later. I have been able to make a basic UI based on some tutorials I've watched, but I can't ...
-1
votes
1
answer
128
views
Project for programming class. I keep receiving the same error [duplicate]
I am new to python and I am trying to create an application in Gui Python. The goal is to create a sign up/ register page. Then, four possibilities should open to the user
Claculator
File write
BMI ...
0
votes
1
answer
71
views
File py called function of another py file with Tkinter window: problem in changing icons and displaying error messages
I'm having trouble linking B.py script functions in the MAIN.py graphics window. This is a test of Tkinter's graphics window to check if the scraping (for the purpose of my personal and didactic study)...
-1
votes
2
answers
473
views
Open Tkinter graphic form of another py file (no file, only graphic form)
I have a main file, with a Tkinter graphic form (the classic window), called for example A.py and main=Tk(). Also how can I recall the B.py file if it is in a subfolder of the main project?
By ...
2
votes
1
answer
175
views
Where can I find WidgetRedirector in with Python3?
I was using a tkform(https://github.com/boscoh/tkform) with Python2 and it was working perfectly.
After switching to Python3, Im unable to run it, specifically the part:
from idlelib.WidgetRedirector ...
0
votes
0
answers
11
views
Gtk2 gui looks different after compiling with py2exe to make a exe file [duplicate]
This is how it look when is run the scripts directly
the script is an example form https://zetcode.com/gui/pygtk/layout/
directly
py2exe run fine and make the exe file but it looks like this
Kinldy if ...
0
votes
1
answer
74
views
How to access entries beyond the window size in Tkinter
I am creating a form with 40 labels and entries. The problem is that I can enter till 20 after that the window size reaches the maximum and I cannot see entries below it. How do I integrate a ...
2
votes
0
answers
121
views
Tkinter GUI occasionally opens halfway but a modifier key press keeps it going?
I'm developing a couple of GUIs (28 and 267 kB so far) with Tkinter and Python2.7 on Ubuntu 18.04, and when pulling them onto machines other than my own, they sometimes (50% of the time) soft-fail on ...
1
vote
2
answers
292
views
wxPython, Runtime and Assertion Error when closing mainframe
I have a GUI running some threads, up to now there are only four. 2 of them are running read routing, from the instrument to finishing uploading to SQL. The other two of them are monitoring the data ...
0
votes
1
answer
42
views
I want the values entered in the gui to change the values in the script of code that the gui runs
I have this code and I want the values I enter in the gui, them being "number of loops", "initial value" and "barrier" to change the equivalent values with those names in brcus.py and brceu.py. Also I ...
0
votes
1
answer
2k
views
NameError: global name is not defined when calling function from another python file
I am trying to call a function that exists in another python file and pass it user input from the current python file that is running. I keep getting the
error:
"NameError: global name 'main1' is ...