NEW: added some test files

This commit is contained in:
xpk 2023-07-17 14:10:28 +08:00
parent d2bf566588
commit 9a7b45a26d
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86
2 changed files with 18 additions and 0 deletions

11
py/log-test.py Executable file
View 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
View File

@ -0,0 +1,7 @@
#!/usr/bin/python3
msg = ""
msg += "Line 1"
msg += "Line 2"
print(msg)