How to call the slicer python interactor?

I studied the Shortcut keys in slicer and I want to custom a KEY(not default ctrl+3) to call the slicer python interactor. Can I do it with py?
Thanks!

Yes, you should be able to connect any key to call:

slicer.util.pythonShell().show()

2 Likes

Ok,
Thank you very much!