how to get python interactive console in current namespace?,code.interact(local=locals())