摘要:
import openpyxl wb=openpyxl.load_workbook(r'e:\\玩家表.xlsx') sheet=wb['Worksheet'] row_max=sheet.max_row hw_ls=[] for i in range(2,row_max+1): hw_ls.app 阅读全文
摘要:
# get the list of files ''' 两个比对的文件夹,极其路径中名称不允许出现数字!!! ''' import os import openpyxl import re f_ls_1=os.listdir(r'E:\test-ex') # init list of files f 阅读全文
摘要:
某棋牌活动的漏洞 例 33000乐券入局,三人,首局消耗3300每一千得118,等到118×3,兑换3×1000, 则剩余消耗为300 # init token in game init_token=33000 # money wallet init_money=0 # for retake ret 阅读全文
摘要:
《让繁琐的工作自动化》中有关openpyxl模块中的循环有些不同 书中原话为 for rowOfCellObjects in sheet[' A1':' C3']: ❷ for cellObj in rowOfCellObjects: print( cellObj. coordinate, cell 阅读全文
摘要:
# -*- coding: utf-8 -*- """ Created on Fri Apr 17 20:13:37 2020 @author: ASUS """ # load the file import numpy as np import scipy.special class neural 阅读全文