flying-wyf

2017年5月21日

python编程快速上手之第15章实践项目参考答案(15.12.1)

摘要: #! python3 # stopwatch.py - A simple stopwatch program. import time,pyperclip # Display the program's instructions. print('Press enter to begin. Afterwards, press ENTER to "click" the stopwatch. Pr... 阅读全文

posted @ 2017-05-21 21:42 flying-wyf 阅读(455) 评论(1) 推荐(0)

python编程快速上手之第14章实践项目参考答案(14.9)

摘要: import openpyxl,csv,os os.chdir('C:\\Users\\Administrator\\Python35-32\\test\\excelToCSV') for excelFile in os.listdir('.'): if not excelFile.endswith('.xlsx'): continue wb = openpyxl.load_w... 阅读全文

posted @ 2017-05-21 15:18 flying-wyf 阅读(205) 评论(0) 推荐(0)

python编程快速上手之第13章实践项目参考答案(13.6.3)

摘要: import os,PyPDF2 os.chdir('C:\\Users\\Administrator\\Python35-32') dict=open('C:\\Users\\Administrator\\Python35-32\\dictionary.txt')#读入字典 pdfReader = PyPDF2.PdfFileReader(open('encryptedminutes.pdf'... 阅读全文

posted @ 2017-05-21 00:57 flying-wyf 阅读(201) 评论(0) 推荐(0)

python编程快速上手之第13章实践项目参考答案(13.6.2)

摘要: #! python3 # encoding: UTF-8 import os import docx from docx import Document from docx.shared import Pt from docx.shared import Inches os.chdir('C:\\Users\\Administrator\\Python35-32') doc = docx.Do... 阅读全文

posted @ 2017-05-21 00:56 flying-wyf 阅读(215) 评论(0) 推荐(0)

导航