96cf5ad8 by 周伟奇

add test project

1 parent fc765141
1 Cython==0.29.21 1 Cython==0.29.21
2 Nuitka==1.1.6
3 sanic==20.12.7
2 pycryptodome==3.9.9 4 pycryptodome==3.9.9
3 getmac==0.8.2 5 getmac==0.8.2
...\ No newline at end of file ...\ No newline at end of file
......
1 from sanic import Sanic
2 from sanic.response import text
3 from utils.tools import tool_test
4
5 app = Sanic("MyHelloWorldApp")
6
7
8 @app.get("/")
9 async def hello_world(request):
10 return text("Hello, world.")
11
12
13 if __name__ == '__main__':
14 tool_test()
15 app.run(host='0.0.0.0', port=1337, access_log=False)
...\ No newline at end of file ...\ No newline at end of file
1 print('test')
1 def tool_test():
2 print('load utils success')
...\ No newline at end of file ...\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!