On 7/18/06, Keith Goodman <[EMAIL PROTECTED]> wrote:
> On 7/17/06, Travis Oliphant <[EMAIL PROTECTED]> wrote:
> > Keith Goodman wrote:
> Does anyone out there save the print defaults across sessions? How do you do 
> it?
>
> Does numpy look for any startup files (~/.numpyrc)?

If you set a PYTHONSTARTUP environment variable then Python will run
the script it points to at startup of interactive sessions.

But I wonder if maybe some numpy-specific startup script would be
good.   My current PYTHONSTARTUP is importing numpy, just so I can
define some numpy shortcuts for my interactive sessions.  That's fine
if you always use Numpy in your interactive sessions, but if not, then
it's just dead weight.

--bb

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to