How to create a service in python on windows?

I want to start the service in windows that will run in the background and will start cron with a specific time.
how can i do this on windows using python?

+3
source share
3 answers

Use pywin32 . The textbook was written (note in 2005) here on how to do this.

+3
source

, win32 api. , BasicNTService. win32 . , , . WindowsServer.py, Pyro Python.

+1

The combination of cx_freeze and srvany can do the job.

See this one for using srvany (replace dropbox with exe)

0
source

Source: https://habr.com/ru/post/1780158/


All Articles