NEW: added some test files
This commit is contained in:
parent
d2bf566588
commit
9a7b45a26d
11
py/log-test.py
Executable file
11
py/log-test.py
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/python3
|
||||
import logging
|
||||
|
||||
logging.basicConfig(format='%(levelname)s: %(message)s',level=logging.DEBUG)
|
||||
|
||||
logging.debug('Debug message')
|
||||
logging.info('Info message')
|
||||
logging.warning('Warning message')
|
||||
logging.error('Error message')
|
||||
logging.critical('Critical message')
|
||||
|
7
py/string-test.py
Executable file
7
py/string-test.py
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
msg = ""
|
||||
msg += "Line 1"
|
||||
msg += "Line 2"
|
||||
|
||||
print(msg)
|
Loading…
Reference in New Issue
Block a user