I
I
Ivan Karmanov2020-08-07 11:03:09
Python
Ivan Karmanov, 2020-08-07 11:03:09

How to register a python program to autoload from the program itself?

It is necessary that the user starts the gui program in python and in the settings he can make the program start with Windows or Linux. Please tell me how to implement this in Python.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Tikhonov, 2020-08-07
@tumbler

In Windows, it's enough to simply create a shortcut to the "startup" folder (at least it used to work that way), in Linux, it most likely depends on the implementation of init and the window manager (more details are needed).

A
Artem @Jump, 2020-08-07
curated by the

You can create a task through the Windows command line, google the SCHTASKS command.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question