stop/start windows services -python command

Prabu T.S. prabu.ts at gmail.com
Fri Oct 6 14:23:03 EDT 2017


On Friday, October 6, 2017 at 4:29:48 AM UTC-4, Paul  Moore wrote:
> 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

thank Pauls.
I have to rename 3.6 python in registry to 3.6-32 to make it work. Thanks again.



More information about the Python-list mailing list