11 2019 档案

摘要:1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 # @Time : 2019/11/12 14:21 4 # @Author : zoulixiang 5 # @Site : 6 # @File : Rsync_day_tom.py 7 # @ 阅读全文
posted @ 2019-11-15 16:28 Mr.zou 阅读(930) 评论(0) 推荐(0) 编辑
摘要:#类的继承 class As1(): def As2(self): print("he11...") class As2(As1): def As2(self): print("he22 ....") a1 = As2() a1.As2() 阅读全文
posted @ 2019-11-05 16:06 Mr.zou 阅读(155) 评论(0) 推荐(0) 编辑
摘要:1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 # @Time : 2019/11/2 20:53 4 # @Author : zoulixiang 5 # @Site : 6 # @File : s2.py 7 # @Software: PyCharm 8 9 from flask import Flask,render_template, 阅读全文
posted @ 2019-11-03 21:03 Mr.zou 阅读(236) 评论(0) 推荐(0) 编辑
摘要:1 from flask import Flask 2 #实例化Flask对象 3 app = Flask(__name__) #传入当前的文件名__name__ 4 5 #将‘/’ 和函数index的对应关系添加到路由中 6 """ 7 { 8 '/':index 9 } 10 """ 11 12 @app.route('/') 13 def hello_world(): 14 return ' 阅读全文
posted @ 2019-11-01 15:14 Mr.zou 阅读(128) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示