environ.rst 657 B

  1. The Environment
  2. ---------------
  3. The environment is a global dictionary which is always available in mico
  4. with the keyworkd ``env``. The environment content some information about
  5. the host where mico is working currently and also contain other some useful
  6. things.
  7. The custon environment, available via ``env.custom``, is a dictionary which
  8. contains some variables which are getted from remote host. For example:
  9. .. code-block:: python
  10. print env.custom.ip_address
  11. Will print the IP address of the remote host.
  12. There is full list of available custom environments:
  13. .. automodule:: mico.environ
  14. :members:
  15. :undoc-members:
  16. :show-inheritance: