Skip to content

Commit

Permalink
sheetnum = str(sheetnum)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbradshaw committed Apr 5, 2017
1 parent 53e9443 commit 57fca02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scraper.py
Expand Up @@ -36,6 +36,7 @@
#now to loop through the 'sheetsrange' variable (a list) and put each item in 'sheetnum'
for sheetnum in sheetsrange:
print "scraping sheet ", sheetnum
sheetnum = str(sheetnum)
#use the sheet_by_index method to open the first (0) sheet in variable 'book' - and put it into new variable 'sheet'
sheet = book.sheet_by_index(sheetnum)
#use the row_values method and index (1) to grab the second row of 'sheet'
Expand Down

0 comments on commit 57fca02

Please sign in to comment.