IPython Documentation

Table Of Contents

Previous topic

utils.sysinfo

Next topic

utils.terminal

This Page

utils.syspathcontext

Module: utils.syspathcontext

Inheritance diagram for IPython.utils.syspathcontext:

System Message: WARNING/2 (/home/roberto/Dropbox/Programming/IPython/MaemoMeeGo/ipython-0.13.1/docs/source/api/generated/IPython.utils.syspathcontext.txt, line None)

Could not execute ‘dot’. Are you sure you have ‘graphviz’ installed?

Context managers for adding things to sys.path temporarily.

Authors:

  • Brian Granger

Classes

appended_to_syspath

class IPython.utils.syspathcontext.appended_to_syspath(dir)

Bases: object

A context for appending a directory to sys.path for a second.

__init__(dir)

prepended_to_syspath

class IPython.utils.syspathcontext.prepended_to_syspath(dir)

Bases: object

A context for prepending a directory to sys.path for a second.

__init__(dir)