Relative Content

Tag Archive for pythonjavapy4j

How do I Run a Python script on a virtual server from a local Java project?

I´m trying to run a Python script (main.py) located on a virtual server (IP xxx.xxx.x.xx / Port). I´m running tests at my local machine on Java with Py4j, which as I´ve found runs on Python 3.11 (my Python version on Virtual Server).
Does anyone have an idea how can i program it. I just need to start the script. It´d be also nice to be able to pass some parameters (but not a requisite). These Parametera are trainAgent(int,bin,bin).