04 2021 档案

摘要:1.下载python 2.安装python,安装完成后在系统环境变量中配置python安装路径和E:\python\Scripts路径。 3.使用命令安装库 pip install pyinstaller 4.进入你的xx.py的文件中使用该命令打包 pyinstaller -F xx.py -w 阅读全文
posted @ 2021-04-22 10:47 拷贝达人 阅读(567) 评论(0) 推荐(0)
摘要:1.以管理员身份打开cmd窗口2.进入安装mysql的bin目录、3.命令net start mysql开启服务4.mysql -u root -p 管理员登陆5.输入旧密码后进入数据库6.输入ALTER USER 'root'@'localhost' IDENTIFIED BY '新密码'; 阅读全文
posted @ 2021-04-14 16:25 拷贝达人 阅读(172) 评论(0) 推荐(0)
摘要:path_html = str(path_f) # 原来的html文件 file_name = str(os.path.basename(path_f)).split('.')[0] new_excel_path = os.getcwd() + '\\' + file_name io = str(n 阅读全文
posted @ 2021-04-09 10:40 拷贝达人 阅读(1530) 评论(0) 推荐(0)
摘要:self.driver.execute_script("document.getElementById('date_tradebegindate_62180').removeAttribute('readonly');") log.info("清空输入框无法输入的属性") # 等待2秒 time.s 阅读全文
posted @ 2021-04-09 10:33 拷贝达人 阅读(105) 评论(0) 推荐(0)
摘要:import pandas as pd file_path = r'D:\test.html' html_data = pd.read_html(file_path)[0] values = html_data.values.tolist() 阅读全文
posted @ 2021-04-08 12:04 拷贝达人 阅读(70) 评论(0) 推荐(0)