little help

Psybar Phreak psybar_phreak at yahoo.com
Sun May 11 00:21:31 EDT 2003


would anyone know why this isn't working?

for diaryname in filesInDir:
 InFile = open(diaryname, 'r')
 lines = InFile.readlines()
 InFile.close()

 diaryTitle = lines[0].strip()
 diaryDesc = lines[1].strip()


thanks!






More information about the Python-list mailing list