Re: Python in sci/tech applications

2006-11-03 Thread Magnus Lycka
robert wrote: When one follows .. http://docs.python.org/inst/tweak-flags.html#SECTION000622000 http://www.zope.org/Members/als/tips/win32_mingw_modules ..this seems only to cover the immediate python dll issues. What happens with the C runtime libraries? You'll bind 2

Re: Python in sci/tech applications

2006-11-03 Thread John Coleman
John Coleman wrote: Robert Kern wrote: John Coleman wrote: Maybe I don't know what I'm looking for, but I downloaded Enthought a few days ago and don't seem to find MinGW on my system. There are 2 relatively small (totalling about 13 kb IIRC) *python* files deeply buried in the

Re: Python in sci/tech applications

2006-11-03 Thread Robert Kern
Magnus Lycka wrote: robert wrote: When one follows .. http://docs.python.org/inst/tweak-flags.html#SECTION000622000 http://www.zope.org/Members/als/tips/win32_mingw_modules ..this seems only to cover the immediate python dll issues. What happens with the C runtime libraries?

Re: Python in sci/tech applications

2006-11-03 Thread robert
Robert Kern wrote: Magnus Lycka wrote: robert wrote: When one follows .. http://docs.python.org/inst/tweak-flags.html#SECTION000622000 http://www.zope.org/Members/als/tips/win32_mingw_modules ..this seems only to cover the immediate python dll issues. What happens with the C

Re: Python in sci/tech applications

2006-11-03 Thread Robert Kern
robert wrote: In past I asked for linking Python2.5 and next Pythons on Win against such standard DLL (MSVCRT4 or MSVCRT.DLL)- yet Martin v. Löwis somehow explained in http://groups.google.de/group/comp.lang.python/msg/fcbe41f9df595c35 somehow that MSVCRT.dll is not intended for normal

Re: Python in sci/tech applications

2006-11-03 Thread Thomas Nelson
How hard would it be to have numpy/ scipy part of the python standard library? Tom mattf wrote: I've discovered Python and have been trying it out lately as a possible replacement for computations that would ordinarily be done with a commercial package like Matlab or IDL. I'd like to mention

Re: Python in sci/tech applications

2006-11-03 Thread robert
Robert Kern wrote: This is what Martin said: It used to be possible to link with it. See http://msdn2.microsoft.com/en-us/library/abx4dbyh(VS.80).aspx This is now a known DLL, and meant for use by system-level components only. Note the words used to and now. Mingw is a somewhat

Re: Python in sci/tech applications

2006-11-03 Thread Robert Kern
Thomas Nelson wrote: How hard would it be to have numpy/ scipy part of the python standard library? scipy will never, ever be part of the standard library. Some subset of numpy may eventually make it into the standard library, but not any time soon. -- Robert Kern I have come to believe that

Python in sci/tech applications

2006-11-02 Thread mattf
I've discovered Python and have been trying it out lately as a possible replacement for computations that would ordinarily be done with a commercial package like Matlab or IDL. I'd like to mention a few things I've run across that have either surprised me or kept me from doing things the way I'd

Re: Python in sci/tech applications

2006-11-02 Thread Paul Boddie
mattf wrote: I'd like to mention a few things I've run across that have either surprised me or kept me from doing things the way I'd like to. 1) -There's a large and active sci/tech Python community out there.- This was something of a surprise. If you look at the python.org site and click

Re: Python in sci/tech applications

2006-11-02 Thread bearophileHUGS
mattf: 3) -There's a problem with development under Windows. It's possibile to compile Python with MinGW, and to create extensions with it. So some site can host a single zip file that contains both MinGW and Python compiled with it, all ready and set. A person not much expert can then create

Re: Python in sci/tech applications

2006-11-02 Thread Robert Kern
[EMAIL PROTECTED] wrote: mattf: 3) -There's a problem with development under Windows. It's possibile to compile Python with MinGW, and to create extensions with it. So some site can host a single zip file that contains both MinGW and Python compiled with it, all ready and set. A person not

Re: Python in sci/tech applications

2006-11-02 Thread robert
[EMAIL PROTECTED] wrote: mattf: 3) -There's a problem with development under Windows. It's possibile to compile Python with MinGW, and to create extensions with it. So some site can host a single zip file that contains both MinGW and Python compiled with it, all ready and set. A person not

Re: Python in sci/tech applications

2006-11-02 Thread Fredrik Lundh
robert wrote: Is it really not possible to create extension libs with older MSVC or Mingw, which work with regular Python binaries version 2.4 and 2.5 ? last time I tried, it took me 20 minutes from that I typed mingw into google until I had built and tested my first non-trivial extension.

Re: Python in sci/tech applications

2006-11-02 Thread bearophileHUGS
Robert Kern: We distribute mingw set up to do this with our Enthought Edition Python distribution. http://code.enthought.com/enthon/ Sorry, maybe I'm blind but I don't see MinGW listed in that page... Maybe it's included but not listed... Bye, bearophile --

Re: Python in sci/tech applications

2006-11-02 Thread Robert Kern
[EMAIL PROTECTED] wrote: Robert Kern: We distribute mingw set up to do this with our Enthought Edition Python distribution. http://code.enthought.com/enthon/ Sorry, maybe I'm blind but I don't see MinGW listed in that page... Maybe it's included but not listed... It's there. -- Robert

Re: Python in sci/tech applications

2006-11-02 Thread robert
Fredrik Lundh wrote: robert wrote: Is it really not possible to create extension libs with older MSVC or Mingw, which work with regular Python binaries version 2.4 and 2.5 ? last time I tried, it took me 20 minutes from that I typed mingw into google until I had built and tested my

Re: Python in sci/tech applications

2006-11-02 Thread bearophileHUGS
Fredrik Lundh: last time I tried, it took me 20 minutes from that I typed mingw into google until I had built and tested my first non-trivial extension. your milage may vary. But probably before those 20 minutes there is a lot of time of experience of yours with CPython sources, other

Re: Python in sci/tech applications

2006-11-02 Thread Steve Holden
Robert Kern wrote: [EMAIL PROTECTED] wrote: Robert Kern: We distribute mingw set up to do this with our Enthought Edition Python distribution. http://code.enthought.com/enthon/ Sorry, maybe I'm blind but I don't see MinGW listed in that page... Maybe it's included but not listed... It's

Re: Python in sci/tech applications

2006-11-02 Thread Robert Kern
Steve Holden wrote: Robert Kern wrote: [EMAIL PROTECTED] wrote: Robert Kern: We distribute mingw set up to do this with our Enthought Edition Python distribution. http://code.enthought.com/enthon/ Sorry, maybe I'm blind but I don't see MinGW listed in that page... Maybe it's included but

Re: Python in sci/tech applications

2006-11-02 Thread John Coleman
Maybe I don't know what I'm looking for, but I downloaded Enthought a few days ago and don't seem to find MinGW on my system. There are 2 relatively small (totalling about 13 kb IIRC) *python* files deeply buried in the distribution with mingw in their filename but nothing like a gcc compiler.

Re: Python in sci/tech applications

2006-11-02 Thread Robert Kern
John Coleman wrote: Maybe I don't know what I'm looking for, but I downloaded Enthought a few days ago and don't seem to find MinGW on my system. There are 2 relatively small (totalling about 13 kb IIRC) *python* files deeply buried in the distribution with mingw in their filename but nothing

Re: Python in sci/tech applications

2006-11-02 Thread John Coleman
Robert Kern wrote: John Coleman wrote: Maybe I don't know what I'm looking for, but I downloaded Enthought a few days ago and don't seem to find MinGW on my system. There are 2 relatively small (totalling about 13 kb IIRC) *python* files deeply buried in the distribution with mingw in