Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 795 Bytes

Get-started.rst

File metadata and controls

40 lines (28 loc) · 795 Bytes

Python Quick Start

Contents

Project

  • Create workdir.
  • Add conf.py with configuration dictionary CNFG.
  • Pass CNFG to :func:`pycnfg.run` .

Code

:github:`github repo </examples/simplest>`

conf.py:

.. literalinclude:: /../../examples/simplest/conf.py
   :language: python

Shortened version using :mod:`pycnfg` features :

.. literalinclude:: /../../examples/simplest/conf_short.py
   :language: python
   :start-at: CNFG

Next

For more complex examples please follow: