On Fri, Jun 2, 2017 at 12:46 PM, C W <tmrs...@gmail.com> wrote: > Dear Python list, > > I am an R user learning Python. What is a good editor? > > 1) Pycharm > PyCharm evaluates the entire script, I just want to change a few lines in > the script. > For example, > > import matplotlib.pyplot as plt > import numpy as np > > x = np.arange(0, 1,0.1) > y = np.sin(2 * np.pi * x) > > plt.figure(1) > plt.clf() > plt.plot(x, y) > plt.show() > > Now, I want to do a scatter plot, but don't want to generate the data > again. I just want the "line by line" evaluation like in R and Matlab. > Basically, you can type in console and add to the existing variables.
>From the sound of it, you may be more interested in Jupyter Notebook (jupyter.org) than a "proper editor". Otherwise, I've been happy with a combination of PyCharm and vim. Hope this helps, -- Zach _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor