Commit ee96e0623e7e7976b8287210c0c78297a6641683

add convention import helper
  
1
2def import_convention(scope):
3 code =\
4"""
5import sys, os, matplotlib, mpmath, numpy
6sys.path += ["lib","/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages"]
7matplotlib.use("Agg")
8import pylab
9import scipy
10from pprint import pprint
11"""
12 exec code in scope
13 pass