stop/start windows services -python command

Paul Moore p.f.moore at gmail.com
Fri Oct 6 04:29:27 EDT 2017


On 6 October 2017 at 04:52, Prabu T.S. <prabu.ts at gmail.com> wrote:
> On Thursday, October 5, 2017 at 9:00:19 PM UTC-4, MRAB wrote:
>> On 2017-10-06 01:37, Prabu T.S. wrote:
>> > On Thursday, October 5, 2017 at 8:33:02 PM UTC-4, MRAB wrote:
>> >> On 2017-10-05 23:32, Prabu T.S. wrote:
>> >> > On Thursday, October 5, 2017 at 6:16:44 PM UTC-4, Prabu T.S. wrote:
>> >> >> hello all,what is the command to stop and start windows services ?
>> >> >> i can't install win32serviceutil bec am using latest python version.
>> >> >
>> >> > Please advice on this
>> >> >
>> >> Ask Google: windows services start stop command line
>> >
>> > asking for python.
>> >
>> Again, ask Google: windows services start stop python
>>
>> Those results talk about "win32serviceutil", which is not part of the
>> standard library, but part of pywin32, which you can download.
>
> i tried pywin32, but its not compatible with python 3.6. Is there anyway i can implement start and stop services in python 3.6 version.

pywin32 *is* available for Python 3.6. Either from
https://sourceforge.net/projects/pywin32/files/pywin32/Build%20220/ (a
wininst installer, which is not compatible with pip but which
nevertheless can be installed in your system Python) or from
http://www.lfd.uci.edu/~gohlke/pythonlibs/ which hosts a lot of wheels
for Windows,or as pypiwin32 from PyPI
(https://pypi.python.org/pypi/pypiwin32/220).

It's possible to find at least some of these via Google searches, too.
Paul



More information about the Python-list mailing list