摘要:
1.Connection 对象用于建立与数据库的连接 创建对象:调用connect()方法 conn=connect(参数列表)参数host:连接的mysql主机,如果本机是'localhost'参数port:连接的mysql主机的端口,默认是3306参数database:数据库的名称参数user:
阅读全文
posted @ 2020-03-20 14:21
喻解
阅读(719)
推荐(0)
摘要:
数据库特性:1.原子性、2.一致性、3.隔离性、4.持久性 1.use/show/create datebase; 2.distinct 去重 例:SELECT DISTINCT country FROM Websites; 3.分页limitselect * from 表名 limit start
阅读全文
posted @ 2020-03-20 14:02
喻解
阅读(120)
推荐(0)
摘要:
由于业务需要,VBA又不适合于不熟悉代码的同事使用 因此将原来的VBA代码改成Python代码并封装,后续有机会在进行改善 完整代码 import xlrd import xlwt from xlutils.copy import copy from tkinter import * def run
阅读全文
posted @ 2019-09-28 22:11
喻解
阅读(877)
推荐(0)
摘要:
from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains import time from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.wait import
阅读全文
posted @ 2019-08-21 13:35
喻解
阅读(266)
推荐(0)
摘要:
一、系统命令 1.读取类 ls 显示所有文件 ls -alh 显示隐藏文件 ls -alh | more 通过管道显示命令 ls > test.txt 重定向 ls >> test.txt 尾部连接 cd 进入 cd.. 退出 cd - cd ~ 根目录 Tab键 自动补全 pwd 显示当前路径 c
阅读全文
posted @ 2019-07-09 15:54
喻解
阅读(131)
推荐(0)
摘要:
一、线程 1、一般多线程 1 import time 2 import threading 3 4 5 def sing(): 6 for i in range(5): #调用Thread不会创建线程, 7 print(" test ") #调用Thread创建的实例对象start会创建 8 tim
阅读全文
posted @ 2019-06-30 22:48
喻解
阅读(753)
推荐(0)
摘要:
1、基本内容 骨架<!DOCTYPE html> #文件类型<html><head><meta charset="utf-8"> #编码<title>https://www.cnblogs.com/ybxw/</title></head><body> <h1>我的第一个标题</h1> <p>我的第一
阅读全文
posted @ 2019-06-20 16:33
喻解
阅读(185)
推荐(0)