Good question. The idea is this: the Editor is there for you to write
the code which is going to solve the problem you have at hand. For
example, let's say you want to compute the mean of a list. For that you
could write:
|import numpyas np
li = range(10)
print np.mean(li)|
To see the result of this code, you need to press F5 (or the big green
play button on our toolbar) so Spyder can evaluate it and obtain its
result in the IPython Console.
Of couse you can do the same just writing that code in the console, but
if your problem is longer or more difficult then it's better to write
the code for it on the Editor and continually evaluate in the console it
to see if it generates the expected result or not.
I hope this answer your question :-)
Cheers,
Carlos
El 25/09/13 19:04, [email protected] escribió:
I've started learning python, and I have a couple questions regarding
spyder:
What is the purpose of having an ipython console in the bottom right
and a text editor in the main window? When do you use each window?
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.