Dear All,
during development of a package, I changed the layout. When I started,
I had a module mtx on top level (hence, "import mtx" was possible),
but now it is a sub-module (hence, "import pGroupCohomology.mtx" is
needed).
Problem: I saved some data in the old layout, and now I would like to
be able to read the old data. The problem is that, when loading, the
classes are expected in mtx, not pGroupCohomology.mtx
I now that I can create a fake-mtx module on top-level that just does
the import from the "real" pGroupCohomology.mtx. But is it possible to
fool "import" dynamically? I tried
sage: globals()['mtx'] = pGroupCohomology.mtx
but it didn't help.
Best regards,
Simon
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---