- 博客(2)
- 问答 (2)
- 收藏
- 关注
原创 使用flask模块,登录http://127.0.0.1:5000/,浏览器报错The requested URL was not found on the server. If you entere
使用flask模块,登录http://127.0.0.1:5000/,浏览器报错The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.在pycharm写一个简单的flask脚本,终端返回http://127.0.0.1:5000/,登录这个URL报404的错,已经写路由了,各位大神求解...
2020-08-18 16:07:32
38779
23
原创 python---with语句的用法
使用with语句,不需要close也能关闭,也不需要try...except...finally来解决异常,使代码更简洁。下面比较一下两种方法:第一种方法:第二种方法(使用with):...
2019-10-28 23:31:51
243
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人