I added "step A.5" to the guide and published it on the Python wiki, so
that anyone can update it easily:
http://wiki.python.org/moin/PyrexOnWindows
--
http://mail.python.org/mailman/listinfo/python-list
sturlamolden wrote:
> edit the text file "c:\mingw\lib\gcc\mingw32\3.2.4\specs"
> and change "-lmsvcrt" to "-lmsvcr71".
Thank you very much sturlamolden,
This procedure should be added to the "step-by-step" guide (see 1st
message of this thread) as "step A.5".
For ignorant people like me, CRT =
Thanks for your remark, Sturlamolden.
Is there a free version of the "Visual C++ 2003" compiler available on
the web? I have found "Visual C++ 2005 Express edition"
(http://msdn.microsoft.com/vstudio/express/visualc/). According to
Micrsoft, it replaces VC++2003
(http://msdn.microsoft.com/visualc/
To install Pyton, I simply used the python Windows installer
(python-2.4.2.msi) available at python.org.
Julien
--
http://mail.python.org/mailman/listinfo/python-list
.
Julien Fiore
>>> import scipy.weave
>>> scipy.weave.test()
Found 16 tests for scipy.weave.slice_handler
Found 0 tests for scipy.weave.c_spec
Found 2 tests for scipy.weave.blitz_tools
building extensions here:
c:\docume~1\julien~1\locals~1\temp\Julien\python24_compiled\m10
Do you wand to install Pyrex on Windows ?
Here is a step-by-step guide explaining:
A) how to install Pyrex on Windows XP.
B) how to compile a Pyrex module.
Julien Fiore,
U. of Geneva
---
### A) Pyrex installation on Windows XP
Thank you Serge for this generous reply,
Vectorized code seems a great choice to compute the distance. If I
understand well, vectorized code can only work when you don't need to
access the values of the array, but only need to know the indices. This
works well for the distance, but I need to acces
Thanks Caleb for the advice,
I profiled my code with the following lines:
import profile, pstats
profile.runctx('openness(infile,outfile,R)',globals(),locals(),'profile.log')
p = pstats.Stats('profile.log')
p.sort_stats('time')
p.print_stats(10)
The outputs tells me that the ope
Thanks for the psyco information, Serge.
> 2) Rewrite the code to be vectorized (don't use psyco) Right now your
> code *doesn't* get any speed benefit from numpy
I do not understand this point. How to rewrite the code ? Do you mean
in C ?
Julien
--
http://mail.python.org/mailman/listinfo/pyth
the output raster.
It runs very slowly and I suspect the raster access to be the main
bottleneck. Do you have any idea to speed-up the process ?
Thanks for any help.
Julien
Here is the code:
#
## openness.py
##
## Julien Fiore, UNIGE
##
## code i
10 matches
Mail list logo