user1452478
user1452478

Reputation:

How to exit and run the Python IDLE shell in one step

Is it possible both to exit and run the Python IDLE in one step? If so, what steps should I take to do this?

I want to do something similar to Shell -> Restart Shell (Ctrl+F6) in Windows IDLE. I could do Ctrl-D, up-arrow, enter but I'd like to do this in one step.

The following didn't really answer my question... How do I restart the IDLE Python Shell in Linux?

Upvotes: 0

Views: 1445

Answers (1)

Uncle Tallest
Uncle Tallest

Reputation: 80

The related question you linked to does, in fact, give you a hint as to how to do this.

Edit your menu entry for Idle and just remove the default -n after the command path and filename. When you restart Idle, the Shell menu item you are familiar with from windows will be available with all the usual functionality.

Upvotes: 0

Related Questions