That did the trick! Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
"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
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
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