librelist archives

« back to archive

Build Array From Text File

Build Array From Text File

From:
Iv0ryW0lf
Date:
2014-02-04 @ 16:54
What is the correct way to parse a text file through flask?  I'm trying to
read a line at a time and add it to an array.  Next I want to display only
the lines I want.  I have tried storing the text file under static and the
app root.  Thanks!

James