Re: [python-win32] Ranged retrieval of large group membership lists

2010-03-13 Thread Tim Golden
On 12/03/2010 22:58, Mike Diehn wrote: Hey folks, I can't be the only person dealing with this, right? I have an AD group of 1650 members. The find_group() function in active_directory.py can't return more than 1500 members. I've coded a generator that gets around it by using the query() meth

[python-win32] Python Windows Socket problem after Py2exe and install

2010-03-13 Thread Andrew Spagnoletti
Hi, Hope this is the correct forum . I have a Windows Python 2.5 (using wxPython) application, which works fine until I 'compile' with py2exe (i.e. the installed program does not work - although the 'test' in py2exe does). I use urllib to add functionality to send an SMS from my program

Re: [python-win32] Python Windows Socket problem after Py2exe and install

2010-03-13 Thread Aahz
On Sat, Mar 13, 2010, Andrew Spagnoletti wrote: > > Hope this is the correct forum . It's an acceptable one, but you probably should subscribe to py2exe-users. > ImportError: DLL load failed: The specified module could not be found. Here's what I just posted to py2exe-users in response to a simi

Re: [python-win32] Python Windows Socket problem after Py2exe and install

2010-03-13 Thread python
> Are any of your imports buried inside "if" or "def" statements? py2exe uses a > module-finding technique that doesn't work with those, and you'll either need > to change your code or list the modules in setup.py We have import's embedded in 'if' blocks and py2exe seems to be picking these up f

Re: [python-win32] Python Windows Socket problem after Py2exe and install

2010-03-13 Thread python
Tom, > You don't need to add a whole load of imports inside a "if False" block to make py2exe add them. If I recall correctly there is a option in py2exe to force exclude and include modules when compiling. DOH! You're right! I've been doing a lot of work with our automated build cycle and I m