On 08/23/2014 10:07 AM, NerdFever.com wrote:
I've been using Spyder (WinPython) on and off, lightly, for more than a
year, but I've still got some dumb questions about it. (trying to get
into it deeper now)
First it would be helpful to know what version of Spyder you are using?
1) What does the path box in the upper left of the main window do?
It doesn't seem to set os.getcwd(). What does it do, then?
I see a box on the upper right and it is the working directory. If you
hover the cursor over the box a hint tip should pop up.
More generally, what is the difference between the “working”, “global
working”, “current file”, and “base” directories? (Tools>Prefs>Run,
Tools>Prefs>GlobalWorkingDirectory)
The global working directory is the one you set in the box or in the
Global Working Directory. It serves as the starting point. There is a
fuller explanation at the top of the Global Working Directory prefs
section. The 'current file' directory is whatever directory the current
file you are working on is in. Not sure what the 'base' directory.
Are some of these just inconsistent names for the same thing, or are
they really different things?
2) How can I tell what names have been assigned to the already-imported
modules in WinPython?
I do not use WinPython, so where are you seeing these modules being
imported? I know in more recent versions of Spyder you can control
importing matplotlib, numpy and pylab into IPython in the
Prefs-->IPython-->Graphic tab.
For example, numpy was imported "as np". So I need to use np.*; fine, I
know that.
What about the other modules? Is there a list somewhere? I know
(again, for example) that matplotlib.pyplot was imported "as plt", but
was matplotlib itself (the whole thing) imported at all? If so, under
what name ("import matplotlib as ???")? How can I tell?
Well this would depend on where you are seeing the modules imported. It
also come down to whether this is being done by Spyder or is something
done by WinPython.
--
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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
--
Adrian Klaver
[email protected]
--
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/d/optout.