Python Program to Shutdown Restart and Logoff your Windows Computer ( User Input )
ฝัง
- เผยแพร่เมื่อ 2 ต.ค. 2024
- in this video you will learn to create an example program to shutdown restart and logoff your windows computer using Python programming language.
Here in this tutorial we are using the system function available in the os library.
We will be using the shutdown program available in the windows operating system stored at c:\\windows\\system32\\shutdown
Here we are asking the user whether he wants to do the operation and if the user enters yes then we will execute that code.
our Social Media Pages
/ exampleprogram
/ exampleprogram
/ examplecomputerprogram
Our Website
www.ExamplePro...
#PythonProgramming #ExampleProgram
This channel is gold
Thank you :)
This is brilliant. I am working on creating a desktop app that does the same thing but with a UI built using python
Hey. How can I make an application that can be run on the desktop off a script?
thank you for your videos, easy to understand and straight to the point in a clear precise way
thank you :)
thank you so much i wrote a program that shutdown a pc when executed. but it did not work because i did not know that i needed to pass an argument. so thanks once more
Please make more vedio on Python programming class 12 syllabus
we don't make tutorials specific to a syllabus.
but we will upload more python video's.
@@ExampleProgram ok as you wish but make vedios related to syllabus plz
He is saying correct plzz make more videos for 12th sllyabus plzzz🙏🙏🙏
ok i'll look into it :)
@@ExampleProgram okk thankyou☺
Crystal Clear Explaination...Keep it up bro
Thank you
Like the Python by example.
But can we take the time input (\t) from user input? I mean without it the whole program becomes static and everytime I wanna change the time I've to rewrite the code.
you can :)
@@ExampleProgram u didn't say how
This video had 69 comments, that's why I commented in this video and made it 70 😅
nexus event detected.
sending TVA agents…
It’s ease to understand
glad this video helped you :)
Good, but i want to sign out the other users of my system which are disconnected. So that time what i need to do?
Did it👍🏿
awesome :)
Perfect 👌
Thank you :)
Keep it going mate, I like your clear explanations
Glad you like it :)
If we directly shutdown the program ...it will lead to sudden shutdown of computer and stop cause problem to running files....is there any way to close all open files and then shut the system..?
Maybe can make a tutorial about, Foundation of building a website using Python. It's should be useful for many people like me.
When I type in "shutdown" it show "shutdown is not recognized as an internal or external command operable program or batch file" . What should I do
Make sure that you type the command as shown in the Video
It'll help me to make hacking softwarevusing python
Bro i made Jarvis ai with help of code with harry so i want to give theme and and convert into app
Actually I do this on my Mac it doesn’t work
If i want my computer to go in sleep mode what will be its codes??
How can i use this program in my Android phone?
/ail...not /l
Why??
can you a pyautogui version
how to the pc using python??
Is it is safe because I want to make a Python tkinter project and in it I am using shutdown restart button if we tap them it will be shut down but is it safe for use
👍👍👍👏👏👏🎉💖
thanks
Sir you explain fabulously. What i like d about you is you were always to the point
Thanks a ton
Is it pssible to reboot windows server from remote server? I have multiple servers and i need to reboot them everymonth due to windows patches. If you provide some idea about giving multiple IPs and credentials and reboot command then that helps me a lot. Please suggest me some ideas.
Super
thank you :)
Perfect kannada guy for Python, Good job guru! Olledagli, Ide thara good videos upload madtha iri, 🙌👏👏
ನಾನು ಕನ್ನಡಿಗ ಅಂತ ಹೇಗ್ ಗೊತ್ತಾಯ್ತು ?
ನೀವು ಕನ್ನಡಿಗ ಅಂತ ತಿಳಿದು ಖುಷಿ ಆಯಿತು :)
@@ExampleProgram yaake gottagala shettre.....yaav ooru nimdu?
udupi.
nimdu yav ooru?
@@ExampleProgram mangluru marre..
print('Thanks!')
Welcome!
Amazing
Thanks
U r explained like amuls academy
thank you :)
Awesome stuff
Thank you :)
i need a help from you.will you sort out me
Sir its not working
It's not working in my laptop too
thank you bro!
Welcome!