diff --git a/README.rst b/README.rst index e63c05e164fff37d63e3be550eaac74c0430f7ba..96152f6d570dc2f6b25dfad640e1a6b746d00107 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 ----------------