getWeixinPro.py
# coding:utf-8
import sys,re,xlrd
from xlwt import *
reload(sys)
sys.setdefaultencoding('utf8')
from uiautomator import device as d
import unittest
import time
#打开excel
def openExcel(file):
try:
data = xlrd.open_workbook(file)
return data
except Exception as e:
print (str(e))
def floatToInt(list):
realList = []
for value in list:
if (type(value) == float):
value = str(value)
val