Ironpython experience

2009-12-23 Thread Lev
I'm an on and off Python developer and use it as one of the tools. Never for writing "full-blown" applications, but rather small, "one-of- a-kind" utilities. This time I needed some sort of backup and reporting utility, which is to be used by the members of our team once or twice a day. Execution t

Re: stable algorithm with complexity O(n)

2008-12-13 Thread Lev Elbert
1. Comparison sorts have n*ln(n) complexity - does not do 2. Counting sort has the complexity O(d), where d is domain (in our case n^2) - does not do. 3. Radix sorts have the complexity O(n*k), where k is number of bits in integer. (32?) There are 2 variants: a. most significant digit (MSD), b. lea

Re: How to distribute a Python app together with its dependencies?

2008-11-30 Thread Lev Elbert
If Python for Windows you can use Py2Exe package. It works very well in simple cases and requires a few tweaks to make it recognize some dependencies. -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie Threading Question

2008-07-13 Thread Lev Elbert
On Jul 13, 8:33 am, Sparky <[EMAIL PROTECTED]> wrote: > It seems strange, but I can't find a list of operating systems which > support / don't support threading in Python. Can anyone point me in > the right direction? > > Thanks, > Sam Here is the list (from Python documentation of thread module):

Re: Script Optimization

2008-05-06 Thread lev
On May 4, 10:04 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Sun, 04 May 2008 17:01:15 -0300, lev <[EMAIL PROTECTED]> escribió: > > >> * Change indentation from 8 spaces to 4 > > I like using tabs because of the text editor I use,

Re: Script Optimization

2008-05-04 Thread lev
ecific mp3cd with 4 album folders) I added comments to explain what I was doing with the dictionary[x][1] [1][0], and also what the indexes for the strings are used for ([3:] to remove the 001 in 001Track.mp3, etc.) Thanks for the advice so far, lev #!/usr/bin/env python import md5 from glob

Script Optimization

2008-05-03 Thread lev
disk (everything works, but I think it's a bit bulky). It's too long to post here (160 lines) so here's the link: http://uppit.com/d2/CKOYHE/af78a6bd3e21a19d5871abb9b879/utils.py (if that doesn't work: http://uppit.com/CKOYHE) Thanks in advance, lev -- http://mail.python.

Re: email module windows and suse

2008-04-13 Thread Lev Elbert
On Apr 13, 3:55 pm, Tim Roberts <[EMAIL PROTECTED]> wrote: > Lev Elbert <[EMAIL PROTECTED]> wrote: > > >I have to make a custom email module, based on the standard one. The > >custom module has to be able to work with extremely large mails (1GB > >+), ha

email module windows and suse

2008-04-13 Thread Lev Elbert
Hi, all! I have to make a custom email module, based on the standard one. The custom module has to be able to work with extremely large mails (1GB +), having memory "footprint" much smaller. The modified program has to work in SUSE environment, while the development is done under Windows. I'm not

Re: Server applications - avoiding sleep

2006-03-19 Thread Lev Elbert
You can make it a service, which has an advantage, that it survives logouts. SOME PROGRAMMING IS REQIURED. If I need something running the "fast and dirty" way, I run a regular python application as window application (start pythonw.exe). As a way o communication (start, stop, pause) I use tray.

M2Crypto for 2.4

2004-12-01 Thread Elbert Lev
People! Have somebody build M2Crypto for 2.4 on windows? If yes, please tell if there are any problems. -- http://mail.python.org/mailman/listinfo/python-list