Difference between revisions of "Except"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
except Exception as e: | except Exception as e: | ||
− | [[logging]].error("Your text: {e}") | + | [[Python logging|logging]].error("Your text: {e}") |
exit() | exit() | ||
Revision as of 14:51, 22 August 2022
except Exception as e:
except Exception as e: logging.error("Your text: {e}") exit()
See also
- Python, PIP, GIL, Flask, Django, Marshmallow,
def
, logging, Pandas, Numpy, AWS Chalice,import
,from
,tuple
,list
, Python exceptions,virtualenv
,.append
,pytz
,TZ
,print
,python3 -c
,os
, PEP, Python Institute, Methods: Dunder methods, Flake8, Python collections, Function decorators in Python, Click python library, Python module, Flower,kwargs
, Black (Python), Python list structure, Mypy,variables
, Casting,try:
, pydoc, argparse, Anaconda,pyenv, setup.py, python3 --version, python3 --help
, Data Classes, raise
Advertising: