running a Python script on Windows

Posts 19 of 9 · Page 1 of 1
running a Python script on Windows
Hey guys

I have a question for people that use Python and are experts on Windows.

So the thing is my and my classmate are making a project about the voting system in the USA blalalala

point is we want to run a python script on a windows machine like:

When the PC starts it loads its normal windows but when it goes to the homescreen it automatically opens the script and runs it
Just like a cmd in fullscreen

Do you guys know how this is possible?
step 1. dont do it in python
step 2. ???
Quote Originally Posted by Crandon View Post
Hey guys

I have a question for people that use Python and are experts on Windows.

So the thing is my and my classmate are making a project about the voting system in the USA blalalala

point is we want to run a python script on a windows machine like:

When the PC starts it loads its normal windows but when it goes to the homescreen it automatically opens the script and runs it
Just like a cmd in fullscreen

Do you guys know how this is possible?
This isn't necessarily a Python question. I mean, you could just add it to Windows' startup processes or run a batch script at startup that runs the python script. Either way is easy to do.
Quote Originally Posted by Psychotic View Post


This isn't necessarily a Python question. I mean, you could just add it to Windows' startup processes or run a batch script at startup that runs the python script. Either way is easy to do.
Yeah but its like you shouldnt be able to be on the desktop when the pc is fully loaded it just needs to run the script and thats it.
Quote Originally Posted by Crandon View Post

Yeah but its like you shouldnt be able to be on the desktop when the pc is fully loaded it just needs to run the script and thats it.
So you're asking to do what is done in some offices and such where they don't use the Windows Client but an terminal client.
As said above, you would just have to add it as an startup progress. With highest priority so it get first in the queue.

So I guess you would go for the: Task Schedule
Quote Originally Posted by Crandon View Post

Yeah but its like you shouldnt be able to be on the desktop when the pc is fully loaded it just needs to run the script and thats it.
so you want the script to run automatically if you press the power button on the pc?
that would involve editing the system files
Quote Originally Posted by Jorndel View Post


So you're asking to do what is done in some offices and such where they don't use the Windows Client but an terminal client.
As said above, you would just have to add it as an startup progress. With highest priority so it get first in the queue.

So I guess you would go for the: Task Schedule
Did that it didn't work
I have added the script to the startup folder and it starts up when the user logs on

Still not really what I wanted but I think it cant be better.
Quote Originally Posted by Crandon View Post


Did that it didn't work
I have added the script to the startup folder and it starts up when the user logs on

Still not really what I wanted but I think it cant be better.
Then I guess you don't know how to work with Windows and it's Task Schedule.
You could also make an service that would do so the file is ran at startup, this is a little more advanced
What I suggested is exactly what you've described. I'm not sure what else you can do. I think your best bet is to just keep going with Task Schedule.
Posts 19 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?