Category : tkinter

I’ve written a tkinter app in python 3.7, which extracts from main csv, pre-filtered by user, information into smaller reports. Issue is while writing filtered data from main csv into report I get occasional PermissionError. Exception in Tkinter callback Traceback (most recent call last): File "C:UsersmdiakulyAppDataRoamingPythonPython37libtkinter_init_.py", line 1705, in call return self.func(*args) File "D:/PycharmProjects/report_extractor_hil_sil/report_extractor.py", line ..

Read more

I’ve written a tkinter app in python 3.7, which extracts from main csv, pre-filtered by user, information into smaller reports. Issue is while writing filtered data from main csv into report I get occasional PermissionError. Exception in Tkinter callback Traceback (most recent call last): File "C:UsersmdiakulyAppDataRoamingPythonPython37libtkinter_init_.py", line 1705, in call return self.func(*args) File "D:/PycharmProjects/report_extractor_hil_sil/report_extractor.py", line ..

Read more

Does tkinter just handle known protocols? If so, it seems useless to me. If not I’m not sure why this code dosent works for me under microsoft. import tkinter as tk def lol(): print(‘hi’) root = tk.Tk() menu = tk.Menu(root) root.config(menu=menu) filemenu = tk.Menu(menu) menu.add_cascade(label="File", menu=filemenu) filemenu.add_command(label="New") root.wm_protocol(‘WM_HELP’,lol) root.mainloop() As I understand this a message ..

Read more

I want to embed an application to my Tkinter windows: Here is my file tree: Here is my code: from tkinter import * import os window=Tk() window.geometry(‘1000×700’) app_1= open(‘./Applications/App_1.lnk’) app_1_img= open(‘./Images/App_Icons/App_1.png’) L1=Label(window, text=os.system(app_1)) L2=Label(window, img=app_1_img) L1.pack() L2.pack() window.mainloop() Here is what I get: Traceback (most recent call last): File "C:UsersasmitDesktopAppIndex.py", line 7, in <module> L1=Label(window, ..

Read more

Task at Hand I’m creating a portable, executable application for Windows that automates a maintenance process for my colleagues. The application features graphic elements where images are drawn to represent "plans" of a ground floor with added lines and zones. The application will be used on several different customer systems (Always Windows). Context The application ..

Read more