On 2023-01-04 12:32:40 -0500, Thomas Passin wrote:
> On 1/3/2023 10:35 AM, c.bu...@posteo.jp wrote:
> > The logging module write everything to stderr no matter which logging
> > level is used.
>
> The OP wrote this, but it's not so by default.
By default it is - sort of.
That is all log message
On 1/5/2023 6:27 AM, Peter J. Holzer wrote:
On 2023-01-04 12:32:40 -0500, Thomas Passin wrote:
On 1/3/2023 10:35 AM, c.bu...@posteo.jp wrote:
The logging module write everything to stderr no matter which logging
level is used.
The OP wrote this, but it's not so by default.
By default it is
On 2023-01-05 08:31:40 -0500, Thomas Passin wrote:
> The logging system is so configurable that a user could set a different
> destination for each level of logging. So it seems that the O.P.'s original
> question about why the package's developers choose stderr for all levels can
> be answered: "
On 1/5/2023 2:18 PM, Peter J. Holzer wrote:
On 2023-01-05 08:31:40 -0500, Thomas Passin wrote:
The logging system is so configurable that a user could set a different
destination for each level of logging. So it seems that the O.P.'s original
question about why the package's developers choose s
On 2023-01-05, Thomas Passin wrote:
> The logging system is so configurable that...
I find it almost impossible to use unless I copy a working example I
find somewhere. ;)
I'm not at all surprised that the OP didn't understand how it
works. I've been writing Python programs for over 20 years, a
On 1/5/2023 3:29 PM, Grant Edwards wrote:
On 2023-01-05, Thomas Passin wrote:
The logging system is so configurable that...
I find it almost impossible to use unless I copy a working example I
find somewhere. ;)
I'm not at all surprised that the OP didn't understand how it
works. I've been
logging.basicConfig()
logging.info(“Nice to know”)
logging.debug(“Details for when things are funky”)
logging.warn(“Trouble is brewing”)
From: Python-list on
behalf of Grant Edwards
Date: Thursday, January 5, 2023 at 3:31 PM
To: python-list@python.org
Subject: Re: What should go to stdout/stde
On 2023-01-05, Weatherby,Gerard wrote:
> logging.basicConfig()
> logging.info(“Nice to know”)
> logging.debug(“Details for when things are funky”)
> logging.warn(“Trouble is brewing”)
I always seem to need something slightly more complex. Usually something like:
* Specify a log level on the com
On 1/5/2023 4:28 PM, Weatherby,Gerard wrote:
logging.basicConfig()
logging.info(“Nice to know”)
logging.debug(“Details for when things are funky”)
logging.warn(“Trouble is brewing”)
Not quite -
>>> import logging
>>> logging.basicConfig()
>>> logging.info("Nice to know")
>>> logging.debug("Det
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 of asyncio and tkinter and figure out only from
this
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
11 matches
Mail list logo