On 17/11/2023 03:38, Terry Reedy wrote:
> There have been other reports on the cpython issue tracker than Sonoma
> broke bits of tk behavior.
> https://github.com/python/cpython/issues?q=is%3Aissue+label%3AOS-mac+is%3Aclosed
>
> shows a couple
Thanks Terry, I had a browse and it seems I'm
I have a little app that I wrote ages ago (2015) using tkinter/ttk
and it just works. Or it did, up until the latest MacOS version upgrade
and now it has become very sporadic in response to mouse clicks.
For example I have a drop-down list and I can drop the list but
then it won't let me select
...]
> >
> >
> > > FWIW, here's a version without after(), solving this purely on
> > > the
> > > python side, not by temporarily unbinding the event, but by
> > > selectively doing nothing in the callback function.
> > >
> > >
from tkinter import *
from tkinter.ttk import *
class Test:
def __init__(self):
self.inhibit = False
root=Tk()
self.tree = Treeview(root)
self.tree.pack()
self.iid = self.tree.insert('', 0, text='test')
Button(root, command=self.temp_inhibit
the state:
> - TreeviewSelect is bound
> - events are queued
>
> [. . .]
Thanks (also to others who have explained), now I get it!
> FWIW, here's a version without after(), solving this purely on the
> python side, not by temporarily unbinding the event, but by
> sele
On 12/09/2023 19:51, Mirko via Python-list wrote:
I have also found that after() is a cure for some ills, though I
avoid using it more than I have to because it feels ... a bit
fragile, perhaps.
Yeah. Though for me it was the delay which made it seem fragile. With
a 0 delay, this looks
On 2023-09-12 19:51, Mirko via Python-list wrote:
Am 12.09.23 um 07:43 schrieb John O'Hagan via Python-list:
My issue is solved, but I'm still curious about what is happening here.
MRAB already said it: When you enter the callback function, Tk's
mainloop waits for it to return. So what's
in the callback function.
from tkinter import *
from tkinter.ttk import *
class Test:
def __init__(self):
self.inhibit = False
root=Tk()
self.tree = Treeview(root)
self.tree.pack()
self.iid = self.tree.insert('', 0, text='test')
Button(root
On 2023-09-12 06:43, John O'Hagan via Python-list wrote:
On Mon, 2023-09-11 at 22:25 +0200, Mirko via Python-list wrote:
Am 11.09.23 um 14:30 schrieb John O'Hagan via Python-list:
> I was surprised that the code below prints 'called' three times.
>
>
> from tkinter impo
On Mon, 2023-09-11 at 22:25 +0200, Mirko via Python-list wrote:
> Am 11.09.23 um 14:30 schrieb John O'Hagan via Python-list:
> > I was surprised that the code below prints 'called' three times.
> >
> >
> > from tkinter import *
> > from tkinter.ttk import
On 11/09/2023 21:25, Mirko via Python-list wrote:
Am 11.09.23 um 14:30 schrieb John O'Hagan via Python-list:
I was surprised that the code below prints 'called' three times.
from tkinter import *
from tkinter.ttk import *
root=Tk()
def callback(*e):
print('called')
tree = Treeview
Am 11.09.23 um 14:30 schrieb John O'Hagan via Python-list:
I was surprised that the code below prints 'called' three times.
from tkinter import *
from tkinter.ttk import *
root=Tk()
def callback(*e):
print('called')
tree = Treeview(root)
tree.pack()
iid = tree.insert('', 0, text='test
I was surprised that the code below prints 'called' three times.
from tkinter import *
from tkinter.ttk import *
root=Tk()
def callback(*e):
print('called')
tree = Treeview(root)
tree.pack()
iid = tree.insert('', 0, text='test')
tree.selection_set(iid)
tree.selection_remove(iid
id' of course for placement. But all colors, and callbacks for
changes are entirely in called pieces, which have been tested like 150% crazy.
sb is
import screenBuilder1 assb # Screen maker for TKinter and TKinter ++
windows
If you want to use my 'screenbuilder'... talk to
On Sat, 24 Jun 2023 at 15:57, Thomas Passin via Python-list
wrote:
> As a general comment (and I have not done anything tricky or complex
> with Tk), MVC or the other approaches in a similar vein, though good,
> can lead you into more complexity than you need, because of the extra
> abstractions
-Original Message-
From: Python-list
On Behalf Of Diego Souza via Python-list
Sent: Friday, June 23, 2023 4:14 AM
To: aapost
Cc: python-list
Subject: Re: TKinter in Python - advanced notions
Have you considered improving the architecture itself, not your GUI library
skills?
I recommend
I am not specifically having any problems implementing what I want to make work.
Callbacks etc make it fairly easy to make TKinter react to things without any
specific fancy plan for it.
Add callbacks for real time changes early in any new notion, after it looks
right go to the IO part make
If you have a problem,. ask a super specific question, here. If I can help, I
will, but TKINTER knowledge is pretty spread around. Many others migth jump in,
too.
Its works, its slightly quirky, has no licencing hangups.
X11 makes fine fine programs !
Keep hacking,Dan
--
https
n-list
> On Behalf Of Diego Souza via Python-list
> Sent: Friday, June 23, 2023 4:14 AM
> To: aapost
> Cc: python-list
> Subject: Re: TKinter in Python - advanced notions
>
> Have you considered improving the architecture itself, not your GUI library
> skills?
>
> I recommend
ogy ), and
> am slowly outgrowing TKINTER.
> >
> > Has anybody out there merged a little bit of TCL direct calls from
> Python 3.X to get more freedom then TKINTER for just some Windows ?
>
> > I wish it looked better, but its 'ok'. I believe X11 IO is considerably
>
On 6/21/23 09:47, Dan Kolis wrote:
I've write a huge biotech program ( an IDE for synthetic biology ), and am
slowly outgrowing TKINTER.
Has anybody out there merged a little bit of TCL direct calls from Python 3.X
to get more freedom then TKINTER for just some Windows ?
I wish it looked
Hi,
I've write a huge biotech program ( an IDE for synthetic biology ), and am
slowly outgrowing TKINTER.
Has anybody out there merged a little bit of TCL direct calls from Python 3.X
to get more freedom then TKINTER for just some Windows ?
How about bold stories of successes ( yours
On 2023-05-26, Rob Cliffe via Python-list wrote:
> Grant, I may well buy one of the books you suggested.
I haven't had look at either of the newer books, but I got a lot of
good out of the Grayson book (20 years ago). I also had a Tcl/Tk book
that I found useful even when usng tkin
On Tuesday, May 30, 2023 at 1:28:04 PM UTC-4, Rob Cliffe wrote:
> Thanks to everyone who replied. All replies were constructive, none
> were telling me to stop belly-aching.
Hi, Dan says:
When you get your style ideas sort of frozen, maybe you can poke up a sample
here.
Aworked example for
Thanks to everyone who replied. All replies were constructive, none
were telling me to stop belly-aching.
I forgot/omitted to state that it was I who wrote the original project
(in a completely different language), making the task of re-writing it
much less formidable. And meaning that I am
On 24May2023 02:18, Rob Cliffe wrote:
There doesn't seem to be any decent documentation for it anywhere.
Already mentioned in the replies, I use this:
https://tkdocs.com/shipman/index.html
quite a lot.
--
https://mail.python.org/mailman/listinfo/python-list
Am 24.05.23 um 03:18 schrieb Rob Cliffe:
I have recently started converting a large project to tkinter, starting
with zero knowledge of tkinter. (You are free to think: BAD IDEA. )
Welcome to the awesome world of GUI development.
I was writing a subclass of the Checkbutton class
On Wed, 24 May 2023 at 13:11, Rob Cliffe via Python-list
wrote:
>
> I have recently started converting a large project to tkinter, starting
> with zero knowledge of tkinter. (You are free to think: BAD IDEA. )
> I am well aware that adopting a new tool always involves a lear
On 5/23/23 21:18, Rob Cliffe wrote:
Comments, anyone?
Better yet (holds breath ...) can anyone point me towards some decent
tkinter documentation?
The variables are slightly more integrated when using tcl/tk directly,
python has to have the object so you can track/use them easier
On 2023-05-24, Rob Cliffe via Python-list wrote:
> I have recently started converting a large project to tkinter, starting
> with zero knowledge of tkinter. (You are free to think: BAD IDEA. )
Well, you could be translating them to Tcl/Tk -- so on the scale of
bad ideas, your's
I have recently started converting a large project to tkinter, starting
with zero knowledge of tkinter. (You are free to think: BAD IDEA. )
I am well aware that adopting a new tool always involves a learning
curve, and that one is prone to think that things are more difficult
than
On 5/18/23 21:11, Grant Edwards wrote:
On 2023-05-19, Cameron Simpson wrote:
On 18May2023 12:06, Jack Dangler wrote:
I thought the OP of the tkinter thread currently running may have
needed to install the tkinter package (since I had the same missing
component error message), so I tried
On 2023-05-19, Cameron Simpson wrote:
> On 18May2023 12:06, Jack Dangler wrote:
>>I thought the OP of the tkinter thread currently running may have
>>needed to install the tkinter package (since I had the same missing
>>component error message), so I tried to install
On 18May2023 12:06, Jack Dangler wrote:
I thought the OP of the tkinter thread currently running may have
needed to install the tkinter package (since I had the same missing
component error message), so I tried to install the package on to my
Ubu laptop -
pip install tkinter
Defaulting
On 2023-05-12 09:55, Rob Cliffe via Python-list wrote:
I am trying to learn tkinter.
Several examples on the internet refer to a messagebox class
(tkinter.messagebox).
But:
Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32
bit (Intel)] on win32
Type "help",
On 5/18/23 12:33, Mats Wichmann wrote:
On 5/18/23 10:06, Jack Dangler wrote:
I didn't want to hijack another thread...
I thought the OP of the tkinter thread currently running may have
needed to install the tkinter package (since I had the same missing
component error message), so I tried
On 5/18/23 08:50, Jim Schwartz wrote:
This works for me. Hope it helps.
from tkinter import messagebox
messagebox.showerror("Hi", f"Hello World")
It's probably instructive that IDLE always brings it in this way.
Lib/idlelib/config_key.py:from tkinter import me
On 5/18/23 10:06, Jack Dangler wrote:
I didn't want to hijack another thread...
I thought the OP of the tkinter thread currently running may have needed
to install the tkinter package (since I had the same missing component
error message), so I tried to install the package on to my Ubu laptop
I didn't want to hijack another thread...
I thought the OP of the tkinter thread currently running may have needed
to install the tkinter package (since I had the same missing component
error message), so I tried to install the package on to my Ubu laptop -
pip install tkinter
Defaulting
On 5/18/2023 9:13 AM, Grant Edwards wrote:
On 2023-05-12, Rob Cliffe via Python-list wrote:
Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more informa
This works for me. Hope it helps.
from tkinter import messagebox
messagebox.showerror("Hi", f"Hello World")
-Original Message-
From: Python-list On
Behalf Of Rob Cliffe via Python-list
Sent: Friday, May 12, 2023 3:55 AM
To: Python
Subject: Learning tkinter
On Thu, 18 May 2023 at 19:15, Rob Cliffe via Python-list
wrote:
>
> I am trying to learn tkinter.
> Several examples on the internet refer to a messagebox class
> (tkinter.messagebox).
> But:
>
> Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32
&g
On Thu, 18 May 2023 at 10:16, Rob Cliffe via Python-list
wrote:
>
> I am trying to learn tkinter.
> Several examples on the internet refer to a messagebox class
> (tkinter.messagebox).
> But:
>
> Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32
&g
On 2023-05-12, Rob Cliffe via Python-list wrote:
>
> Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32
> bit (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
I am trying to learn tkinter.
Several examples on the internet refer to a messagebox class
(tkinter.messagebox).
But:
Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32
bit (Intel)] on win32
Type "help", "copyright", "credits" or
On Tue, 2023-03-14 at 21:54 +1100, John O'Hagan wrote:
[...]
> Here is minimal code that demonstrates the problem in the subject
> line:
>
> import cv2
> from tkinter import *
>
> images=['a.jpg', 'b.jpg', 'c.jpg'] #change to image paths
>
> cv2.namedWindow('W', cv2
t is still slightly ambiguous in explaining that when using 25ms,
> keypress or not, the wait breaks at 25ms (or before that if you press
> a
> keyboard key). For my setup the window is stale at that point, no
> controls, just a stale frame behind the tkinter window that needs to
&g
no
controls, just a stale frame behind the tkinter window that needs to be
destroyed or reused.
Whether that is the exact behavior on all set-ups isn't clear, the note
further uses the ambiguous phrasing "might".
>Note: This function should be followed by a call to cv::waitKey
On 3/15/23 07:37, John O'Hagan wrote:
On Tue, 2023-03-14 at 16:22 -0400, aapost wrote:
On 3/14/23 06:54, John O'Hagan wrote:
Doing a quick read, tkinter is not threadsafe, so diving in to a
threading solution is probably not the best approach.
But just to throw out another possible
it comes back a few seconds later.
If I
then click on the tkinter window titlebar, the popup changes
to "'Tk'
is not responding". Clicking on the button still works and after a
few
clicks the popup closes.
[...]
I think this particular popup is a Gnome thing, but AIUI most DEs
ha
On Tue, 2023-03-14 at 16:22 -0400, aapost wrote:
> On 3/14/23 06:54, John O'Hagan wrote:
[...]
> >
> > Here is minimal code that demonstrates the problem in the subject
> > line:
> >
> > import cv2
> > from tkinter import *
> >
> > images
On 3/14/23 06:54, John O'Hagan wrote:
Hi list
I'm trying to use cv2 to display images created as numpy arrays, from
within a tkinter app (which does other things with the arrays before
they are displayed as images). The arrays are colour-coded
visualisations of genomes and can be over a billion
On Tue, 2023-03-14 at 13:52 +, Weatherby,Gerard wrote:
> Assuming you’re using opencv-python, I’d post query at
> https://github.com/opencv/opencv-python/issues.
Thanks Gerard
I'm using the python3-opencv package from Debian testing. Is that
github the appropriate place for this query?
On Tue, 2023-03-14 at 08:07 -0400, Thomas Passin wrote:
> On 3/14/2023 6:54 AM, John O'Hagan wrote:
> > Hi list
> >
> > I'm trying to use cv2 to display images created as numpy arrays,
> > from
> > within a tkinter app (which does other things with the arrays
Assuming you’re using opencv-python, I’d post query at
https://github.com/opencv/opencv-python/issues.
From: Python-list on
behalf of John O'Hagan
Date: Tuesday, March 14, 2023 at 6:56 AM
To: Python list
Subject: Tkinter and cv2: "not responding" popup when imshow launched fr
On 3/14/2023 6:54 AM, John O'Hagan wrote:
Hi list
I'm trying to use cv2 to display images created as numpy arrays, from
within a tkinter app (which does other things with the arrays before
they are displayed as images). The arrays are colour-coded
visualisations of genomes and can be over
Hi list
I'm trying to use cv2 to display images created as numpy arrays, from
within a tkinter app (which does other things with the arrays before
they are displayed as images). The arrays are colour-coded
visualisations of genomes and can be over a billion elements in size,
and I've found
he selection or changing the colour of other
> selected items. It seems this isn't possible.
ok sorry. As another alternative I had thought of this:
from tkinter import *
from tkinter.ttk import *
root = Tk()
t = Treeview(root)
t.insert('', 0, iid='item1', text='item1')
t.insert('', 1, text='item2')
ent):
> w = event.widget
> w.old_bg = w.cget('bg')
> w[BG_KEY] = BUTTON_HOVER # Color you have chosen
>
> def on_leave(event):
> w = event.widget
> _bg = w.old_bg
> w[BG_KEY] = _bg
>
>
Thank you again for your reply, Thomas. I didn'
On 2/12/2023 6:10 AM, John O'Hagan wrote:
On Mon, 2023-02-06 at 10:19 -0800, stefalem wrote:
Il giorno sabato 4 febbraio 2023 alle 11:43:29 UTC+1 John O'Hagan ha
scritto:
...
Is there another way to do what I want?
from tkinter import *
from tkinter.ttk import *
root = Tk()
t = Treeview
On Mon, 2023-02-06 at 10:19 -0800, stefalem wrote:
> Il giorno sabato 4 febbraio 2023 alle 11:43:29 UTC+1 John O'Hagan ha
> scritto:
> ...
>
> > Is there another way to do what I want?
>
> from tkinter import *
> from tkinter.ttk import *
>
> root = Tk()
&
I apologize for the 3 messages sent, I could not access the usual news
server and with Google Groups I messed up :)
--
https://mail.python.org/mailman/listinfo/python-list
> Is there another way to do what I want?
try this:
from tkinter import *
from tkinter.ttk import *
root = Tk()
t = Treeview(root)
t.insert('', 0, iid='item1', text='item1')
t.insert('', 1, text='item2')
t.tag_configure('flashtag', background='red')
t.pack()
def flash():
tags = t.i
Il giorno sabato 4 febbraio 2023 alle 11:43:29 UTC+1 John O'Hagan ha scritto:
...
> Is there another way to do what I want?
from tkinter import *
from tkinter.ttk import *
root = Tk()
t = Treeview(root)
t.insert('', 0, iid='item1', text='item1')
t.insert('', 1, text='item2')
t.tag_config
flashing. If you
select it, you don't see the flashing anymore.
from tkinter import *
from tkinter.ttk import *
root = Tk()
t = Treeview(root)
t.insert('', 0, iid='item1', text='item1')
t.insert('', 1, text='item2')
t.tag_configure('flashtag', background='red')
t.pack()
def flash():
tags = t.item
no effect. I want the item to keep flashing
even when selected.
The code below is a minimal example of the issue. It displays a
Treeview containing two items with the first one flashing. If you
select it, you don't see the flashing anymore.
from tkinter import *
from tkinter.ttk import *
root = Tk
On 1/19/2023 10:21 AM, Dan Kolis wrote:
Hello !
Works fine on my work machine. (Ubuntu 20.04 / 32 G / 32 CPUS). Scalene
(https://github.com/plasma-umass/scalene) shows it using 9 MB of memory.
I ran your test program here and it generates 25 windows on my machine,
and I can click "run" at
Hello !
> Works fine on my work machine. (Ubuntu 20.04 / 32 G / 32 CPUS). Scalene
> (https://github.com/plasma-umass/scalene) shows it using 9 MB of memory.
> I ran your test program here and it generates 25 windows on my machine,
> and I can click "run" at least half a dozen times. I tried
orks fine on my work machine. (Ubuntu 20.04 / 32 G / 32 CPUS).
Scalene (https://github.com/plasma-umass/scalene) shows it using 9 MB
of memory.
From: Python-list
on behalf of Michael Torrie
Date: Wednesday, January 18, 2023 at 8:58 PM
To: python-list@python.org
Subject: Re: A natural magnet for
it using 9 MB of memory.
From: Python-list on behalf of
Michael Torrie
Date: Wednesday, January 18, 2023 at 8:58 PM
To: python-list@python.org
Subject: Re: A natural magnet for the craziest TKinter lovers out there
*** Attention: This is an external email. Use caution responding, opening
a
for the craziest TKinter lovers out there
*** Attention: This is an external email. Use caution responding, opening
attachments or clicking on links. ***
On 1/18/23 18:01, Dan Kolis wrote:
> Hangs after maybe between 4 and 50 screen rewrites. sometimes CTRL C under
> Ubuntu starts it up
On 1/18/2023 11:46 PM, Thomas Passin wrote:
On 1/18/2023 8:56 PM, Michael Torrie wrote:
On 1/18/23 18:01, Dan Kolis wrote:
Hangs after maybe between 4 and 50 screen rewrites. sometimes CTRL C
under Ubuntu starts it up again. Click go rewrites al the fonts the
thing can find in a few
On 1/18/2023 8:56 PM, Michael Torrie wrote:
On 1/18/23 18:01, Dan Kolis wrote:
Hangs after maybe between 4 and 50 screen rewrites. sometimes CTRL C under
Ubuntu starts it up again. Click go rewrites al the fonts the thing can find in
a few windows Repeated.
Not sure what you mean by
On 1/18/23 18:01, Dan Kolis wrote:
> Hangs after maybe between 4 and 50 screen rewrites. sometimes CTRL C under
> Ubuntu starts it up again. Click go rewrites al the fonts the thing can find
> in a few windows Repeated.
>
Not sure what you mean by "screen rewrites."
I ran your test
Hangs after maybe between 4 and 50 screen rewrites. sometimes CTRL C under
Ubuntu starts it up again. Click go rewrites al the fonts the thing can find in
a few windows Repeated.
TKinter has a cult following. I don''t really expect others to fix my problems,
but you know, es since its
On 2023-01-11 00:13, Cameron Simpson wrote:
On 10Jan2023 18:32, MRAB wrote:
I don't like how you're passing Thread...start as an argument. IMHO, it
would be better/cleaner to pass a plain function, even if the only
thing that function does is to start the thread.
Yes, and this is likely the
On 10Jan2023 18:32, MRAB wrote:
I don't like how you're passing Thread...start as an argument. IMHO, it
would be better/cleaner to pass a plain function, even if the only
thing that function does is to start the thread.
Yes, and this is likely the thing causing the cited exception "threads
On 2023-01-10 14:57, Abhay Singh wrote:
Here is the entire code snippet of the same.
Please help
def change_flag(top_frame, bottom_frame, button1, button2, button3, button4,
controller): global counter, canvas, my_image, chosen, flag, directory
canvas.delete('all') button5['state'] =
Here is the entire code snippet of the same.
Please help
def change_flag(top_frame, bottom_frame, button1, button2, button3, button4,
controller): global counter, canvas, my_image, chosen, flag, directory
canvas.delete('all') button5['state'] = DISABLED counter += 1
chosen, options_text =
On 1/5/2023 7:52 PM, Stefan Ram wrote:
Thomas Passin writes:
On 1/5/2023 4:24 PM, Stefan Ram wrote:
You often can replace threads in tkinter by coroutines using
asyncio when you write a replacement for the mainloop of
tkinter that uses asyncio. Now, try to read only the official
documentation
>
> I want learn python for 4 weeks and have problems, installing Tkinter. If
> I installed 3.11.0 for my windows 8.1 from python.org and type
>
> >>> import _tkinter
> > Traceback (most recent call last):
> >File "", line 1, in
>
> On 23 Nov 2022, at 06:31, Stefan Ram wrote:
>
> darkst...@o2online.de writes:
>> I want learn python for 4 weeks and have problems, installing Tkinter. If I=
>> installed 3.11.0 for my windows 8.1 from python.org and type
>
> Ok, so you already installe
install
> Python from python.org.
>
> Then, after the installation, you also should make sure that
> you actually use this installed version.
>
> import sys
> sys.version_info
> import tkinter
>
> It is possible that you have installed a different version
> of
On 11/21/22 14:41, Thomas Passin wrote:
On 11/21/2022 1:24 PM, Stefan Ram wrote:
darkst...@o2online.de writes:
import _tkinter
I don't know why you get this error message. Here, I do not
get an error message from that line. However, the normal way
to use tkinter, as far as I know
On 11/21/2022 12:59 PM, darkst...@o2online.de wrote:
Dear list,
I want learn python for 4 weeks and have problems, installing Tkinter. If I
installed 3.11.0 for my windows 8.1 from python.org and type
>>> import _tkinter
> Traceback (most recent call last):
On 11/21/2022 1:24 PM, Stefan Ram wrote:
darkst...@o2online.de writes:
import _tkinter
I don't know why you get this error message. Here, I do not
get an error message from that line. However, the normal way
to use tkinter, as far as I know, is without the underscore!
You can
Dear list,
I want learn python for 4 weeks and have problems, installing Tkinter. If I
installed 3.11.0 for my windows 8.1 from python.org and type
>>> import _tkinter
> Traceback (most recent call last):
> File "", line 1, in
> Import
On 11/7/2022 10:48 PM, DFS wrote:
3.9.13
Never mind. User error - I didn't install it in the first place.
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 8 Nov 2022 at 15:12, DFS wrote:
>
> 3.9.13
>
My guess? Because you can "import tkinter" in Py3 but "import Tkinter" in Py2.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
3.9.13
--
https://mail.python.org/mailman/listinfo/python-list
uire Tk
> >
> > pack [frame .f1]
> > pack [frame .f2]
> >
> > pack [checkbutton .f1.c1 -text "A" ]
> > pack [checkbutton .f1.c2 -text "B" ]
> >
> > pack [checkbutton .f2.c1 -text "C" ]
> > pack [checkbutton .f
uire Tk
> >
> > pack [frame .f1]
> > pack [frame .f2]
> >
> > pack [checkbutton .f1.c1 -text "A" ]
> > pack [checkbutton .f1.c2 -text "B" ]
> >
> > pack [checkbutton .f2.c1 -text "C" ]
> > pack [checkbutton .f
On 2022-08-01 at 18:53:47 +0100,
Matthew Barnett wrote:
> On 01/08/2022 13:17, Daniel Lee wrote:
> > Hello, I my code with tkinter was working before, and now, it has many
> > errors in it. I’m not sure what has happened. The results after running are
> > below:
> &g
On 01/08/2022 13:17, Daniel Lee wrote:
Hello, I my code with tkinter was working before, and now, it has many errors
in it. I’m not sure what has happened. The results after running are below:
"D:\Python Projects\tes\venv\Scripts\python.exe" "D:/Python
Projects/tes/main.py&q
Hello, I my code with tkinter was working before, and now, it has many errors
in it. I’m not sure what has happened. The results after running are below:
"D:\Python Projects\tes\venv\Scripts\python.exe" "D:/Python
Projects/tes/main.py"
Traceback (most recent call last
On Tue, 21 Jun 2022 at 09:22, Wolfgang Grafen wrote:
> I am an experienced Python user and struggle with following statement:
>
> >>> from tklib import *
> Traceback (most recent call last):
> File "", line 1, in
> ModuleNotFoundError: No module named 'tklib'
[...]
> I did not find a python
e installed by default with every python installation
>which has Tkinter integrated.
>
>https://tk-tutorial.readthedocs.io/en/latest/intro/intro.html?highlight=app#
>
>First time that I cannot help myself. Please help, what do I do wrong?
>
From what I can s
hown above on following of my Python installations:
Anaconda Python 3.8.3, Portable Python 3.9, Python 3.10.1, Python 2.7.10 with
the same negative result.
I also tried to find help by googling - without success. Also I did not find a
python module called tklib to install. Tkinter, ttk is wo
ython installations:
Anaconda Python 3.8.3, Portable Python 3.9, Python 3.10.1, Python 2.7.10 with
the same negative result.
I also tried to find help by googling - without success. Also I did not find a
python module called tklib to install. Tkinter, ttk is working fine.
There are numerous example
On Sat, 18 Jun 2022, Peter J. Holzer wrote:
There is a comma (U+002C) here ...
And a dot (U+002E) here.
That was a typo when I wrote the message. And I usually add a space after
commas and surrounding equal signs, all for easier reading.
Thank you,
Rich
--
1 - 100 of 8391 matches
Mail list logo