diff --git a/docs/tutorials/fundamentals/features.md b/docs/tutorials/fundamentals/features.md index 82de5390f..d71cec783 100644 --- a/docs/tutorials/fundamentals/features.md +++ b/docs/tutorials/fundamentals/features.md @@ -68,7 +68,13 @@ To see it in action, see the {ref}`sphx_glr_gallery_features_table_widget.py` ga ## Running python scripts with napari -Images and other data files are not the only thing that napari can read! You can also run any python script in napari by [drag'n'dropping](https://github.com/napari/napari/blob/main/examples/drag_and_drop_python_code.py) the script onto the viewer. When a script is opened with napari the first viewer instance created by the script will be replaced with the current existing viewer. +Images and other data files are not the only thing that napari can read! You can also run any python script in napari by [drag'n'dropping](https://github.com/napari/napari/blob/main/examples/drag_and_drop_python_code.py) the script onto the viewer, or by passing the script as an argument to napari. When a script is opened with napari, the first viewer instance created by the script will be replaced with the current existing viewer, if any. + +It even works with remote files! + +```bash +napari https://github.com/napari/napari/blob/main/examples/add_3D_image.py +``` This feature is especially useful for quickly testing or distributing code snippets without needing to leave the viewer or touch the console.