On Sat, 14 May 2011, Alan Gauld wrote:
Is there any reason you can'tt override in the uisual way by inheritance?
Doh! Of course I should. I've written plenty of classes before, but
never one intended to be inherited, and now that you point it out, it's
obvious that that's what I should be
"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