Skip to content

Commit 3ef3a2a

Browse files
committed
Docs: Add a note about REPL invocation
1 parent 5a823ac commit 3ef3a2a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/quickstart.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ The most common use case is, of course, a simple invocation of a script:
2424
2525
ahkpy myscript.py
2626
27+
The REPL interface works best when invoked through the ``python`` executable,
28+
because it enables the arrow keys to traverse the command history.
29+
30+
.. code-block:: text
31+
32+
python -m ahkpy
33+
2734
The AutoHotkey.py interface resembles that of the Python interpreter. For more
2835
information on the interface options refer to `Python documentation
2936
<https://docs.python.org/3/using/cmdline.html#interface-options>`_.

0 commit comments

Comments
 (0)