#encoding:utf-8 import os import sys import re import json import base64 import zlib import requests import flask def main(): if len(sys.argv)==1: print("usage: %s run.py"%sys.argv[0]) file = "run.py" else: file = sys.argv[1] exec(open(file, encoding="utf-8").read()) if "__main__"==__name__: main()
from flask import Flask app = Flask(__name__) @app.route("/", methods = ["GET"]) def index(): return "Hello World." app.run("0.0.0.0", 80)
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)