Re: [python-win32] Add-in question: Pulling a list of Excel Add-ins

2020-08-23 Thread Harald Armin Massa[legacy]
Hi Brandon, useful search term to put into search engine is "excel object model list of addins" You can use this microsoft documentation https://docs.microsoft.com/en-us/office/vba/api/excel.addins and translate from VBA within Excel to Python and COM communication pywin32 is just an interface

Re: [python-win32] Creating standalone executable

2015-01-06 Thread Harald Armin Massa[legacy]
y made tool available; and the majority agrees that those libraries would not be licenced for this usage (they are licenced for redistribution). best wishes, Harald 2015-01-06 18:22 GMT+01:00 Harald Armin Massa[legacy] < haraldarminma...@gmail.com>: > John, > >

Re: [python-win32] Creating standalone executable

2015-01-06 Thread Harald Armin Massa[legacy]
John, you should read under http://www.py2exe.org/index.cgi/SingleFileExecutable 1 from distutils.core import setup 2

Re: [python-win32] Dropping support for Python 2.3?

2013-03-26 Thread Harald Armin Massa[legacy]
> Is it really worthwhile to keep maintaining support for Python 2.3, which > was released in 2005 and has not been updated since 2008? my vote: keep the running versions, aka builds up to now downloadable. Drop the support for more modern builds of PythonWin32. Whoever is forced to work with Pyth

Re: [python-win32] check if comserver is registered, no -> install it?

2012-12-19 Thread Harald Armin Massa[legacy]
Hallo Steffen, > Hi i tried to do exactly this. But on executing the line > > > dll = ctypes.OleDLL('myComServer.dll') > > i get following error: > > Traceback (most recent call last): > File "C:\Temp\com_tests.py", line 21, in > x = ctypes.OleDLL(os.path.realpath(local_dll)) > File "C:\P

Re: [python-win32] How to invoke Python program from Windows service?

2012-06-22 Thread Harald Armin Massa[legacy]
Matt, > > Yeah, that was exactly my problem; I had no way to diagnose what was going > on, and >needed a springboard to tell me what I needed to know in order to > figure out what was >happening (or not).  I could verify that the script > *worked*, since I could run it from a DOS >prompt withou

Re: [python-win32] Windows service using py2exe

2012-05-15 Thread Harald Armin Massa[legacy]
>  File "win32serviceutil.pyc", line 611, in HandleCommandLine >  File "win32serviceutil.pyc", line 447, in DebugService >  File "test.pyc", line 28, in __init__ > WindowsError: [Error 267] The directory name is invalid: > 'C:\\Service\\test.exe

Re: [python-win32] Windows service using py2exe

2012-05-14 Thread Harald Armin Massa[legacy]
Antony, > C:\Documents and Settings\admin\Desktop>test.exe debug > Debugging service Test - press Ctrl+C to stop. > Traceback (most recent call last): >  File "boot_service.py", line 185, in >  File "win32serviceutil.pyc", line 611, in HandleCommandLine >  File "win32serviceutil.pyc", line 447, i

Re: [python-win32] Anti-reverse Python-based binaries?

2012-02-10 Thread Harald Armin Massa[legacy]
arned Dropbox took a quite effective approach: reshuffle the Python bytecodes, compile your own Python. Rises the costs of reengeneering quite a bit. Harald -- GHUM Harald Massa persuadere et programmare Harald Armin Massa Spielberger Straße 49 70435 Stuttgart 0173/9409607 no fx, no carrier pigeon -

Re: [python-win32] Multiple Windows Services

2009-01-22 Thread Harald Armin Massa
h? I would prefer not to go near the registry if > possible. > 2. If not, what is the right way? > > > Thanks > > -- > Nick > > _______ > python-win32 mailing list > python-win32@python.org > http://mail.python.org/mail

Re: [python-win32] Obtaining SMTP address of a sender and receiver of an outlook mail

2008-12-08 Thread Harald Armin Massa
;>> >> >> >> >> -- >> We are all slave to our own paradigm. -- Joshua Williams >> >> If the letters PhD appear after a person's name, that person will remain >> outdoors even after it's started raining. -- Jeff Kay >> >> Fascism is a term used to describe authorita

Re: [python-win32] PythonWin

2008-11-13 Thread Harald Armin Massa
> python-win32 mailing list > python-win32@python.org > http://mail.python.org/mailman/listinfo/python-win32 > > -- GHUM Harald Massa persuadere et programmare Harald Armin Massa Spielberger Straße 49 70435 Stuttgart 0173/9409

Re: [python-win32] Attributes on exceptions

2008-09-30 Thread Harald Armin Massa
M Harald Massa persuadere et programmare Harald Armin Massa Spielberger Straße 49 70435 Stuttgart 0173/9409607 no fx, no carrier pigeon - EuroPython 2009 will take place in Birmingham - Stay tuned! ___ python-win32 mailing list python-win32@python.org http://m

[python-win32] Pivot in Excel from Python

2005-11-18 Thread Harald Armin Massa
Peter,I had similiar challenges. After trying in vain for some time, I decided to add a VB-macro to the Excel Templates which does all the pivot creation and refresh of data, and to call that macro from Python. My impression was that there is some missing link within the Excel COM Interface, which

Re: [python-win32] Fetching network interface instance names

2005-07-26 Thread Harald Armin Massa
Mark, >http://www.microsoft.com/technet/scriptcenter/scripts/python/pyindex.mspx >has some scripts that appear to do what you need.>(Quite cool that we can now post a microsoft.com address for help with>Python scripts ;) Really, really cool. It's a hug of a giant. But the sad thing: I quite ra

[python-win32] testing windows services

2005-07-05 Thread Harald Armin Massa
Hello, within the win32-extensions under demo I found the pipetestservice.py and am developping my own services out of it. With each development step I have to stop the running service remove the existing one install the  new one start the service of course, I can script that... but it still t