Re: tkinter and input()

2020-09-29 Thread Terry Reedy
On 9/29/2020 9:48 AM, Pierre Bonville wrote: I have a small problem with the method .quit() of tkinter. What problem? It works for me (3.9 on Win 10). >>> import tkinter as tk >>> r = tk.Tk() >>> b = tk.Button(r, text= r.quit) >>> b = tk.Button(r, text='quit', command=r.quit) >>> b.pack() >>>

Problem

2020-09-29 Thread Ron Villarreal via Python-list
Tried to open Python 3.8. I have Windows 10. Icon won’t open. -- https://mail.python.org/mailman/listinfo/python-list

tkinter and input()

2020-09-29 Thread Pierre Bonville
Hello everybody, I have a small problem with the method .quit() of tkinter. Below is a sketch of a much larger program, which shows the problem. I would like to run the main program but keeping the tk window on the screen until the end. Presently, execution stops after the first "plot" instruction

Re: python if and same instruction line not working

2020-09-29 Thread MRAB
On 2020-09-29 15:42, pascal z via Python-list wrote: I need to change the script commented out to the one not commented out. Why? # for x in sorted (fr, key=str.lower): # tmpstr = x.rpartition(';')[2] # if x != csv_contents and tmpstr == "folder\n": # csv_cont

RE: [RELEASE] Python 3.8.6 is now available

2020-09-29 Thread David Raymond
> Python 3.8.6 is the sixth maintenance release of Python 3.8. Go get it here: > https://www.python.org/downloads/release/python-386/ > Just a quick note that there still seem to be a few places on the website which are still showing 3.8.5

python if and same instruction line not working

2020-09-29 Thread pascal z via Python-list
I need to change the script commented out to the one not commented out. Why? # for x in sorted (fr, key=str.lower): # tmpstr = x.rpartition(';')[2] # if x != csv_contents and tmpstr == "folder\n": # csv_contentsB += x # elif x != csv_contents and tmpstr == "

Re: Logging lib doesn't work

2020-09-29 Thread Alexandre FOURNEL
Le mardi 29 septembre 2020 à 16:33:39 UTC+2, Barry Scott a écrit : > > On 29 Sep 2020, at 15:11, Alexandre FOURNEL > > wrote: > > > > Hi all ! > > > > I'm trying to use logging lib in my python program. > > > > To try this lib, I am using basic code like : > > > > "import logging > > log

Re: Logging lib doesn't work

2020-09-29 Thread Barry Scott
> On 29 Sep 2020, at 15:11, Alexandre FOURNEL > wrote: > > Hi all ! > > I'm trying to use logging lib in my python program. > > To try this lib, I am using basic code like : > > "import logging > logging.basicConfig(filename='pont.txt', filemode='w',format='%(asctime)s > %(message)s', d

Re: stackless python 2.7.9 and openssl-1.1.1g

2020-09-29 Thread Barry Scott
> On 29 Sep 2020, at 13:13, bhashkar prakash Singh > wrote: > > >Get the source of python.org python 2.7.18 and you will > >find that builds without patches >against OpenSSL 1.1.1g. > >I would then diff the C files that do not compile in stackless to look for > >the requ

Logging lib doesn't work

2020-09-29 Thread Alexandre FOURNEL
Hi all ! I'm trying to use logging lib in my python program. To try this lib, I am using basic code like : "import logging logging.basicConfig(filename='pont.txt', filemode='w',format='%(asctime)s %(message)s', datefmt='%d/%m/%Y %H:%M:%S', level=logging.DEBUG) logging.debug('This message shou

Re: stackless python 2.7.9 and openssl-1.1.1g

2020-09-29 Thread bhashkar prakash Singh
>Get the source of python.org python 2.7.18 and you will find that builds without patches >against OpenSSL 1.1.1g. >I would then diff the C files that do not compile in stackless to look for the required fixes. Thanks Barry. Some warnings were left in code after patching cpython files. After fixin