Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Validating and modifying a Spinbox
Post: RE: Validating and modifying a Spinbox

Hi, Would like to share a link to the complete solution: PasswordGeneratorGUI. The SpinBox control proved particularly challenging to fine tune it to where I wanted to get it. The up and down arrow...
pfdjhfuys GUI 2 1,262 May-21-2023, 12:17 PM
    Thread: Validating and modifying a Spinbox
Post: RE: Validating and modifying a Spinbox

After going through the documentation Tcl8.6.13/Tk8.6.13 Documentation > Tk Commands > spinbox I found out that: Quote:In general, the -textvariable and -validatecommand can be dangerous to mi...
pfdjhfuys GUI 2 1,262 May-21-2023, 06:57 AM
    Thread: Validating and modifying a Spinbox
Post: Validating and modifying a Spinbox

Below is a code snippet of a program that uses the SpinBox control. I want to the control to allow numbers between 1 and 100 as set in from_ and to. I borrowed some code to validate the control whe...
pfdjhfuys GUI 2 1,262 May-20-2023, 03:24 PM
    Thread: tkinter AttributeError: 'GUI' object has no attribute
Post: RE: tkinter AttributeError: 'GUI' object has no at...

(May-18-2023, 03:22 PM)deanhystad Wrote: If you are going to write a class, why not subclass Tk()? # Do not use wildcard imports. They fill the global namespace with names, # many of which you migh...
pfdjhfuys GUI 3 1,590 May-18-2023, 03:30 PM
    Thread: tkinter AttributeError: 'GUI' object has no attribute
Post: tkinter AttributeError: 'GUI' object has no attrib...

Hi, When I click the button I expect the entry to be populated. Instead I get the error "AttributeError: 'GUI' object has no attribute 'genPassText'". What am I missing? from tkinter import * cla...
pfdjhfuys GUI 3 1,590 May-18-2023, 12:53 PM
    Thread: Delete all Excel named ranges (local and global scope)
Post: RE: Delete all Excel named ranges (local and globa...

(Mar-23-2023, 11:45 AM)Larz60+ Wrote: Documentation is here You can get a list of sheet names with wb.sheetnames (assumes workbook named wb, modify for your name) I had managed to get the sheets; I ...
pfdjhfuys General Coding Help 2 1,807 Mar-24-2023, 01:32 PM
    Thread: Delete all Excel named ranges (local and global scope)
Post: Delete all Excel named ranges (local and global sc...

Hi, I have an Excel Workbook. I am using the openpyxl package. I don't know how many worksheets I have nor do I know the named ranges. My goal is to remove all named ranges. wb.defined_names.get ...
pfdjhfuys General Coding Help 2 1,807 Mar-22-2023, 04:22 PM
  Question Thread: Keyword to build list from list of objects?
Post: Keyword to build list from list of objects?

Hi, # Code borrowed from geeksforgeeks.com class geeks: def __init__(self, name, roll): self.name = name self.roll = roll # creating list list = [] ...
pfdjhfuys General Coding Help 3 1,579 Aug-06-2022, 09:56 AM

User Panel Messages

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