Archives mensuelles : avril 2023

date, time and datetime in Python

Module presentation Basic types Aware and Naive instances Create date, time and datetime Create a datetime from a timestamp Date formatting Date computation Date comparison date, time and datetime Modules datetime module : classes for manipulating dates and times. dateutil … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

Traceback module in python

General It provides a standard interface to extract, format and print stack traces of Python programs. It mimics the behavior of the Python interpreter when it prints a stack trace. The module uses traceback objects (of type types.TracebackType), which are … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

faulthandler and sys hook in python

faulthandler module : Dump the Python traceback General Content: functions to dump Python tracebacks explicitly, on a fault, after a timeout, or on a user signal. Signals/Faults handled: SIGSEGV, SIGFPE, SIGABRT, SIGBUS, SIGILL Warning: The fault handler is called on … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

aws load balancer presentation

Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group Elastic Load Balancing types – Application Load Balancer – Network Load Balancer – Gateway Load Balancer – Classic Load Balancer Which usages? Application Load Balancer: … Continuer la lecture

Publié dans Non classé | Laisser un commentaire