Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: calculator app problem
Post: calculator app problem

hello. so im trying to build a calculator app GUI with tkinter and i have the following problem First to explain how the code works, i concatenate digits to the string representations of each of the v...
jacksfrustration General Coding Help 1 276 Apr-11-2024, 12:13 PM
    Thread: element in list detection problem
Post: element in list detection problem

I am trying to make a UK grading system. The console based app will take name and grade as inputs, save it into a list of dictionaries, convert that list of dictionaries to add a key value pair that r...
jacksfrustration General Coding Help 5 530 Apr-09-2024, 08:15 PM
    Thread: encrypt data in json file help
Post: encrypt data in json file help

Hello I am trying to perfect my password manager app and one of the features i want to add is encrypting the json file so that only the user of the program can view the saved passwords. i accessed thi...
jacksfrustration General Coding Help 1 324 Mar-28-2024, 05:05 PM
    Thread: sort search results by similarity of characters
Post: RE: sort search results by similarity of character...

(Feb-16-2024, 09:04 PM)menator01 Wrote: Can you give an example of the data structure?i have a DATA_DICT created at the top of my script which has the corresponding names and symbols of all the comp...
jacksfrustration General Coding Help 5 521 Feb-16-2024, 09:19 PM
    Thread: sort search results by similarity of characters
Post: RE: sort search results by similarity of character...

(Feb-16-2024, 08:48 PM)menator01 Wrote: You can have a look at sort and sorted. won't that return sorted list alphabetically? i dont need it to be alphabetical but similarity to company name.. maybe...
jacksfrustration General Coding Help 5 521 Feb-16-2024, 08:58 PM
    Thread: sort search results by similarity of characters
Post: sort search results by similarity of characters

i have a stock market app that im building. basically i have the following code that works as a feature that allows the user to search for official company name and its corresponding symbol in order t...
jacksfrustration General Coding Help 5 521 Feb-16-2024, 07:43 PM
    Thread: delete specific row of entries
Post: RE: delete specific row of entries

(Feb-13-2024, 05:54 PM)deanhystad Wrote: Maybe you should use a treeview instead of trying to make your own table. https://www.pythontutorial.net/tkinter/t...-treeview/ thanks. not sure if i unders...
jacksfrustration General Coding Help 3 459 Feb-13-2024, 07:19 PM
    Thread: delete specific row of entries
Post: delete specific row of entries

I have a program i've been developing for a week. Basically it's a workout tracker app. You have the option of adding columns of entries,optionmenus and labels in order to add your workout activity, d...
jacksfrustration General Coding Help 3 459 Feb-13-2024, 05:38 PM
    Thread: make widgets disappear from tkinter
Post: RE: make widgets disappear from tkinter

(Feb-05-2024, 08:37 PM)deanhystad Wrote: I didn't know there was a forget. It is never mentioned anywhere in the documentation. So I asked Python about it. Output:>>> import tkinter as tk...
jacksfrustration GUI 12 1,433 Feb-06-2024, 03:22 PM
    Thread: tkinter two windows instead of one
Post: RE: tkinter two windows instead of one

(Feb-03-2024, 06:43 PM)deanhystad Wrote: You must be making two windows. tk.Tk() creates a window and tk.TopLevel() creates a window. Are you calling both in your program? If you only call tk.Tk(...
jacksfrustration GUI 7 1,023 Feb-05-2024, 05:16 PM
    Thread: make widgets disappear from tkinter
Post: RE: make widgets disappear from tkinter

(Feb-03-2024, 06:35 PM)deanhystad Wrote: Please provide some sample code showing grid_forget() or pack_forget() not working. forget() is not a tkinter widget method. You just have gotten a NameErr...
jacksfrustration GUI 12 1,433 Feb-05-2024, 05:14 PM
    Thread: make widgets disappear from tkinter
Post: RE: make widgets disappear from tkinter

(Jan-31-2024, 06:39 PM)deanhystad Wrote: Example showing forget and destroy. import tkinter as tk def toggle_forget(): if forget_lbl.winfo_viewable(): forget_lbl.grid_forget() else...
jacksfrustration GUI 12 1,433 Feb-03-2024, 05:48 PM
    Thread: tkinter two windows instead of one
Post: RE: tkinter two windows instead of one

(Jan-31-2024, 11:28 PM)deanhystad Wrote: Is the small window with the 4 option menus the root window (window returned by tk.Tk())? When you create a widget and you don't provide a parent argument, ...
jacksfrustration GUI 7 1,023 Feb-03-2024, 05:43 PM
    Thread: get list of dates in past month, current and upcoming month
Post: RE: get list of dates in past month, current and u...

(Jan-31-2024, 07:15 PM)deanhystad Wrote: Use the tkcalendar module. import tkinter as tk from tkcalendar import DateEntry root = tk.Tk() date_entry = DateEntry(root) date_entry.pack(padx=10, pady=...
jacksfrustration General Coding Help 4 642 Feb-03-2024, 05:05 PM
    Thread: make widgets disappear from tkinter
Post: RE: make widgets disappear from tkinter

(Jan-30-2024, 09:40 PM)deanhystad Wrote: This is hideous. globals()[f"unit_ent{self.count}"] = Entry() globals()[f"unit_ent{self.count}"].grid(row=self.cur_row, column=5) globals()[f"min_lbl{self.co...
jacksfrustration GUI 12 1,433 Jan-31-2024, 05:56 PM
    Thread: tkinter two windows instead of one
Post: tkinter two windows instead of one

I am trying to write a program using tkinter. I created a Class and in the init i create a few lists. The window consists of entrys, optionmenus, labels, picture and buttons. all of the widgets excep...
jacksfrustration GUI 7 1,023 Jan-31-2024, 03:45 PM
    Thread: get list of dates in past month, current and upcoming month
Post: get list of dates in past month, current and upcom...

trying to make a list which i will consist of the dates in a (date day month year) format of the past three months. i finally came up with the upcoming list comprehension dates = [dt.strftime('%a %...
jacksfrustration General Coding Help 4 642 Jan-31-2024, 03:40 PM
    Thread: make widgets disappear from tkinter
Post: RE: make widgets disappear from tkinter

(Jan-30-2024, 09:40 PM)deanhystad Wrote: This is hideous. globals()[f"unit_ent{self.count}"] = Entry() globals()[f"unit_ent{self.count}"].grid(row=self.cur_row, column=5) globals()[f"min_lbl{self.co...
jacksfrustration GUI 12 1,433 Jan-31-2024, 03:08 PM
    Thread: make widgets disappear from tkinter
Post: make widgets disappear from tkinter

hello i am writing a workout tracker app. i have the option of adding rows of information to save multiple workout data at the same time. i accomplish that with the following code globals()[f'day_lb...
jacksfrustration GUI 12 1,433 Jan-30-2024, 07:21 PM
    Thread: write to csv file problem
Post: RE: write to csv file problem

(Nov-07-2023, 06:30 PM)deanhystad Wrote: If there is nothing to write it doesn't matter how you try to write it. Fix the problem of there being nothing to write. Start by fixing saveEnt(). Shoul...
jacksfrustration General Coding Help 11 1,683 Nov-07-2023, 08:58 PM

User Panel Messages

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