API Reference for Enthought Tool Suite 3.0.1
logger = logging.getLogger(__name__)
Reads a project from a pickle file and if necessary will update it to the latest version of the application.
Repeatedly read and write the project to disk updating it one version at a time.
Example the p5.project is at version 0 The application is at version 3
p5.project --- Update1 ---> p5.project.v1 p5.project.v1 --- Update2 ---> p5.project.v2 p5.project.v2 --- Update3 ---> p5.project.v3 p5.project.v3 ---> loaded into app
The user then has the option to save the updated project as p5.project
| Local name | Refers to |
|---|---|
| logging | logging |
| pickle | pickle |
| sys | sys |
| VersionedUnpickler | enthought.persistence.versioned_unpickler.VersionedUnpickler |
© Copyright 2002-2008 Enthought, Inc.