Re: Using Python for programming algorithms

2008-05-19 Thread Jaap Spies
Vicent Giner wrote: Thank you very much for all the answers I've got. As far as I have understood, Python can be a good alternative, or, at least, a reasonable choice. I intend to design new algorithms for a kind of Optimization problems, and then I have to implement them and show/prove that th

Re: Using Python for programming algorithms

2008-05-18 Thread Jaap Spies
Vicent Giner wrote: Hello. I am new to Python. It seems a very interesting language to me. Its simplicity is very attractive. However, it is usually said that Python is not a compiled but interpreted programming language —I mean, it is not like C, in that sense. I am working on my PhD Thesis,

Re: wrapping C functions in python

2008-04-10 Thread Jaap Spies
Paul Anton Letnes wrote: > Hi, and thanks. > > > However, being a newbie, I now have to ask: What is SWIG? I have heard > the name before, but haven't understood what it is, why I need it, or > similar. Could you please supply some hints? > [...] >>> >>> I am a "scientific" user of Python, and

Re: Mathematical Python Library

2008-04-07 Thread Jaap Spies
Cameron Laird wrote: > In article <[EMAIL PROTECTED]>, > Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: >> On Mon, 7 Apr 2008 09:05:57 -0700 (PDT), mc <[EMAIL PROTECTED]> >> declaimed the following in comp.lang.python: >> >>> I'm looking for a library which can do mathematical stuff like >>> solving

Re: [OT] Looking for a Python Program/Tool That Will Add Line Numbers to a txt File

2008-02-14 Thread Jaap Spies
Gabriel Genellina wrote: > En Thu, 14 Feb 2008 04:54:56 -0200, W. Watson <[EMAIL PROTECTED]> > escribió: > >> See Subject. It's a simple txt file, each line is a Python stmt, but I >> need >> up to four digits added to each line with a space between the number >> field >> and the text. Perhaps

Re: Combinatorics

2008-02-12 Thread Jaap Spies
Robert Dodier wrote: > Cameron Laird wrote: > >> Should combinatorics be part of the standard library? That's >> an aesthetic-pragmatic question I don't feel competent to >> answer; I look to timbot and Guido and so on for judgment there. >> It does occur to me, though, that even more widely appl

Re: python for a matlab user

2008-02-02 Thread Jaap Spies
David Wang wrote: > hello python users, > > i use matlab in my daily research and some shell scripting as well > (primarily for data analysis). i wonder how easy or difficult for a > matlab user to pick up python? i also know Fortran but haven't used it > for years. > > thanks for your comments,

Re: Will Python on day replace MATLAB?????????????????????????????????????????????????????

2008-02-01 Thread Jaap Spies
Stef Mientki wrote: > Blubaugh, David A. wrote: >> To All, >> >> >> I have been evaluating the python environment ever more closer. I >> believe I can interface python with a development environment known as >> the ImpulseC environment. The ImpulseC environment develops C to VHDL >> for FPGA deve

Re: convert pdf to png

2007-12-24 Thread Jaap Spies
Carl K wrote: > Grant Edwards wrote: >> On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >> If it is a multi page pdf Imagemagick will do: convert file.pdf page-%03d.png >>> I need python code to do this. It is going to be run on a >>> someone else's shared host web server, security

Re: convert pdf to png

2007-12-24 Thread Jaap Spies
Carl K wrote: > I need to take the take the pdf output from reportlab and create a > preview image for a web page. so png or something. I am sure > ghostscript will be involved. I am guessing PIL or ImageMagic ? > > all sugestions welcome. > If it is a multi page pdf Imagemagick will do: co

Re: Research-oriented Python mailing list?

2007-11-22 Thread Jaap Spies
Michael Tobis wrote: > Perhaps what you are looking for is here: > > http://www.scipy.org/Mailing_Lists > > mt Or here: http://www.sagemath.org/ http://www.sagemath.org/lists.html Jaap -- http://mail.python.org/mailman/listinfo/python-list

Re: Python on Computation, Math and Statistics

2007-08-19 Thread Jaap Spies
W. Watson wrote: > I would hope Python is doing a lot of standard computations beyond > arithmetic. Trig functions and more. Comments? Try SAGE: http://www.sagemath.org/ Jaap Permanents are here forever. -- http://mail.python.org/mailman/listinfo/python-list

Re: Fortran vs Python - Newbie Question

2007-03-27 Thread Jaap Spies
Mark Morss wrote: > > Maybe somebody reading this will be able to convince me to look again > at Numpy/Scipy, but for the time being I will continue to do my > serious numerical computation in Fortran. > What I am missing in this discussion is a link to Pyrex to speed up Python: Pyrex is almost

Re: from maple to python + numpy/scipy

2007-03-19 Thread Jaap Spies
Daniel Nogradi wrote: > I'm just getting started with numpy/scipy and first would like to get > a view of what it can do and what it can't. The main idea is to move > from maple to python and the first thing that poped up is the fact > that maple is very convenient for both formal manipulations and

Re: Elliptic Curve Library

2006-12-23 Thread Jaap Spies
Mike Tammerman wrote: > I need an elliptic curve library that can be used by python. I googled > but couldn't find a one. I'll appreciate, if you could show me. > You could look at http://sage.scipy.org/sage/ http://sage.scipy.org/sage/features.html Jaap -- http://mail.python.org/mailman/listi

socket timeout error?

2006-04-17 Thread Jaap Spies
Hi, Running Fedora Core 4: Python 2.4.3 and Python 2.4.1. I'm getting: IOError: [Errno socket error] (2, 'No such file or directory') all the time. Trying to track down this problem: Python 2.4.1 (#1, May 16 2005, 15:19:29) [GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2 Type "help", "copyright

Re: SWIGing problem

2006-03-23 Thread Jaap Spies
Robert Kern wrote: > Tommy Grav wrote: > >>This might not be the venue to ask this but I do not know where else to >>turn. >>I am trying to install a package that is swig'ed from some C code. >>Unfortunately the readme file isn't to informative. Does anyone >>know which libraries to link to to

Re: - E04 - Leadership! Google, Guido van Rossum, PSF

2006-01-02 Thread Jaap Spies
Alex Martelli wrote: > Anton Vredegoor <[EMAIL PROTECTED]> wrote: >... > only hire people with long backstabbing histories. >>> >>>Such as...? Guido van Rossum? Greg Stein? Vint Cerf? Ben Goodger? > >... > >>No insider information is necessary, the job requirements make it >>absol