numpy.numarray.alter_code2
index
/usr/lib/python2.6/dist-packages/numpy/numarray/alter_code2.py

This module converts code written for numpy.numarray to work
with numpy
 
FIXME:  finish this.

 
Modules
       
glob
os
sys
warnings

 
Functions
       
_func(arg, dirname, fnames)
convertall(direc='.')
Convert all .py files to use NumPy (from Numeric) in the directory given
 
For each file, a backup of <usesnumeric>.py is made as
<usesnumeric>.py.orig.  A new file named <usesnumeric>.py
is then written with the updated code.
convertfile(filename)
Convert the filename given from using Numeric to using NumPy
 
Copies the file to filename.orig and then over-writes the file
with the updated code
converttree(direc='.')
Convert all .py files in the tree given
fromargs(args)
getandcopy(name)
makenewfile(name, filestr)

 
Data
        __all__ = []
__file__ = '/usr/lib/python2.6/dist-packages/numpy/numarray/alter_code2.pyc'
__name__ = 'numpy.numarray.alter_code2'
__package__ = 'numpy.numarray'
__warningregistry__ = {('numpy.numarray.alter_code2 is not working yet.', <type 'exceptions.UserWarning'>, 12): True}