In production, it's important to clearly signal the result of the program's work. For this,
sys.exit(<code>) is used:• 0 — success
• a non-zero value — error
This approach helps CI/CD, Docker or cron to correctly respond to failures. It's mandatory for CLI utilities and automation, so that the execution is predictable
https://t.me/DataScience4
