ticket-1094-headless
Last change
on this file since 3388337 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.