摘要:
#格式化时间 def datetimeformat(value,fmt="%Y-%m-%d %H:%M"): return strftime(fmt) app =Flask(__name__) app.jinja_env.filters['datetimeformat'] = datetimefor 阅读全文
摘要:
Option Explicit Private Declare Sub MoveMemory Lib "kernel32" Alias "RtlMoveMemory" _ (Destination As Long, Source As Long, ByVal Length As Long) Priv 阅读全文
摘要:
Declare PtrSafe Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hwnd As Long, ByVal lpszOp As String, _ ByVal lpszFile As Strin 阅读全文
摘要:
Sub createFolder() Dim wks As Worksheet On Error Resume Next Set wks = ThisWorkbook.Worksheets(1) basepath = ThisWorkbook.Path & "\" Max = wks.Range(" 阅读全文
摘要:
app.py @app.route('/register', methods=['GET', 'POST']) def register(): if request.method == 'POST': username = request.form['username'] password = re 阅读全文
摘要:
page.html <!--这个是分页展示下面的页码--> {%macro my_paginate(pagination,url)%} <nav> <ul class="pagination"> {%if pagination.has_prev%} <li class="page-item acti 阅读全文
摘要:
database.py from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() config.py import os from database import db from flask import Flask basedir=os.p 阅读全文
摘要:
SELECT DISTINCT 成绩表.分数 FROM 成绩表 WITH OWNERACCESS OPTION; 阅读全文
摘要:
function mainMenu { $mainMenu = 'X' while($mainMenu -ne ''){ Clear-Host Write-Host "`n`t`t My Script`n" Write-Host -ForegroundColor Cyan "Main Menu" W 阅读全文
摘要:
虽然IE已经过时,微软已经不再支持IE,已经全面切换到了Edge,尽管edge人有ie兼容模式但是一些老的web应用仍然状况频出,但是IE 已经不能直接打开了。 于是只能周曲线了,可以通过powershell脚本来运行IE,具体如下。 $Url = "https://127.0.0.1/defaul 阅读全文