run JEPlus in python
Hi, How can I run JEPlus+EA in Python using Jupyter Notebook via Anaconda? Thanks
First time here? Check out the Help page!
Hi, How can I run JEPlus+EA in Python using Jupyter Notebook via Anaconda? Thanks
Assuming you have already created the jEPlus project using the jEPlus GUI and saved it to a file, e.g. project.json
, running jEPlus+EA from a Python Jupyter Notebook is as easy putting the following 2 lines in your Jupyter Notebook and running them:
import subprocess
subprocess.run(["java", "-jar", "jEPlus.jar", "-all", "project.json"])
The code above invokes jEPlus from the command line and runs the project.json
project. It assumes the Jupyter Notebook, jEPlus Java applet, and project file are in the same directory. For more information on the possible command line arguments for jEPlus, type the following on the command line:
java -jar jEPlus.jar -help
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2023-03-09 12:27:34 -0500
Seen: 474 times
Last updated: Mar 17 '23