use log instead of print
This commit is contained in:
parent
625420c5f6
commit
0ae6ce5e88
10 changed files with 54 additions and 19 deletions
6
test.py
6
test.py
|
|
@ -1,3 +1,9 @@
|
|||
import logging
|
||||
|
||||
FORMAT = "[%(levelname)s] %(name)s %(filename)s:%(lineno)d: %(message)s"
|
||||
logging.basicConfig(format=FORMAT)
|
||||
logging.getLogger().setLevel(logging.INFO)
|
||||
|
||||
import androscalpel as asc
|
||||
import zipfile as z
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue