Re: [python-win32] python 2.5.1 and MSVC++ 2008

2010-06-03 Thread Trent Nelson
On 6/3/2010 2:14 PM, Heather Kelly wrote: Hi, I work on a project that still supports 2.5.1 for now (we plan to upgrade to 2.6 in the near future). In the meantime, we are moving to MSVC++ 2008 from MSVC++ 2003. Up to now, we have been using the binary distribution of python, but I believe to

Re: [python-win32] How can improvement time of response of Python cx_Oracle

2010-06-03 Thread Trent Nelson
On 6/3/2010 1:50 PM, Mauricio Martinez Garcia wrote: The time for an comparation of 2 DBs are many. Python: 1 - 2 mins by rows. Java 0.02 - 0.10 secs by rows. I need improvement the time of response of 1 - 2 minutes to 0.02 - 0.10 secs. How can this?. Out of interest, have you ruled out that

[python-win32] I'm getting outfoxed by an ActiveX control...

2010-07-23 Thread Trent Nelson
Howdy folks, I'm getting outfoxed by a pesky ActiveX control that keeps bombing out with a 'Catastrophic failure' as soon as I try and interact with it: >>> from win32com.client import * >>> d = Dispatch('TWS.TwsCtrl.1') >>> d >>> d.connect('', 7496, 0) pywintypes.com_error: (-2147418113, 'C

Re: [python-win32] I'm getting outfoxed by an ActiveX control...

2010-07-23 Thread Trent Nelson
On 23-Jul-10 2:29 PM, Tim Roberts wrote: Trent Nelson wrote: >>> import wx, wx.activex >>> app = wx.PySimpleApp() >>> f = wx.Frame(None, -1, "") >>> clsid = wx.activex.CLSID('TWS.TwsCtrl.1') *** axw = wx.activex.ActiveXW

Re: [python-win32] Detecting when a system has multiple monitors (desktops)

2010-08-27 Thread Trent Nelson
cally looks for windows that may have off-screen coordinates and then moves them back onto the main desktop. Regards, Trent. # Copyright 2010, Trent Nelson (tr...@snakebite.org). # $Id: fix_window_placements.py 6 2010-08-10 09:58:58Z Trent $ from win32gui import ( Set

[python-win32] PyParallel - an experimental "multicore" fork of Python 3 for Windows

2015-07-31 Thread Trent Nelson
Hi folks, Bit off-topic, but just wanted to let people know about an experimental proof-of-concept fork of Python 3 I've been working on for the past couple of years called PyParallel: http://pyparallel.org. It essentially gets around the GIL limitations and allows Python code to run simultaneous

Re: [python-win32] PyParallel - an experimental "multicore" fork of Python 3 for Windows

2015-07-31 Thread Trent Nelson
On Fri, Jul 31, 2015 at 07:17:55PM -0400, Dennis Lee Bieber wrote: > On Fri, 31 Jul 2015 16:14:43 -0400, Trent Nelson > declaimed the following: > > >Hi folks, > > > >Bit off-topic, but just wanted to let people know about an experimental > >proof-of-concept fork

Re: [python-win32] PyParallel - an experimental "multicore" fork of Python 3 for Windows

2015-08-02 Thread Trent Nelson
On Sat, Aug 01, 2015 at 02:54:16PM +, paul_kon...@dell.com wrote: > > > On Jul 31, 2015, at 4:14 PM, Trent Nelson > > wrote: > > > > Hi folks, > > > > Bit off-topic, but just wanted to let people know about an > > experimental proof-of-concept

Re: [python-win32] PyParallel - an experimental "multicore" fork of Python 3 for Windows

2015-08-02 Thread Trent Nelson
Hey Zach! On Fri, Jul 31, 2015 at 11:01:15PM -0500, Zachary Ware wrote: > On Fri, Jul 31, 2015 at 4:05 PM, Bob Hood wrote: > > Outstanding, Trent. Python's horrible multithreading support is > > something that has really kept it from being used in serious > > environments. Your work may not cov

Re: [python-win32] PyParallel - an experimental "multicore" fork of Python 3 for Windows

2015-08-02 Thread Trent Nelson
On Sat, Aug 01, 2015 at 02:54:16PM +, paul_kon...@dell.com wrote: > > > On Jul 31, 2015, at 4:14 PM, Trent Nelson > > wrote: > > > > Hi folks, > > > > Bit off-topic, but just wanted to let people know about an > > experimental proof-of-concept

Re: [python-win32] PyParallel - an experimental "multicore" fork of Python 3 for Windows

2015-08-03 Thread Trent Nelson
On Sun, Aug 02, 2015 at 10:04:09PM -0700, Glyph wrote: > > > On Aug 2, 2015, at 5:10 PM, Trent Nelson > > wrote: > > > > (OS X has GCD, which comes close.) > > For what it's worth, libdispatch has been ported to other POSIX > platforms: > https://li

Re: [python-win32] building a complicated Python application on Windows

2015-12-16 Thread Trent Nelson
Conda is well suited to this. I use it to bundle all sorts of stuff on Windows. (You write recipes (see https://github.com/conda/conda-recipes for examples), then 'conda build' them, which produces a package that can be subsequently installed with conda install. Can sign up to anaconda.org an

Re: [python-win32] building a complicated Python application on Windows

2015-12-18 Thread Trent Nelson
t sure how your mileage will fair with the community/free editions. You could sign up for an AppVeyor or Anaconda account if procuring VS proves problematic. Trent. -Original Message- From: Bill Janssen [mailto:jans...@parc.com] Sent: Friday, December 18, 2015 8:02 PM To: Tr

Re: [python-win32] building a complicated Python application on Windows

2015-12-19 Thread Trent Nelson
ou could use any compiler you want. But it's a bit late for that ;-) Trent. -Original Message- From: Bill Janssen [mailto:jans...@parc.com] Sent: Friday, December 18, 2015 9:12 PM To: Trent Nelson Cc: python-win32@python.org; jans...@parc.com Subject: Re: [python-win32]

Re: [python-win32] C# Vs Python

2007-04-04 Thread Trent Nelson
> Where CPython beats IronPython is cross-platform capabilities. IronPython can use standard CPython modules though, right? I've dropped my ipy.exe in C:\Python25 and it doesn't seem to have a problem with things like os.path, which isn't available in IP (unless I'm doing something brain dead).

Re: [python-win32] Announcement: Project to get some CPython C extensions running underIronPython

2007-10-18 Thread Trent Nelson
Giles, Just a thought: if you've got some energy you're willing to invest, perhaps you could redirect it to getting win32com to support the generation of type libraries for Python classes that are exposed as COM objects. If you've got a .tlb available, you can use 'tlbimp' to generate .NET assemb

[python-win32] Any interest in a pywin32 open session at PyCon?

2008-03-15 Thread Trent Nelson
Anyone interested in a pywin32-oriented open session at PyCon? I wouldn't mind chewing the fat on the following two ideas: - Using decorators to provide the type information that would be required in order to generate an IDL from a COM-exposed Python class (i.e. @idl(str, int, list, returns=in

Re: [python-win32] Any interest in a pywin32 open session at PyCon?

2008-03-15 Thread Trent Nelson
> Trent Nelson wrote: > > Anyone interested in a pywin32-oriented open session at PyCon? > > Damn. Wish I were there! > > Trent, depending on what kind of take up you get, please do > at least post up any discussions / conclusions to the list > (or a blog or whatever).

Re: [python-win32] Any interest in a pywin32 open session at PyCon?

2008-03-15 Thread Trent Nelson
> Anyone interested in a pywin32-oriented open session at PyCon? I've booked the 'Love B' room from 6pm-7pm tonight. Same room as the Python & .NET session, which goes from 7pm-8:30pm. Hopefully a few people other than myself turn up, otherwise it's going to be a pretty boring summary blog ;-)

Re: [python-win32] Any interest in a pywin32 open session at PyCon?

2008-03-15 Thread Trent Nelson
> I'd be happy to chat about this - but I'm not really sure much > face-to-face talk is needed (just action ;) I guess that's what the sprints are for ;-) I'm sticking around 'til Thursday, give or take, and apart from continuing work on the x64 Windows Python build, I'm certainly interested in

[python-win32] [OT] Anyone happen to know the system-wide limit of HANDLEs in Windows 2000 Server?

2008-05-15 Thread Trent Nelson
I'm debugging a weird/sporadic COM/ActiveX error with an application on a client's site that's recently been 'migrated' to Citrix Metaframe on Windows 2000 Server. I'm starting to think we may be hitting the system-wide limit for how many HANDLEs can be created across all processes every so oft

[python-win32] Hooking in NTLM...

2008-06-11 Thread Trent Nelson
Howdy, Mark, I vaguely recall a brief chat we had at PyCon where you said you'd hooked NTLM into, um, some sort of web-enabled Python environment ;-) I can't remember the details (hope you can!), but I'm interested in whatever you came up with. Currently, if I want to 'seamlessly' get a user'