[IPython-user] debugging a function w/ipython

Ville M. Vainio vivainio at gmail.com
Thu Jan 11 15:03:55 CST 2007


I improved the envpersist extension a little bit:

    Store environment variables persistently

    IPython remembers the values across sessions, which is handy to avoid
    editing startup files.

    %env - Show all environment variables
    %env VISUAL=jed  - set VISUAL to jed
    %env PATH+=;/foo - append ;foo to PATH
    %env PATH+=;/bar - also append ;bar to PATH
    %env PATH-=/wbin; - prepend /wbin; to PATH
    %env -d VISUAL   - forget VISUAL persistent val
    %env -p          - print all persistent env modifications

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-user mailing list