source: sasview/src/sas/sascalc/simulation/pointsmodelpy/tests/signon.py @ 58a255b

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 58a255b was a1b8fee, checked in by andyfaff, 8 years ago

MAINT: from future import print_function

  • Property mode set to 100644
File size: 985 bytes
RevLine 
[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#
[a1b8fee]13from __future__ import print_function
14
[aa639ea]15
16if __name__ == "__main__":
17
18    import pointsmodelpy
19    from pointsmodelpy import pointsmodelpy as pointsmodelpymodule
20
[9c3d784]21    print("copyright information:")
22    print("   ", pointsmodelpy.copyright())
23    print("   ", pointsmodelpymodule.copyright())
[aa639ea]24
[9c3d784]25    print()
26    print("module information:")
27    print("    file:", pointsmodelpymodule.__file__)
28    print("    doc:", pointsmodelpymodule.__doc__)
29    print("    contents:", dir(pointsmodelpymodule))
[aa639ea]30
[9c3d784]31    print()
32    print(pointsmodelpymodule.hello())
[aa639ea]33
34# version
35__id__ = "$Id$"
36
37#  End of file
Note: See TracBrowser for help on using the repository browser.