Relative Content

Tag Archive for pythonjuliasubprocessinteractive

How to run an interactive Julia session in python without using the python’s julia library?

I want to use python to send command to julia and then get string output as the return and then send the command again. i.e. x=2 and then x+1 return 3. This required an interactive session through subprocess. I tried the subprocess.Popen(["julia", "-e"], the non interactive session and checked that the Julia interface worked. However, when I tried to use the following code to run the Julia interactive session, it got stuck.

How to run an interactive Julia session in python without using the python’s julia library?

I want to use python to send command to julia and then get string output as the return and then send the command again. i.e. x=2 and then x+1 return 3. This required an interactive session through subprocess. I tried the subprocess.Popen(["julia", "-e"], the non interactive session and checked that the Julia interface worked. However, when I tried to use the following code to run the Julia interactive session, it got stuck.

How to run an interactive Julia session in python without using the python’s julia library?

I want to use python to send command to julia and then get string output as the return and then send the command again. i.e. x=2 and then x+1 return 3. This required an interactive session through subprocess. I tried the subprocess.Popen(["julia", "-e"], the non interactive session and checked that the Julia interface worked. However, when I tried to use the following code to run the Julia interactive session, it got stuck.

How to run an interactive Julia session in python without using the python’s julia library?

I want to use python to send command to julia and then get string output as the return and then send the command again. i.e. x=2 and then x+1 return 3. This required an interactive session through subprocess. I tried the subprocess.Popen(["julia", "-e"], the non interactive session and checked that the Julia interface worked. However, when I tried to use the following code to run the Julia interactive session, it got stuck.

How to run an interactive Julia session in python without using the python’s julia library?

I want to use python to send command to julia and then get string output as the return and then send the command again. i.e. x=2 and then x+1 return 3. This required an interactive session through subprocess. I tried the subprocess.Popen(["julia", "-e"], the non interactive session and checked that the Julia interface worked. However, when I tried to use the following code to run the Julia interactive session, it got stuck.