Boris Ozegovic wrote: > Boris Ozegovic wrote: > >> [EMAIL PROTECTED] wrote: >> >>> Files aren't lists and thus don't have the functions for iteration. >> >> They do have iterator: >> >> C:\Documents and Settings\Silovana Vjeverica\Desktop>python FileReader.py >> 'import site' failed; use -v for traceback >> boris ozegovic >> vedran ozegovic > > But apparently not in Jython... Only Python.
Iterable files were introduced in Python 2.2. Jython implements Python2.1, it seems. Peter -- http://mail.python.org/mailman/listinfo/python-list