Re: Learning tkinter - a grid problem

2020-12-06 Thread Sibylle Koczian
Am 05.12.2020 um 19:56 schrieb Paulo da Silva: Hi! Why this example does not work? -- from tkinter import * root=Tk() root.geometry("400x200") S=Scrollbar(root) T=Text(root) ... mainloop() - Shouldn't that be root.mainloop() ? -- https://mail.python

Re: Learning tkinter - a grid problem

2020-12-06 Thread MRAB
On 2020-12-06 08:11, Sibylle Koczian wrote: Am 05.12.2020 um 19:56 schrieb Paulo da Silva: Hi! Why this example does not work? -- from tkinter import * root=Tk() root.geometry("400x200") S=Scrollbar(root) T=Text(root) ... mainloop() - Shouldn't that be

Re: Learning tkinter - a grid problem

2020-12-06 Thread Sibylle Koczian
Am 06.12.2020 um 15:19 schrieb MRAB: On 2020-12-06 08:11, Sibylle Koczian wrote: Am 05.12.2020 um 19:56 schrieb Paulo da Silva: Hi! Why this example does not work? -- from tkinter import * root=Tk() root.geometry("400x200") S=Scrollbar(root) T=Text(root) ... mainloop()

Re: Learning tkinter - a grid problem

2020-12-06 Thread Terry Reedy
On 12/6/2020 3:11 AM, Sibylle Koczian wrote: Am 05.12.2020 um 19:56 schrieb Paulo da Silva: Why this example does not work? -- from tkinter import * root=Tk() root.geometry("400x200") S=Scrollbar(root) T=Text(root) ... mainloop() Shouldn't that be root.mainloop() ? Yes.

Error

2020-12-06 Thread Barry Fitzgerald via Python-list
Good day," I purchased a book for my son and followed the directions to a T. (Coding Games in Python) Whenever I got to the point of of moving the "hello" file over to pgzrun is where my trouble began. Its not finding a path because I'm getting this "pgzrun is not recognized as an internal or e

Re: Error

2020-12-06 Thread dn via Python-list
On 06/12/2020 07:41, Barry Fitzgerald via Python-list wrote: Good day," I purchased a book for my son and followed the directions to a T. (Coding Games in Python) Whenever I got to the point of of moving the "hello" file over to pgzrun is where my trouble began. Its not finding a path because

Re: Error

2020-12-06 Thread Michael Torrie
On 12/5/20 11:41 AM, Barry Fitzgerald via Python-list wrote: > Good day," > > I purchased a book for my son and followed the directions to a T. (Coding > Games in Python) > Whenever I got to the point of of moving the "hello" file over to pgzrun is > where my trouble began. > Its not finding a p

Re: Regarding Regex timeout behavior to minimize CPU consumption

2020-12-06 Thread Barry
> On 5 Dec 2020, at 23:44, Peter J. Holzer wrote: > > On 2020-12-05 23:42:11 +0100, sjeik_ap...@hotmail.com wrote: >> Timeout: no idea. But check out re.compile and re.iterfind as they might >> speed things up. > > I doubt that compiling regular expressions helps the OP much. Compiled > r

Re: Error

2020-12-06 Thread Michael Torrie
On 12/5/20 11:41 AM, Barry Fitzgerald via Python-list wrote: > Good day," > > I purchased a book for my son and followed the directions to a T. > (Coding Games in Python) Whenever I got to the point of of moving the > "hello" file over to pgzrun is where my trouble began. Its not > finding a path

Re: Regarding Regex timeout behavior to minimize CPU consumption

2020-12-06 Thread Dan Stromberg
On Sun, Dec 6, 2020 at 2:37 PM Barry wrote: > > On 5 Dec 2020, at 23:44, Peter J. Holzer wrote: > > > > On 2020-12-05 23:42:11 +0100, sjeik_ap...@hotmail.com wrote: > >> Timeout: no idea. But check out re.compile and re.iterfind as they > might > >> speed things up. > > > > I doubt that com