"Lea Parker" wrote in
Peter has pointred you to the answer, here are some
general comments:
def main():
try:
SDee the recent posts re the scope of try/except handling.
This is probably a bit too much for a single exception type!
# Open file for reading
infile = open
Lea Parker wrote:
[Lea, please reduce the number of empty lines in your posted source code.]
> When you have time I would like some advice on where to go. I have created
> a program that reads charge account numbers from a file. The user is to
> enter a charge account number from the list present
Hello J
When you have time I would like some advice on where to go. I have created a
program that reads charge account numbers from a file. The user is to enter
a charge account number from the list presented and the program should then
tell them whether they have entered a valid or invalid num