magnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249unittest-saveload
Last change
on this file since b011ecb was
9c3d784,
checked in by andyfaff, 8 years ago
|
MAINT: using print function
|
-
Property mode set to
100644
|
File size:
926 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | # |
---|
3 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4 | # |
---|
5 | # Michael A.G. Aivazis |
---|
6 | # California Institute of Technology |
---|
7 | # (C) 1998-2005 All Rights Reserved |
---|
8 | # |
---|
9 | # <LicenseText> |
---|
10 | # |
---|
11 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
12 | # |
---|
13 | |
---|
14 | if __name__ == "__main__": |
---|
15 | |
---|
16 | import analmodelpy |
---|
17 | from analmodelpy import analmodelpy as analmodelpymodule |
---|
18 | |
---|
19 | print("copyright information:") |
---|
20 | print(" ", analmodelpy.copyright()) |
---|
21 | print(" ", analmodelpymodule.copyright()) |
---|
22 | |
---|
23 | print() |
---|
24 | print("module information:") |
---|
25 | print(" file:", analmodelpymodule.__file__) |
---|
26 | print(" doc:", analmodelpymodule.__doc__) |
---|
27 | print(" contents:", dir(analmodelpymodule)) |
---|
28 | |
---|
29 | print() |
---|
30 | print(analmodelpymodule.hello()) |
---|
31 | |
---|
32 | # version |
---|
33 | __id__ = "$Id$" |
---|
34 | |
---|
35 | # End of file |
---|
Note: See
TracBrowser
for help on using the repository browser.