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: 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.