Diego Vélez Torres wrote: > > The VALUES were an empty string and an empty bytes respectively. > > Before applying your advise, I put some 'prints' in order to > understand what is happening to 'baseName' variable. What I found was > that when I initiate an instance of tkinter app: app = tkinter.Tk() > outside a COM object (eg. directly from the interactive window), the > value was '' (I mean an empty string). The same code, but called from > a COM the value was a b'' (an empty variable of the type bytes). I > don't know if I'm answering your question. I hope I do.
Absolutely, yes. Thanks. I have to think this is a bug in the Python COM interface layer, injecting a value into sys.argv without implementing the Python 3 string changes. I don't see the problem in 5 minutes of perusal, but we should get this on a bug list. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32