02 2022 档案
摘要:select * from sqlserver, convert(date, 23) => YYYY-MM-DD pandas convert to date, drop time part, df2['ym1'] = pd.to_datetime(df2['ym']).dt.date
阅读全文
摘要:Public Sub getMyGroup() On Error Resume Next intRow = 18 intCol = 4 On Error Resume Next Set objADSysInfo = CreateObject("ADSystemInfo") strUser = obj
阅读全文
摘要:资源:内存区块。不同的内存区块位置和大小就是不同的资源。 strlet a = "xxx".to_string(); 含义:a绑定到字符串资源A上,拥有资源A的所有权 let mut a = "xxx".to_string(); 含义:a绑定到字符串资源A上,拥有资源A的所有权,同时a还可绑定到新的
阅读全文
摘要:1.设置settings.py DEBUG = False ALLOWED_HOSTS = ["*"] ... STATIC_ROOT = os.path.join(BASE_DIR, 'static') STATIC_URL = '/static/' 2.修改项目的urls.py from dja
阅读全文