:orphan:

.. _popy_edit:

popy_edit
#########

To edit a script in a text editor, :ref:`open_a_popy_command_prompt` and call:-

.. code-block:: console

    $ popy_edit my_script.pyml

The editor invoked by :command:`popy_edit` is defined in the :ref:`popy_config_pyml` file. Also see :ref:`configure_editor`.

    
Examples
---------

You can open a script using:-

.. code-block:: console

    $ popy_edit my_script.pyml
    
By default this uses the entry **text_editor_path** in this file:-

.. code-block:: console

    c:\PoPy\popy_config.pyml
    
If the default editor does not exist then the chosen editor is the first binary found in this list:-

* C:\\Program Files\\Notepad++\\notepad++.exe
* C:\\Program Files (x86)\\Notepad++\\notepad++.exe
* C:\\Windows\\notepad.exe
    
Command line options
--------------------

.. literalinclude:: /_autogen/tool_help/popy_edit_help.inc
    :language: console 
