Add week 8 materials

This commit is contained in:
osukhoroslov committed 2026-11-04 19:23:39 +03:00
1 parent a987b82834
commit 0bf71ed374
38 files changed
+2908

No files matched your search

@@ -0,0 +1,15 @@
from flask import Flask
import sys
app = Flask(__name__)
if len(sys.argv) < 3:
print('please call with arguments <port> <hostname>')
exit()
@app.route('/')
def index():
return f'Hello from {app.name}\n'
app.name = sys.argv[2]
app.run(host='0.0.0.0', port=int(sys.argv[1]))