if __name__ == '__main__':
    app.run(debug=True, port=5050)

进行配置

pycharm运行flask时指定端口

 

pycharm运行flask时指定端口

 

相关文章: