raymondcamden’s avatarraymondcamden’s Twitter Archive—№ 63,763

  1. In Python, I can open a file and then do "for line in fileOb:". If I try "for i,x in enumerate(fileOb)" it doesn't work. I'm guessing I can't use enumerate on a file ob. I can use my own index count I suppose.
    1. …in reply to @raymondcamden
      duh - i just looped over the file and appended to a list