- 博客(4)
- 问答 (1)
- 收藏
- 关注
原创 python编程快速上手 13.14.3 电子表格单元格翻转程序
Mac代码,windows未知import openpyxlwb = openpyxl.load_workbook('要翻转的表格')sheet = wb.activenwb = openpyxl.Workbook()sheet2 = nwb.activefor i in range(1, sheet.max_row + 1):for j in range(1, sheet.max_column + 1):sheet2.ce...
2021-10-29 14:46:25 188
原创 python编程快速上手 13.14.2 空行插入程序
在自学python编程快速上手,12章遇到了selenium模块,其中安装selenium模块,有编写错误,多了一个‘f',实际应为"pip3 install selenium",我并没有和书里要求一样,下载FIREFOX,而是直接使用了了Chrome,在实际启动Chrome的过程中,遇到了些问题,往上搜的webdriver一定是文件名一定为chromedrive的文件,并且图标类似于windows的可执行文件...
2021-10-29 14:29:26 213
原创 Python编程快速上手 13.14.1 乘法表
Mac代码,windows未知import sys, openpyxlfrom openpyxl.utils import get_column_letter, column_index_from_stringfrom openpyxl.styles import Fontwb = openpyxl.Workbook()sheet = wb.activesheet.title = 'Num'for i in range(1, int(sys.argv[1]) + 1):f
2021-10-29 12:04:48 238 1
原创 Python编程快速上手-让繁琐工作自动化第二版
mac版代码,windows未知10.8.1 选择性复制import os, shutilfrom pathlib import Pathp = Path('原始文件位置')tarp = '目标文件位置'for foldername, subfolders, filenames in os.walk(p):print('Running os.walk step......')print('The current folder is ' + foldername).
2021-10-13 13:45:42 1289
空空如也
mac安装pyspider一直报错,尝试各种方法无效
2021-11-22
TA创建的收藏夹 TA关注的收藏夹
TA关注的人