自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 185

原创 python编程快速上手 13.14.2 空行插入程序

在自学python编程快速上手,12章遇到了selenium模块,其中安装selenium模块,有编写错误,多了一个‘f',实际应为"pip3 install selenium",我并没有和书里要求一样,下载FIREFOX,而是直接使用了了Chrome,在实际启动Chrome的过程中,遇到了些问题,往上搜的webdriver一定是文件名一定为chromedrive的文件,并且图标类似于windows的可执行文件...

2021-10-29 14:29:26 210

原创 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 237 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 1284

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除