- Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathexample.py
More file actions
Latest commit
15 lines (13 loc) · 394 Bytes
/
Copy pathexample.py
File metadata and controls
15 lines (13 loc) · 394 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""
This module demonstrates the use of the python_licensing library.
"""
frompython_licensingimportlicensed
@licensed('https://127.0.0.1:5001')
defmain():
"""
This function prints a message and waits for the user to press any key.
"""
print("The body of the licensed function has been executed.")
input("Press any key to exit.")
if__name__=='__main__':
main()