Home | Trees | Indices | Help |
|
---|
|
object --+ | MovieChartFile
This class represents files which contain IMDB movie charts. It
provides a method read_all
for reading the movie data from
such files.
A movie chart file is expected to contain the data for one movie per line, with each line containing the rating, year, title and director of the movie, separated by '#' characters. E.g. :
9.1 # 1972 # The Godfather # Francis Ford Coppola 9.0 # 1994 # The Shawshank Redemption # Frank Darabont
|
|||
|
|||
list |
|
||
Inherited from |
|
|||
Inherited from |
|
Creates a new file reader object which reads its data from the file at the given location.
|
Reads all the movie objects, in order, from the file.
Note: raises IOError if the file could not be read or its contents are invalid |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 20 12:02:12 2012 | http://epydoc.sourceforge.net |