How to clear and reset IronPython Console? is there any way to clear ScriptScope?

Henry Li

Is there way to clear or reset Console like IPython?  It seems command of clear or reset doesn't work.

Or how to reset ScriptScope or Engine?  I've created a console and set initial state, I expect that user can reset it to initial state after some input. a simple example is
initial state:
import math
global = 100

after input 
then I want to reset it to the initial state, how can I remove/delete input of "x=0, y=0, ..."?

Join to automatically receive all group messages.