Tuesday, 12 October 2021

Run two python instances from one python file in sublime text

Suppose I have a python file which plot a simple sin(a*x) function. In sublime text, when I press command+B, the plot shows.

However, suppose I need to change the parameter a and compare the figure with the current one. A simple second press of command+B just close the current plot and generate a new one, which is not what I want cause I want to compare them side by side.

In PyCharm you have allow parallel run option, I wonder if sublime text can achieve this.



from Run two python instances from one python file in sublime text

No comments:

Post a Comment