Thanks for the reply! First it would be helpful to know what version of Spyder you are using? >> > I'm on Spyder 2.3.0 (for Python 2.7), on Win7 x64.
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. > Yes, I meant the other left. It says it's the "working directory". But if I change it and then type "os.getcwd()", I don't get the same directory as in the box. So that's confusing. What is the difference between the "working directory" controlled by the box, and the one returned by os.getcwd()? 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. > OK, so the "current file" directory is the directory the .py file I'm editing is in, correct? (That wasn't obvious to me.) So "working" and "global working" are supposed to be the same thing? Or different things? The "base" directory is referenced at the bottom of Tools>Preferences>Global working directory. It offers to "Change to file base directory". What is the "base" directory about? Is that another name for one of the others, or something different? > 2) How can I tell what names have been assigned to the already-imported >> modules in WinPython? >> > ... > > > 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. > Ah, OK. Spyder/WinPython isn't important anything automatically - I was doing it myself, but was confused & thinking that Spyder had done it also (redundantly). But it's not; so I'm fine. I could still use some help understanding the directories, tho. -- 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.
