initial creation

This commit is contained in:
2025-05-20 11:57:43 -04:00
commit c98b612926
8447 changed files with 1862526 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env python
import logging
logging.basicConfig( # <1>
filename='../TEMP/exception.log',
level=logging.WARNING, # <2>
)
for i in range(3):
try:
result = i/0
except ZeroDivisionError:
logging.exception('Logging with exception info') # <3>