Re: [python-win32] passing array by reference (3) [SEC=UNCLASSIFIED]

2017-02-20 Thread Andrew MacIntyre
ne alone!" <- Andrew MacIntyre Operations, Services and Technologies Branch tel: +61 2 6219 5356 Communications Infrastructure Division Australian Communications & Media Authority email: andrew.macint...@acma.gov.au<mailto:andre

Re: [python-win32] Building my own C extension [SEC=UNCLASSIFIED]

2015-11-04 Thread Andrew MacIntyre
ufficient for my needs on Python 2.x (not tried on Python 3.x yet). Regards, Andrew. -----> "These thoughts are mine alone!" <- Andrew MacIntyre   Operations, Services and Technologies Branch tel:   +61 2 6219 5356 Communications Infras

Re: [python-win32] Control Volume on Windows [SEC=UNCLASSIFIED]

2014-03-11 Thread Andrew MacIntyre
cannot use them. I think that comtypes (https://pypi.python.org/pypi/comtypes) can deal with early binding interfaces? - These thoughts are mine alone! - Andrew MacIntyre Operations and Services Branch tel: +61 2 6219 5356 Communications

Re: [python-win32] Memory Leak in Threaded COM Object [SEC=UNOFFICIAL]

2013-05-05 Thread Andrew MacIntyre
Stab in the dark: after calling the Clear() method on object tom in method CreateTom, use del tom or tom = None to try and lose any remnant COM references before pythoncom.CoUninitialize() is called. - These thoughts are mine alone! - Andrew MacIntyre

Re: [python-win32] how can I do marshall.ReleaseComObject in python ?? [SEC=UNCLASSIFIED]

2012-09-11 Thread Andrew MacIntyre
[sorry for top post] I suspect that your problem relates to what objects are being retained by self._getCurrentEnt. - These thoughts are mine alone! - Andrew MacIntyre Operations Branch tel: +61 2 6219 5356 Communications Infrastructure Division

Re: [python-win32] how can I do marshall.ReleaseComObject in python ?? [SEC=UNOFFICIAL]

2012-09-11 Thread Andrew MacIntyre
! - Andrew MacIntyre Operations Branch tel: +61 2 6219 5356 Communications Infrastructure Division fax: +61 2 6253 3277 Australian Communications Media Authority email: andrew.macint...@acma.gov.aumailto:andrew.macint...@acma.gov.au http://www.acma.gov.au/ From

Re: [python-win32] how can I do marshall.ReleaseComObject in python ?? [SEC=UNCLASSIFIED]

2012-09-10 Thread Andrew MacIntyre
approach for example being perhaps more usual when dealing with object attributes. - These thoughts are mine alone! - Andrew MacIntyre Operations Branch tel: +61 2 6219 5356 Communications Infrastructure Division fax: +61 2 6253 3277 Australian

Re: [python-win32] Opening, Modifying, and Saving an Excel File from Python? (Tim Roberts) [SEC=PERSONAL]

2011-08-23 Thread Andrew MacIntyre
exception handling will also be required. - These thoughts are mine alone! - Andrew MacIntyre Operations Branch tel: +61 2 6219 5356 Communications Infrastructure Division fax: +61 2 6253 3277 Australian Communications Media Authority email

Re: [python-win32] 'exit is not defined' [SEC=UNCLASSIFIED]

2011-06-05 Thread Andrew MacIntyre
fully with how namespaces and scopes work in Python - the Modules section of the Python Tutorial might be a good place to start. - These thoughts are mine alone! - Andrew MacIntyre   Operations Branch tel:   +61 2 6219 5356 Communications

Re: [python-win32] pyTTS in versions later than 2.5 [SEC=PERSONAL]

2011-05-25 Thread Andrew MacIntyre
! - Andrew MacIntyre   Operations Branch tel:   +61 2 6219 5356 Communications Infrastructure Division fax:   +61 2 6253 3277 Australian Communications Media Authority email: andrew.macint...@acma.gov.au    http://www.acma.gov.au/ NOTICE: This email message

Re: [python-win32] Getting Started [SEC=PERSONAL]

2011-03-22 Thread Andrew MacIntyre
/crew/theller/comtypes/) builds on ctypes to access COM. - These thoughts are mine alone! - Andrew MacIntyre Operations Branch tel: +61 2 6219 5356 Communications Infrastructure Division fax: +61 2 6253 3277 Australian Communications Media

Re: [python-win32] Python Excel - 2 workbooks affect each other [SEC=UNCLASSIFIED]

2011-02-28 Thread Andrew MacIntyre
of a pasted cell, you might see how the source workbook worksheet are identified - I know that this sort of thing is visible when using the function wizard with such Excel functions as VLOOKUP. - These thoughts are mine alone! - Andrew MacIntyre

Re: [python-win32] odbc under windows 7? [SEC=PERSONAL]

2011-01-23 Thread Andrew MacIntyre
If you run out of other options, I've successfully used comtypes on top of the ctypes module included in Python 2.5 2.6 to read write data in Access 2003 databases. Regards, Andrew MacIntyre. - These thoughts are mine alone! - Andrew MacIntyre

Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app? [SEC=PERSONAL]

2010-03-22 Thread Andrew MacIntyre
Is it possible to draw directly to the desktop? I vaguely recall reading somewhere that that is how some splash screens are done to avoid the overhead of a window... - These thoughts are mine alone! - Andrew MacIntyre   Operations Branch tel:   +61 2

Re: [python-win32] passing c structure into python function [SEC=PERSONAL]

2010-02-15 Thread Andrew MacIntyre
purpose. - These thoughts are mine alone! - Andrew MacIntyre Operations Branch tel: +61 2 6219 5356 Communications Infrastructure Division fax: +61 2 6253 3277 Australian Communications Media Authority email: andrew.macint...@acma.gov.au

Re: [python-win32] 'No such interface supported' question [SEC=PERSONAL]

2010-01-13 Thread Andrew MacIntyre
. Sadly, most of the ArcObjects classes don't support the Dispatch interfaces required by PythonWin. - These thoughts are mine alone! - Andrew MacIntyre Operations Branch tel: +61 2 6219 5356 Communications Infrastructure Division fax

Re: [python-win32] Compiling Python code to DLLs: Any way to do this [SEC=PERSONAL]

2009-11-08 Thread Andrew MacIntyre
. - These thoughts are mine alone! - Andrew MacIntyre National Licensing and Allocations Branch tel: +61 2 6219 5356 Inputs to Industry Division fax: +61 2 6253 3277 Australian Communications Media Authority email: andrew.macint...@acma.gov.au

Re: [python-win32] Calling random Windows function? [SEC=PERSONAL]

2009-10-22 Thread Andrew MacIntyre
understand, while PyWin32 wraps a lot of API functions it doesn't wrap everything; if it's not wrapped, ctypes is your only option. - These thoughts are mine alone! - Andrew MacIntyre National Licensing and Allocations Branch tel: +61 2 6219 5356 Inputs

Re: [python-win32] Dict, List and Com Object...oh my! [SEC=PERSONAL]

2009-07-31 Thread Andrew MacIntyre
Does anyone have an idea why? I been trying to figure this out for 3 hours now. You appear to be re-using the same dictionary for each record; allocate a new one for each record before starting to populate it. - These thoughts are mine alone! - Andrew

Re: [python-win32] Help required in opening a remote file in python. [SEC=PERSONAL]

2009-02-22 Thread Andrew MacIntyre
... Its often easier to read as open(r\\remote_machine\share\folder\file, r) If you really must open it via urllib, then try urllib.open(file://remote_machine/share/folder/file) - These thoughts are mine alone! - Andrew MacIntyre National Licensing

Re: [python-win32] Does Python need a native Windows GUI toolkit? [SEC=UNCLASSIFIED]

2008-11-30 Thread Andrew MacIntyre
are mine alone! - Andrew MacIntyre National Licensing and Allocations Branch tel: +61 2 6219 5356 Inputs to Industry Division fax: +61 2 6253 3277 Australian Communications Media Authority email: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED

Re: [python-win32] PythonWin [SEC=UNCLASSIFIED]

2008-11-13 Thread Andrew MacIntyre
doesn't contain PythonWin, you can retrieve a copy of the PythonWin installer to match the Python version via PythonWin's home page: http://starship.python.net/crew/mhammond/win32/ - These thoughts are mine alone! - Andrew MacIntyre National Licensing

Re: [python-win32] Request for comments - the spaces issue [SEC=PERSONAL]

2008-05-25 Thread Andrew MacIntyre
are mine alone! - Andrew MacIntyre National Licensing and Allocations Branch tel: +61 2 6219 5356 Inputs to Industry Division fax: +61 2 6253 3277 Australian Communications Media Authority email: [EMAIL PROTECTED] If you have received this email in error, please

Re: [python-win32] gc does not free memory [SEC=PERSONAL]

2008-02-18 Thread Andrew MacIntyre
! - Andrew MacIntyre National Licensing and Allocations Branch tel: +61 2 6219 5356 Inputs to Industry Division fax: +61 2 6253 3277 Australian Communications Media Authority email: [EMAIL PROTECTED] If you have received this email in error, please notify the sender immediately

Re: [python-win32] comtypes methods vs. properties question [SEC=UNCLASSIFIED]

2007-10-21 Thread Andrew MacIntyre
without the cc to the Win32 list. - These thoughts are mine alone! - Andrew MacIntyre National Licensing and Allocations Branch tel: +61 2 6219 5356 Inputs to Industry Division fax: +61 2 6253 3277 Australian Communications Media Authority email

Re: [python-win32] 'No such interface supported' question [SEC=UNCLASSIFIED]

2007-10-18 Thread Andrew MacIntyre
as Python was concerned and the generated modules had to be manually edited to rectify this. With 9.x, ESRI split the TLBs up a lot more so I don't know how much this affects what gets generated. - These thoughts are mine alone! - Andrew MacIntyre National

Re: [python-win32] Library and header?

2006-01-09 Thread Andrew MacIntyre
the headers and libs - though for 2.4, VC7.1 would be required to match the Python build. - These thoughts are mine alone! - Andrew MacIntyre Broadcasting Planning Branch tel: +61 2 6256 2812 Radiocommunications Broadcasting Division fax: +61 2

Re: [python-win32] LOCALE related stuff Re: Setting environment

2005-05-11 Thread Andrew MacIntyre
have access to that compiler you can check this out. -- Andrew MacIntyre \ email: [EMAIL PROTECTED] Planning Branch\ tel: +61 2 6256 2812 Australian Broadcasting Authority \ fax: +61 2 6253