> On 27 February 2013 01:15, gwhite <[email protected]> wrote:
>
>
>
> > Is there a way to get pythonxy and spyder to "want" to use a different
> > named variable, that does the same thing as the HOME variable?
>
> > Like, how about:
>
> > PYTHON_HOME
>
> > I ask, because I have another program that also demands to use HOME,
> > and thus there is a clash.
>
> > thanks,
> > Greg
> >
On Feb 28, 8:40 am, David Verelst <[email protected]> wrote:
> Hi,
>
> I am not entirely sure about windows, but $HOME is a standard environment
> variable pointing to the users home directory on Unix-alike system 
> (https://en.wikipedia.org/wiki/Environment_variable). The HOME variable is
> not set by Spyder, but by the system. Personally, I see no reason to change
> that since so many other applications make use of it (on Linux).
>
> Regards,
> David

Thanks, David.

Well, I am not exactly sure what is happening, and was making a
presumption about the user variable (in my installation of Windows) of
HOME.  I might be waking up though. lol

For Windows, it is a "user variable" not a "system variable."  I have
other SW, which is Intercept EDA (Mozaix and Pantheon), that uses the
HOME variable.

But in any case, it seems like Spyder is using it somehow.  I say this
because I get the spyder/xy autogenerated directories and files in
that location, which of course, is specific to the Intercept tools
HOME variable requirements, as I have set it.  As an example, these
are 3 directories that I found autogenerated in my last session in the
Intercept required HOME directory:

.matplotlib
.spyder2
.xy

They are in the directory that the Intercept HOME variable points to.
I mean, the way I had it set up "python/spyder/xy" stuff gets placed
into a folder that has nothing to do with python/spyder/xy.  It
doesn't otherwise actually hurt anything.  I think I need to change
how I regard the HOME variable.

In a sense, I am wondering if Spyder is more or less using it for the
same thing as Intercept.  The Intercept manual says:

"The AppManager stores required startup files,including the
app_history file, in the location specified by the HOME variable. This
variable is also useful for storing customized invocation files.
Customization can include user-defined menus, specialized settings,
and automatic invocation of commands at startup."

The way I was using it, the directory also contains my design files.
For Intercept, I have such customizations mentioned that I created
myself.  I have not done that for Spyder, as I am more or less a
Python newbie.

I had thought it natural to keep these separate, but need to rethink
what I am doing.

I also have a bunch of similar stuff autogenerated here (win7-64), but
I don't know "who" made all of it, although some must be spyder:

C:\users\memyselfandI\
.xy
.spyder2
.p4qt
.matplotlib
.ipython
.idlerc

Anyway, I was curious about all of it.  Intercept has another
variable, PROJECT, that I can use.  I'll make the HOME directory one
where both Intercept and Python can store their stuff.  HOME is
specific to me as the user who logs on to the computer.

I have other SW that has the concept of PROGRAMX_HOME, *and* HOME.  I
haven't figured out if it makes sense.  We end users Windows often get
insulated from setting variables much, so they are a little alien when
we finally face them.

I think I am getting it.  thanks.

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to