Re: [python-win32] Do we need dotnet 3.5?

2019-03-14 Thread Denis Akhiyarov
Have you looked at this? https://stackoverflow.com/questions/23631675/install-net-3-5-framework-on-windows-server-2012-without-dvd On Thu, Mar 14, 2019 at 1:29 PM Vernon D. Cole wrote: > I am trying to build a build machine (actually a script to build build > machines) capable of creating a pywi

Re: [python-win32] Multiple versions of Python

2017-10-08 Thread Denis Akhiyarov
This is pywin32 mailing list, but generally you can use virtualenv or conda environments to manage your multiple Python versions from the command-line. Note that PTVS provides convenient ways to add multiple environments to the same Python project from Visual Studio user interface. In essence all t

Re: [python-win32] Equivalence of win32com.client under Linux

2017-03-27 Thread Denis Akhiyarov
You can call into Mono from CPython on Linux and OSX using pythonnet: https://github.com/pythonnet/pythonnet On Thu, Mar 23, 2017, 10:32 AM Preston Landers wrote: > I wouldn't say it's 100% impossible - there is a thing called Mono which > allows, subject to numerous limitations, running some .

Re: [python-win32] Python win32Com Server DLL

2017-02-19 Thread Denis Akhiyarov
.NET uses RCW to cache calls into COM. I once used pythonnet to call into COM from Python using .NET COM interop. But this is not ready for general use due to the amount of boilerplate code necessary to make the calls. See this issue for more details. https://github.com/pythonnet/pythonnet/issues/

Re: [python-win32] Python win32Com Server DLL

2017-02-16 Thread Denis Akhiyarov
I would be curious to see your c# code, I support Tim on unrealistic timing. This kind of questions are good for Stackoverflow. On Thu, Feb 16, 2017, 6:50 PM Tim Roberts wrote: > Stephen Chapman wrote: > > So after much research on the library . It certainly looks like the > > invoke method is

[python-win32] comtypes cryptic error - no attribute '__ctypes_from_outparam__'

2015-09-30 Thread AKHIYAROV, Denis (WGK)
es\__init__.py(659)call_with_inout() 658 if len(outargs) == 1: # rescode is not iterable --> 659 return rescode.__ctypes_from_outparam__() 660 ipdb> outargs {0: VARIANT(vt=0x8, u'string_name')} ipdb> rescode (VARIANT(vt=0x8, u'string_name'

Re: [python-win32] Using win32serviceutil.InstallService() on a non admin account

2010-06-18 Thread Denis
at, Jun 19, 2010 at 12:52 AM, Denis wrote: > After some searches I've found a possible way to accomplish what I want > using two executables provided as part of the Microsotf 2003 Resource Kits, > namely Instsrv and Srvany (heck, windows utilities have wonderful names). > > Here

Re: [python-win32] Using win32serviceutil.InstallService() on a non admin account

2010-06-18 Thread Denis
http://trac.edgewall.org/wiki/TracOnWindowsStandalone I could include them in my installer to make it follow the same procedure. I'm going to try this approach - just tell me if there's an other and more adapted way to proceed : windows development is unkown territory to me. Thanks in advance,

[python-win32] Using win32serviceutil.InstallService() on a non admin account

2010-06-18 Thread Denis
Hi, I'm creating an application that needs to run CherryPy as a background service. It currently works fine in Linux and Mac OS X, but I'm a bit struggling to make the windows version as I'm new to win development. My code is a barely modified version of what can be found here : http://tools.cherr