import multiprocessing, time, os# def pro(name):# print('hello', name, time.ctime())## if __name__ == '__main__':# l = []# for t in range(4):# t = mul ...
分类:
系统相关 时间:
2021-06-08 23:20:39
阅读次数:
0
1、 #include <stdio.h> #include <time.h> // time_t数据类型,日历时间头文件 int main(void) { time_t current = time(NULL); // 利用time函数获取日历时间(返回1970之后的秒数,整型) struct t ...
分类:
编程语言 时间:
2021-06-08 23:04:50
阅读次数:
0
一、nginx日志结构 nginx中access.log 的日志结构: $remote_addr 客户端地址 211.28.65.253 $remote_user 客户端用户名称 -- $time_local 访问时间和时区 18/Jul/2012:17:00:01 +0800 $request 请 ...
分类:
其他好文 时间:
2021-06-08 22:56:51
阅读次数:
0
PermissionError: [Errno 13] Permission denied:字段里不能有空格 执行文件 from docxtpl import DocxTemplatefrom datetime import datetimeimport timeimport datetimeimp ...
分类:
其他好文 时间:
2021-06-08 22:49:54
阅读次数:
0
python客户端代码,可直接使用 import websocket import json import time import threading class WebsocketClient(object): """docstring for WebsocketClient""" def __i ...
分类:
编程语言 时间:
2021-06-07 21:05:52
阅读次数:
0
docker - 离线安装【因为是虚机,在线安装试了很久,各种方法都找了,最后还是没有成功,最后采用离线安装的方式,成了,所以只记录离线安装的方法】 docker一般安装在linux7以上,内核3.1以上。 查看内核: uname -a lsb_release -a 安装文件下载地址:https:/ ...
分类:
系统相关 时间:
2021-06-07 20:08:47
阅读次数:
0
Preliminaries Linux Basics Change Password: passwd shutdown: sudo shutdown -h 3 (broadcast to all users in 3 mins) reboot: sudo reboot -r now create a ...
分类:
其他好文 时间:
2021-06-06 18:53:34
阅读次数:
0
# -*- coding: utf-8 -*- import urllib import urllib2 import re import json import xlwt import time workbook = xlwt.Workbook(encoding='utf-8') #新建一个Exc ...
分类:
其他好文 时间:
2021-06-05 18:28:32
阅读次数:
0
private void txtMaxCount_TextChanged(object sender, EventArgs e) { //替换非数字 this.txtMaxCount.Text = Regex.Replace(this.txtMaxCount.Text, @"[^\d]*", "") ...
存储字段 eg: <script type="text/javascript"> $('#option_btn').change(function () { project_id = $('#option_btn').val(); var project_ids = $('#option_btn') ...
分类:
其他好文 时间:
2021-06-05 18:11:43
阅读次数:
0