# Load python script from harddisk in Slicers´s Python Interactor?

**URL:** https://discourse.slicer.org/t/load-python-script-from-harddisk-in-slicers-s-python-interactor/17399
**Category:** Support
**Created:** [April 30, 2021, 7:16pm UTC](https://discourse.slicer.org/t/load-python-script-from-harddisk-in-slicers-s-python-interactor/17399 "2021-04-30T19:16:47Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [October 25, 2022, 1:19pm UTC](https://discourse.slicer.org/t/load-python-script-from-harddisk-in-slicers-s-python-interactor/17399/9 "2022-10-25T13:19:45Z")

</div>

I’ll also add Ctrl-l for clearing the terminal.

Ctrl-r for reverse search could be useful and it would not be hard to add, especially if we do it in a popup window instead of struggling with using the terminal window for it (IPython shell uses a special mode with the `(reverse-i-search)` prompt, while we could simply open a small search box).

We could also easily add Ctrl-k/u to cut content before/after the cursor, but it seems marginally useful (you can do Shift+Home/End, Ctrl-x instead).

However, most other shortcuts don’t seem to make sense for me, such as using

- Ctrl-a/e instead of Home/End keys
- Ctrl-b/f instead of left/right arrow keys
- Ctrl-p/n instead of up/down arrow keys
- Ctrl-d instead of Delete key
- Ctrl-t for switching the previous two characters (really, a shortcut for this??)
- Ctrl-y instead of Ctrl-v for pasting

---

_[View the full topic](https://discourse.slicer.org/t/load-python-script-from-harddisk-in-slicers-s-python-interactor/17399)._
