from jeputils import *


import javax.swing.SwingUtilities as SwingUtilities
import java.lang.Runnable as Runnable

#class MyRunnable (Runnable):
#    def run(self):
#        print "Starting"
#        run_jep("cpython6")
#        print "Started"                
#SwingUtilities.invokeLater(MyRunnable())

eval_jep("import matplotlib")
eval_jep("matplotlib.use('TkAgg')")

#run_jep("cpython5")
run_jep("cpython6")
#exec_cpython("cpython6")