Re: Instant File I/O

2011-03-24 Thread Jordan Meyer
That did the trick! Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Instant File I/O

2011-03-24 Thread Charles
"jam1991" wrote in message news:c0c76bc4-8923-4a46-9c36-6e1a0375f...@l11g2000yqb.googlegroups.com... [snip] > they sign into the program with; however, this information doesn't > appear in the file until after the program has closed. This poses a > problem for retrieving the up-to-date statistic

Re: Instant File I/O

2011-03-23 Thread Dan Stromberg
I'm not familiar with linecache.clearcache(), but did you flush the data to the filesystem with file_.flush() ? On Wed, Mar 23, 2011 at 9:53 PM, jam1991 wrote: > I'm trying to build a feature on to a text-based game that I've been > working on that would allow users to view their stats. Informat

Instant File I/O

2011-03-23 Thread jam1991
I'm trying to build a feature on to a text-based game that I've been working on that would allow users to view their stats. Information is stored in a flat text database file that is given the same name that they sign into the program with; however, this information doesn't appear in the file until