ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalcmagnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since ce0a245 was
9c3d784,
checked in by andyfaff, 8 years ago
|
MAINT: using print function
|
-
Property mode set to
100644
|
File size:
926 bytes
|
Rev | Line | |
---|
[aa639ea] | 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 | |
---|
[9c3d784] | 19 | print("copyright information:") |
---|
| 20 | print(" ", analmodelpy.copyright()) |
---|
| 21 | print(" ", analmodelpymodule.copyright()) |
---|
[aa639ea] | 22 | |
---|
[9c3d784] | 23 | print() |
---|
| 24 | print("module information:") |
---|
| 25 | print(" file:", analmodelpymodule.__file__) |
---|
| 26 | print(" doc:", analmodelpymodule.__doc__) |
---|
| 27 | print(" contents:", dir(analmodelpymodule)) |
---|
[aa639ea] | 28 | |
---|
[9c3d784] | 29 | print() |
---|
| 30 | print(analmodelpymodule.hello()) |
---|
[aa639ea] | 31 | |
---|
| 32 | # version |
---|
| 33 | __id__ = "$Id$" |
---|
| 34 | |
---|
| 35 | # End of file |
---|
Note: See
TracBrowser
for help on using the repository browser.