Code Search for Developers
 
 
  

course_checklist_umich.py from matplotlib at Krugle


Show course_checklist_umich.py syntax highlighted

#!/usr/bin/env python
"""Minimal test script to check for modules needed in python course"""

modules = ['numpy','scipy','matplotlib','IPython']


for mname in modules:
    try:
        exec "import %s" % mname
    except ImportError:
        print '*** ERROR: module %s could not be imported.' % mname
    else:
        print '%s: OK' % mname

print 'Also remember to check that SPE is installed.'




See more files for this project here

matplotlib

Matplotlib is a pure python plotting library with the goal of making\r\npublication quality plots using a syntax familiar to matlab users. \r\nThe library uses Numeric for handling large\r\ndata sets and supports a variety of output backends

Project homepage: http://sourceforge.net/projects/matplotlib
Programming language(s): C,C++,Python
License: other

  book/
    examples/
      mayavi/
        3dsin.vtk
        3dsin_vol.mv
        surf.py
      scipy/
        bessel.py
        example1.1
        example10.2.1
        example10.2.2
        example10.2.3
        example10.2.5
        example10.3.1
        example10.3.2
        example10.3.6
        example10.4.4
        example2.1
        example2.2
        example2.3
        example3.1
        example3.2
        example4.1
        example4.2
        example4.3
        example4.4
        example4.5
        example4.6
        example5.1
        example5.2
        example5.3
        example5.4
        example5.5
        example5.6
        example5.7
        example5.8
        example5.9
        example6.1
        example6.2
        example6.3
        example6.4
        integral1.py
        least_squares_fit.py
        lowrank.py
        roots1d.py
      .matplotlibrc
      README
      WallisPi.py
      WindowLevelInterface.py
      __init__.py
      colors.py
      erathostenes.py
      error.py
      fft_demo.py
      ip_embed-short.py
      ip_embed.py
      ip_expensive_init.py
      ip_simple.py
      ip_simple2.py
      mayavi_bighead.py
      mpl_agg_oo.py
      mpl_image_ratner.py
      mpl_imshow.py
      mpl_pylab.py
      mpl_set_get.py
      mpl_subplot_demo.py
      parse_file.py
      runall.py
      vtk_hello.py
      vtk_marching_cubes.py
      vtk_slice_viewer.py
      weave_callback.py
      weave_cplx.py
      weave_examples.html
      weave_examples.py
      weave_examples_simple.py
      weave_exercises.py
      wrap_f2py_setup.py
      wrap_weave.py
    fig/
      scipy/
      hello_world.png
      hothead.eps
      hothead.png
      ipscr_code.png
      ipscr_meth_src.png
      ipscr_traceback.png
      load_ascii.eps
      load_ascii.png
      mayavi_basic_anot.jpg
      mayavi_cmd_line_sc_shot.jpg
      mayavi_control_panel_anot.jpg
      mpl_image_hot.png
      mpl_image_jet.png
      mpl_one_two_three.png
      mpl_ratner.png
      mpl_set_get1.png
      mpl_set_get2.png
      mpl_subplot_demo.png
      mpl_toolbar.png
      skin.gif
      vtk_cortex.png
      vtk_pbrain.png
      vtk_slicer.png
      vtkcube.png
    snippets/
      load_binary.ipy
      load_data.ipy
      mpl_get.ipy
      mpl_plot_line.ipy
      mpl_pylab.ipy
      mpl_set.ipy
      mpl_text_set.ipy
      wrap_sub_sig.f
      wrap_sub_sig_f2py.f
      wrap_sub_sig_f2py2.f
    REQUIREMENTS
    intro_to_python.lyx
    ipython_roadshow_extras.py
    ipython_tut.lyx
    lyxport2
    main.lyx
    make.py
    matplotlib_tut.lyx
    mayavi_tut.lyx
    numeric_tut.lyx
    python.bib
    python2.bib
    scipy_tour.lyx
    vtk_tut.lyx
    why_python.lyx
    wrapping.lyx
  doc/
    skel/
    PythonWorkshopFeedback.sxw
    PythonWorkshopFeedbackSummary.sxw
    agenda
    agenda-michigan
    feedback
    fp_notes.lyx
    linkfest
    notes
    py4science_intro
  examples/
    data/
    extras/
    faces/
    logistic/
    numpy_wrap/
    schrodinger/
    skel/
    visual/
    BeautifulSoup.py
    __init__.py
    bessel.py
    distributions.py
    erathostenes.py
    erathostenes_fperez.py
    erathostenes_list.py
    erathostenes_set.py
    fft_imdenoise.py
    fit_synapse.py
    fitting.py
    getbibtex.py
    lsys.py
    montecarlo_pi.py
    numpy-blitz_1000.png
    numpy-blitz_300.png
    numpy-blitz_500.png
    numpy_slicing.py
    polyroots1d.py
    qsort.py
    quad_newton.py
    recarray_demo.py
    regress.py
    regress_demo.py
    scrape_key_stats.py
    spline_demo.py
    stats_descriptives.py
    stats_distributions.py
    test.ipy
    trapezoid.py
    wallis_pi.py
    weave_blitz.py
    weave_blitz0.py
    weave_blitz_comp.png
    weave_examples_simple.py
    weave_exercises.py
    wordfreqs.py
  intro_talk/
    fig/
    intro_python_scicomp.lyx
  pub/
    examples/
    exercise_skel/
    exercise_soln/
  README
  course_checklist.py
  course_checklist_umich.py
  web.tap