随笔分类 - python3
该文被密码保护。
该文被密码保护。
该文被密码保护。
该文被密码保护。
该文被密码保护。
摘要:查看当前数据库中的所有表名:select name from sqlite_master where type='table' order by name查看当前表的字段名:PRAGMA table_info(Alert)文本颜色模块:colorama url:http://www.jb51.ne...
阅读全文
摘要:#coding:utf-8from tkinter import *from tkinter import filedialogroot = Tk()root.filename = filedialog.askopenfilename(initialdir = "d:/",title = "选择...
阅读全文
摘要:最简单的服务端和客户端代码:服务端:import socket //导入socket模块s=socket.socket() //利用socket中的socket()函数创建套接字对象shost=socket.gethostname() //利用socket模块中的gethostname()函...
阅读全文
摘要:首先要将时间中秒后面的.及其以后的部分去掉,否则时间转换函数currenttime=str((datetime.datetime.today())).split('.',2)[0]str((datetime.datetime.today()).replace(hour=0,minute=0,seco...
阅读全文

浙公网安备 33010602011771号