上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: 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 拷贝达人 阅读(523) 评论(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 拷贝达人 阅读(159) 评论(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 拷贝达人 阅读(1406) 评论(0) 推荐(0) 编辑
摘要: self.driver.execute_script("document.getElementById('date_tradebegindate_62180').removeAttribute('readonly');") log.info("清空输入框无法输入的属性") # 等待2秒 time.s 阅读全文
posted @ 2021-04-09 10:33 拷贝达人 阅读(98) 评论(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 拷贝达人 阅读(55) 评论(0) 推荐(0) 编辑
摘要: import datetime def get_month_zone(before_day=1): today = datetime.date.today() day = today.day year = today.year month = today.month if day > before_ 阅读全文
posted @ 2021-02-25 10:21 拷贝达人 阅读(127) 评论(0) 推荐(0) 编辑
摘要: from selenium import webdriver from selenium.webdriver.chrome.options import Options import os import time def get_image(url, pic_name): # chromedrive 阅读全文
posted @ 2021-02-25 09:58 拷贝达人 阅读(339) 评论(0) 推荐(0) 编辑
摘要: import datetime import calendar def get_next_month(): # 获取当前日期 now_time = datetime.datetime.now() # 获取当前时间的星期数和月数 week, days_num = calendar.monthrange 阅读全文
posted @ 2021-02-03 11:01 拷贝达人 阅读(776) 评论(0) 推荐(0) 编辑
摘要: def merge_excel_data(folder_path, result_file_path, file_name_list): """ :param folder_path: 文件夹路径 :param result_file_path: 汇总文件绝对路径 :param file_name_ 阅读全文
posted @ 2021-01-18 18:29 拷贝达人 阅读(358) 评论(0) 推荐(0) 编辑
摘要: def get_target_date(): start_date = str(date.today() - timedelta(45)) end_date = str(date.today() - timedelta(15)) return start_date, end_date 阅读全文
posted @ 2021-01-18 11:59 拷贝达人 阅读(324) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页