.. _sphx_glr_examples_01_tips_n_tricks:
.. _ref_tips:
PyMechanical tips
=================
This section demonstrates miscellaneous tips and tricks for using PyMechanical.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/01_tips_n_tricks/images/thumb/sphx_glr_example_01_run_python_script_output_thumb.png
:alt:
:ref:`sphx_glr_examples_01_tips_n_tricks_example_01_run_python_script_output.py`
.. raw:: html
Output to different formats and handle an error
.. raw:: html
.. only:: html
.. image:: /examples/01_tips_n_tricks/images/thumb/sphx_glr_example_02_run_python_script_scope_thumb.png
:alt:
:ref:`sphx_glr_examples_01_tips_n_tricks_example_02_run_python_script_scope.py`
.. raw:: html
Test variable and function scope
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/examples/01_tips_n_tricks/example_01_run_python_script_output
/examples/01_tips_n_tricks/example_02_run_python_script_scope