Chris Kees wrote: > Hi, > > I just ran convertcode.py on my code (from the latest svn source > of numpy) and it looks like it just changed the import statements to > > import numpy.oldnumeric as Numeric > > So it doesn't look like it's really helping me move over to the > new usage. Is there a script that will converts code to use the > new numpy as it's intended to be used? > Not yet. The transition approach is to use the compatibility layer first by running oldnumeric.alter_code1.py and then running alter_code2.py which will take you from the compatibility layer to NumPy (but alter_code2 is not completed yet).
The description of what these codes do is in the latest version of the second chapter of my book (which is part of the preview chapters that are available on the web). -Travis ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion