A
A
Alexander Rublev2018-07-03 17:09:05
Python
Alexander Rublev, 2018-07-03 17:09:05

How to run a program written in Python when logging in?

Hello. I'm trying to set up terminals via RDP.
There is a written program in Python + QT. All this is in .py format
. Is there any way to run it as a remote desktop environment?
I tried to write there the command "py C:\Users\Administrator.WIN-5BM7OVOFTOS\Desktop\CRM-Avi\main_operation.py"
The terminal starts and immediately closes.
l2Z6KbQswgvyd2.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Paperno, 2018-07-03
@Meller008

Create a .bat file:
Try opening it from the command line. If it works without errors, add the path to the .bat file instead of this line.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question