From a3bdbbee46d4f299835ddddebb2d21fd982ffe42 Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Fri, 17 Jul 2020 13:42:16 +0200 Subject: [PATCH] Update readme --- README.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.rst b/README.rst index e63c05e..96152f6 100644 --- a/README.rst +++ b/README.rst @@ -27,6 +27,14 @@ The file paths can be access in Python scripts using the ``data_path()`` functio filename = data_path("km3net_offline.root") +To use the module in e.g. shell scripts, the module can be called directly and +print the filepath: + +.. code-block:: shell + + $ python -m km3net_testdata km3net_offline.root + /full/path/to/km3net_offline.root + Acknowledgements ---------------- -- GitLab