compiling python (or ironpython) to .exe or .dll for or not for .NET

per9000 per9000 at gmail.com
Wed Jun 28 23:46:33 CEST 2006


Update:

I have found a holy handgrenade.

I found something that seems to work fine for me - I've only tried it
for 5 minutes but seems to work very smoothly. Open-source, Mozilla
license, you know the drill...

http://www.py2exe.org/

py2exe (the name makes me fall in love) creates some dll's for me
containing python I guess.

2006-06-28  23:26    <DIR>          .
2006-06-28  23:26    <DIR>          ..
2005-09-28  13:41            77 824 bz2.pyd
2006-06-28  23:26            19 456 fib.exe
2006-06-28  23:26           641 449 library.zip
2003-02-21  04:42           348 160 MSVCR71.dll
2005-09-28  13:41         1 867 776 python24.dll
2005-09-28  13:41           405 504 unicodedata.pyd
2005-09-28  13:41             4 608 w9xpopen.exe
2005-09-28  13:41            69 632 zlib.pyd
               8 File(s)      3 434 409 bytes

My goal here is some kind of fibonacci stuff, preferably for dot net,
but the extremely clean code in python (that deals with
fibonaccinumbers that are large beyond being silly) dies in C*. I have
to build my own sillyINT class and I don't like building sillyINT
classes.

Before I depress the enter button it finds that the number
123456789012345678901234567890123
has the nearest smaller and larger fibonacci numbers:
110560307156090817237632754212345
and
178890334785183168257455287891792. And my code remains hidden (I
guess).

Has someone tried some other (costless) holy handgrenade that does the
trick?

/Per Erik Strandberg
yet another FibonacciNumerologist




More information about the Python-list mailing list