.. note:: :class: sphx-glr-download-link-note Click :ref:`here ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_class1.py: Class1 use example ================== Well this is just an illustration. .. rst-class:: sphx-glr-script-out Out: .. code-block:: none 6.0 | .. code-block:: default from __future__ import print_function from sample_module.mod1 import Class1 c = Class1() r = c.a_method(1., 2., 3) print(r) .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.002 seconds) .. _sphx_glr_download_auto_examples_class1.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: sphx-glr-download :download:`Download Python source code: class1.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: class1.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_