Guest User

Untitled

a guest
Feb 17th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. exel_rows = open("Rows.txt", "r")
  2.  
  3. exel_rows = exel_rows + 1
  4.  
  5. exel_rows = str(exel_rows)
  6.  
  7. saveFile = open('Rows.txt', 'w')
  8. saveFile.write(exel_rows)
  9. saveFile.close()
  10.  
  11. Traceback (most recent call last):
  12. File "C:UsersFletcherDesktopBank.py", line 158, in <module>
  13. exel_rows = exel_rows + 1
  14. TypeError: unsupported operand type(s) for +: '_io.TextIOWrapper' and 'int'
Add Comment
Please, Sign In to add comment