Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. # Define variables
  2. switch1 = 1
  3. count = 0
  4. rowx = 0
  5. colx = 0
  6.  
  7. # Loop
  8. while switch1 == 1 and count < totalCells:
  9. print "AAAA"
  10.  
  11. cellValue = "Long string in here....."
  12.  
  13. if sh.cell_value(rowx=0, colx=0) == cellValue:
  14. print "BBBB"
  15. switch1 = 0
  16.  
  17. rowx += 1
  18. colx += 1
  19. count += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement