Re: [Tutor] Coming from R, what's a good IDE editor? I've tried PyCharm and Spyder

2017-06-04 Thread Dylan Distasio
+1 on Jupyter notebooks, but I also wanted to mention that Spyder will do
what you want.  You just need to highlight the code fragment of interest to
rerun, and then hit ctrl-enter.  It will proceed to run just that
highlighted section of code.

On Sat, Jun 3, 2017 at 9:56 PM, Ben Finney 
wrote:

> C W  writes:
>
> > In another word, I want to do trial and error, play with the code and
> > see what comes out. Not running everything from the top every time.
>
> Already suggested, but I will repeat: You will find that Jupyter
> Notebook https://jupyter.org/> is explicitly designed to make that
> easy.
>
> --
>  \  “Now Maggie, I’ll be watching you too, in case God is busy |
>   `\   creating tornadoes or not existing.” —Homer, _The Simpsons_ |
> _o__)  |
> Ben Finney
>
> ___
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Coming from R, what's a good IDE editor? I've tried PyCharm and Spyder

2017-06-04 Thread Mike C
Hi Ben,

Yes, I read your suggestion. I should have added the following in my earlier 
message.

Jupyter runs in a web browser like Chrome, and you feed it in line by line, so 
if I want to run a project with a hundred lines, it may take a few.

Anyways, Jupyter is the consensus, and I am trying it.

Thank you!


From: Tutor  on behalf of Ben 
Finney 
Sent: Saturday, June 3, 2017 9:56:05 PM
To: tutor@python.org
Subject: Re: [Tutor] Coming from R, what's a good IDE editor? I've tried 
PyCharm and Spyder

C W  writes:

> In another word, I want to do trial and error, play with the code and
> see what comes out. Not running everything from the top every time.

Already suggested, but I will repeat: You will find that Jupyter
Notebook https://jupyter.org/> is explicitly designed to make that
easy.

--
 \  “Now Maggie, I’ll be watching you too, in case God is busy |
  `\   creating tornadoes or not existing.” —Homer, _The Simpsons_ |
_o__)  |
Ben Finney

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Coming from R, what's a good IDE editor? I've tried PyCharm and Spyder

2017-06-04 Thread Abdur-Rahmaan Janhangeer
Wing. Wing IDE personal works awesome for me

Abdur-Rahmaan Janhangeer,
Mauritius
abdurrahmaanjanhangeer.wordpress.com

On 3 Jun 2017 02:59, "C W"  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.
>
> 2) Spyder
> Spyder looks a lot like RStudio, I like it! But, it does not have an app
> icon in applications.  I am baffled. I do ~/anaconda/bin/spyder every time.
>
> Am I missing something or is this the way it is?
>
> Thank you very much!
> ___
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Coming from R, what's a good IDE editor? I've tried PyCharm and Spyder

2017-06-04 Thread wolfrage8...@gmail.com
Atom.io Editor is my current favorite after having swapped around a lot.

http://www.marinamele.com/install-and-configure-atom-editor-for-python
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor