On 2019-08-02 16:47, Malcolm Greene wrote:
They same naming is one of the two biggest challenges when it comes to
software. Or one of three if you count the "off-by-one" joke :)
Anyways, I'm looking for help coming up for the proper name for a
class that collects the following type of telemetry
On 03/08/2019 00:47, Malcolm Greene wrote:
> Anyways, I'm looking for help coming up for the proper name for a class that
> collects the following type of telemetry data
Classes should never be named for their data but for their function.
What does this class do? What operations does it support.
On 02Aug2019 17:47, Malcolm Greene wrote:
They same naming is one of the two biggest challenges when it comes to software. Or one
of three if you count the "off-by-one" joke :)
Anyways, I'm looking for help coming up for the proper name for a class that
collects the following type of telemetr
They same naming is one of the two biggest challenges when it comes to
software. Or one of three if you count the "off-by-one" joke :)
Anyways, I'm looking for help coming up for the proper name for a class that
collects the following type of telemetry data that we use for operational
analysis.
On 02Aug2019 11:26, bob gailer wrote:
And now for something completely different...
Decorators are not required to return a function!
I use them to create a dictionary that maps function names to the
corresponding function object.
That is an interesting idea! But I want to counter it, briefly
And now for something completely different...
Decorators are not required to return a function!
I use them to create a dictionary that maps function names to the
corresponding function object.
This is very useful when associating actions with user-entered commands.
Example:
def collect(fun
On 7/31/19 11:57 AM, Gursimran Maken wrote:
> Hi,
>
> Anyone could please let me know the difference between decorators and
> inheritance in python.
>
> Both are required to add additional functionality to a method then why are
> we having 2 separate things in python for doing same kind of work.
Hi Alan,
thanks for that!
I realise I provided quite a lot of unnecessary info, but I've been
bitten a few times with the not providing enough so thought it best.
Thanks again for confirming my thoughts, that's very helpful.
Nate
On 02/08/2019 01:27, Alan Gauld via Tutor wrote:
> On 01/08/20
Thank you Alan,
- from previous mail
> if any(logleveltocheck.upper() in lf for lf in ['DEBUG',
> 'INFO', 'WARNING', 'ERROR', 'CRITICAL']):
> return logleveltocheck.upper()
Are you sure that is what you want? It seems very complicated unless you
are allowing
Thanks Alan,
I learn alot.
logger.setLevel('INFO') <- If I did not include this in the code it
not generating any log I am confuse because I have setLevel to file_handler
and to stream_handler
file_handler.setLevel('DEBUG')
stream_handler.setLevel('DEBUG')
On Fri, Aug 2, 2019 at 12:14 AM
10 matches
Mail list logo