"Richard D. Moores" <rdmoo...@gmail.com> wrote

By golly, you're right! Your point led to changes in 4 lines, the ones
highlighted: <http://tutoree7.pastebin.com/xDUfUAET>

Its a Good Thing(TM) to keep your interface specs consistent so
I'd change the order of the parameters in repickling() to match
those in create_pickle_file()

For bonus points create a PickleFile class that has dump(),
load() and repickle() methods - and uses __init__() for create obviously.
The class can store the file name for convenience.

HTH,

--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to