pull/6/head
injetlee 2016-07-01 13:34:58 +08:00
parent 5e12f0c01e
commit 04ecaaaa5e
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
/no_use
/no_use
*.xlsx

View File

@ -5,7 +5,7 @@ wb = Workbook()
dest_filename = 'empty_book2.xlsx'
ws1 = wb.active #第一个表
ws1.title = "range names" #第一个表命名
#遍历第一个表的1到40行赋值一个600内的随机数
#遍历第一个表的1到40行赋值一个600内的随机数
for row in range(1,40):
ws1.append(range(60))
ws2 = wb.create_sheet(title="Pi")