Re: [Tutor] Needing help with my account tracker program.

2006-06-23 Thread Bob Gailer
Nathan Pinno wrote: > Hey all, > > I was wondering if you could help me fix a glitch in my program that's > preventing it from running. > > Here's the code: > accountlist = [] accountlist = {} # dictionary rather than list > > def load_file(ac): > import os > filename = 'accounts.txt

[Tutor] Needing help with my account tracker program.

2006-06-23 Thread Nathan Pinno
Hey all,   I was wondering if you could help me fix a glitch in my program that's preventing it from running.   Here's the code: accountlist = []   def load_file(ac):    import os    filename = 'accounts.txt'    if os.path.exists(filename):    store = open(filename, 'r')    for line