Hi all,
I'm working on a Tkinter app that is being deployed to Windows via py2exe
for wrapping and InnoSetup for its installer. In order to provide a similar
scripting capability to the app that is present in its Mac version, I've
made the app a COM server using the examples from python-win32 code
For registering the com server we use innosetup with the following line
[Run]
Filename: "{app}\openclerk.exe"; Parameters: "/regserver"; WorkingDir: "{app}"
; StatusMsg: "Registering openclerk.exe ..."
---
I’ve used a variation of this techinque, it seems to work fine. Thanks.
usually you get
Hi Matteo,
Thanks for the suggestions. I have integrated the win32trace module into my
frozen app. Here is my final code:
from quickwho_main import quickwhoApp
import time
import tempfile
from win32com.server.exception import COMException
import winerror
import win32com.server.register
import w
Hello all,
I’ve continued my efforts to create a COM server with Python and have found
success by implementing one without the overhead of a GUI event loop (my
Tkinter app didn’t work as a COM server). I’ve created the server and confirmed
that it works when run from Python, but I am not able t
I somehow got the component to load, finally. One trick I did use was absolute
import of the win32api module, which seemed to help. However, I can’t pinpoint
exactly what I did wrong vs. what I did right. That’s a bit frustrating, but no
worries. ___
p
Hi,
I’m getting feedback from a Windows user that says my Tkinter app won’t write
data to an app temporary directory. Here’s my code:
sys.stderr=open(os.path.join(os.path.expanduser('~'), 'Application Data',
'QuickWho', 'QuickWho_errors.txt'), 'w')
And here’s the error message:
Traceback (mos
-Original Message-
This might help...?
http://timgolden.me.uk/python/winshell.html
-
The os.environ['appdata'] bit worked fine for me, thanks for suggesting it.
That winshell package looks quite nice--I will check it out.
--Kevin
___