09 2021 档案

摘要:Microsoft IIS creates something called AppPool. By default you will have a user IIS AppPool\DefaultAppPool. That user needs to have permissions to you 阅读全文
posted @ 2021-09-28 21:08 CrossPython 阅读(39) 评论(0) 推荐(0) 编辑
摘要:views.py中:定义一个global_settings函数,先把全局变量都引入过来,然后再返回:def global_setting(request):#注意有request参数 SITE_DESC = settings.SITE_DESC SITE_NAME = settings.SITE_N 阅读全文
posted @ 2021-09-28 17:42 CrossPython 阅读(154) 评论(0) 推荐(0) 编辑
摘要:<a href="{{url_for('test')}}">我是测试</a> <button onclick="window.location.href='{{ url_for("test") }}'">点我啊</button> <button onclick="{{ url_for("test") 阅读全文
posted @ 2021-09-25 12:02 CrossPython 阅读(50) 评论(0) 推荐(0) 编辑
摘要:rom flask import Flask,render_template app = Flask(__name__,template_folder='templates',static_folder='static',static_url_path='/static'·) @app.route( 阅读全文
posted @ 2021-09-25 08:49 CrossPython 阅读(30) 评论(0) 推荐(0) 编辑
摘要:for /L %i in (1 1 3) do @(Bwn https://ww****371J?p=%i) 阅读全文
posted @ 2021-09-20 20:46 CrossPython 阅读(39) 评论(0) 推荐(0) 编辑
摘要:conn = ... charset='cp936' 阅读全文
posted @ 2021-09-13 09:45 CrossPython 阅读(202) 评论(1) 推荐(1) 编辑
摘要:Sub test()' Dim s As Collection '定义s变量为集合对象' Set s = New Collection '初始化集合对象s (否则无法使用) Dim s As New Collection '推荐这句代码,直接初始化,可以不用再Set了 '集合s中添加元素的方法 Fo 阅读全文
posted @ 2021-09-12 10:05 CrossPython 阅读(74) 评论(0) 推荐(0) 编辑
摘要:Win + R => 运行 输入:rundll32.exe sysdm.cpl,EditEnvironmentVariables 点击确定,会弹出编辑环境变量窗口 阅读全文
posted @ 2021-09-02 10:42 CrossPython 阅读(215) 评论(0) 推荐(0) 编辑

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