Re: Tkinter module test: widget class not inserted in application frame

2022-06-17 Thread Rich Shepard
On Fri, 17 Jun 2022, Dennis Lee Bieber wrote: ContactNameInput, 'lname', ContactNameInput, 'fname', This works if a tk.labelframe is where the widget is placed. In my case, as MRAB taught me, the proper syntax is self,'lname'... self.'fname'... Thanks,

PEP 401 origin and authorship

2022-06-17 Thread Chris Angelico
Somewhere around the place, I remember reading something about how PEP 401 (the retirement of the BDFL and the accession of the FLUFL) came to be. It involved a joke being turned on its originator, I think. But I can't find it back. Anyone have a reference handy? ChrisA --

Re: Tkinter module test: widget class not inserted in application frame

2022-06-17 Thread Dennis Lee Bieber
On Fri, 17 Jun 2022 09:19:59 -0700 (PDT), Rich Shepard declaimed the following: >I'm not seeing the error source in a small tkinter module I'm testing. > >The module code: >--- >import tkinter as tk >from tkinter import ttk > >import common_classes as cc > >class

Re: pycharm issue

2022-06-17 Thread dn
On 18/06/2022 11.21, Giorgos Poriotis wrote: > I use windows 10 , I click on a shortcut of the pycharm , the icon that > runs the programm Please reply to the list - there are many people here who know more than I, and can help you with MS-Windows issues. Please review

Re: pycharm issue

2022-06-17 Thread dn
On 18/06/2022 10.52, GIORGOS PORIOTIS wrote: > > Hello i have an issue with my pycharm latest edition, it doesnt take the > files in the pycharm window , when i click on > > them , also intead of the pycharm picture on my py files i have the idle > picture ... This list is for Python (cf

pycharm issue

2022-06-17 Thread GIORGOS PORIOTIS
> Hello i have an issue with my pycharm latest edition, it doesnt take the files in the pycharm window , when i click on > them , also intead of the pycharm picture on my py files i have the idle picture ... -- https://mail.python.org/mailman/listinfo/python-list

Re: Tkinter module test: widget class not inserted in application frame

2022-06-17 Thread Rich Shepard
On Fri, 17 Jun 2022, MRAB wrote: This: self.inputs['Last name'] = cc.LabelInput( ContactNameInput, 'lname', input_class = ttk.Entry, input_var = tk.StringVar() ) should be this: self.inputs['Last name'] = cc.LabelInput(

Re: Tkinter module test: widget class not inserted in application frame

2022-06-17 Thread MRAB
On 2022-06-17 18:06, Rich Shepard wrote: On Fri, 17 Jun 2022, MRAB wrote: You haven't shown the code for common_classes.LabelInput, but I'm guessing that the first argument should be the parent. [snip] You're passing in the _class_ ConactNameInput, but I'm guessing that it should be an

Re: Tkinter module test: widget class not inserted in application frame

2022-06-17 Thread Rich Shepard
On Fri, 17 Jun 2022, MRAB wrote: You haven't shown the code for common_classes.LabelInput, but I'm guessing that the first argument should be the parent. Here's the LabelInput class: class LabelInput(tk.Frame): """ A widget containing a label and input together. """ def

Re: Tkinter module test: widget class not inserted in application frame

2022-06-17 Thread MRAB
On 2022-06-17 17:19, Rich Shepard wrote: I'm not seeing the error source in a small tkinter module I'm testing. The module code: --- import tkinter as tk from tkinter import ttk import common_classes as cc class ConactNameInput(tk.Frame): def __init__(self, parent, *args,

Tkinter module test: widget class not inserted in application frame

2022-06-17 Thread Rich Shepard
I'm not seeing the error source in a small tkinter module I'm testing. The module code: --- import tkinter as tk from tkinter import ttk import common_classes as cc class ConactNameInput(tk.Frame): def __init__(self, parent, *args, **kwargs): super().__init__(parent, *args,

Re: ModuleNotFoundError

2022-06-17 Thread Joel Goldstick
On Fri, Jun 17, 2022 at 8:31 AM inhahe wrote: > > sorry, I may have misused the term "namespace." I'm not sure what the > proper word is for the names currently loaded into the global scope. > > On Fri, Jun 17, 2022 at 8:26 AM inhahe wrote: > > > sys is a built-in module, but it's not in the

[Python-announce] ANN: django-compat-patcher 0.11 released

2022-06-17 Thread Pascal Chambon
Hello, it's with great pleasure that I announce the release of *django-compat-patcher v0.11* This release extends compatibility fixers so that you can painlessly upgrade your project to *Django 4.0*, without breaking your existing pluggable-apps ecosystem. -- DCP is a companion package

Re: ModuleNotFoundError

2022-06-17 Thread inhahe
sorry, I may have misused the term "namespace." I'm not sure what the proper word is for the names currently loaded into the global scope. On Fri, Jun 17, 2022 at 8:26 AM inhahe wrote: > sys is a built-in module, but it's not in the namespace unless you import > it first. > before your print

Re: ModuleNotFoundError

2022-06-17 Thread inhahe
sys is a built-in module, but it's not in the namespace unless you import it first. before your print statement, enter "import sys" On Fri, Jun 17, 2022 at 8:23 AM wrote: > Thank you for your email. > > C:\Users\zszen>python.exe > Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC

Re: ModuleNotFoundError

2022-06-17 Thread z . szenderak
Thank you for your email. C:\Users\zszen>python.exe Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> print(sys.version) Traceback (most recent call last): File "", line

Re: ModuleNotFoundError

2022-06-17 Thread Eryk Sun
On 6/17/22, Zoltan Szenderak wrote: > > print(sys.version_info) and executable: > Unable to initialize device PRN That's the command-line "print" program. You need to first start the Python shell via python.exe. The prompt should change to ">>> ". Then run print(sys.version) and

Re: ModuleNotFoundError

2022-06-17 Thread 2QdxY4RzWzUUiLuE
On 2022-06-17 at 08:03:28 +, Zoltan Szenderak wrote: > How do I reply to: Chris Angelico rosuav at gmail.com so it is listed > on the Python list? Please don't. Please continue replying to python-list@python.org; that way, other people can help you, and future programmers can find their

Re: ModuleNotFoundError

2022-06-17 Thread Zoltan Szenderak
Re: https://mail.python.org/pipermail/python-list/2022-June/906698.html How do I reply to: Chris Angelico rosuav at gmail.com so it is listed on the Python list? Chris Angelico rosuav at