home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 May / maximum-cd-2010-05.iso / DiscContents / boxee-0.9.20.10711.exe / system / python / Lib / lib-old / util.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-07-20  |  542 b   |  18 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.4)
  3.  
  4.  
  5. def remove(item, list):
  6.     if item in list:
  7.         list.remove(item)
  8.     
  9.  
  10.  
  11. def readfile(fn):
  12.     return readopenfile(open(fn, 'r'))
  13.  
  14.  
  15. def readopenfile(fp):
  16.     return fp.read()
  17.  
  18.