def launch_ipython():
print ""
print "==================================================================="
print ""
print " Welcome to the motion editor! "
print ""
print "To quit, click on the 'Quit' button in the GUI."
print ""
print "From this shell, available function calls include:"
print ""
print " plot_trajectories()"
print ""
print "==================================================================="
IPython.embed()
root.quit()
time.sleep(0.2)
os._exit(0) # dirty but avoids hangs from IPython's atexit callback
评论列表
文章目录