---
title: "Comment by Gilbert Jimmie on \"Python code to shutdown computer\" | Hashnode"
description: "In this article, we will create a python script that can log you out, restart your computer, spin the wheel or shut it down and link it to a graphical user inte"
url: "https://hashnode.com/posts/python-code-to-shutdown-computer/5fbf393bd73a0534d9b51b08/comment/6359fec37366ac150ec50d97"
---

[Discussion](https://hashnode.com/posts/python-code-to-shutdown-computer/5fbf393bd73a0534d9b51b08)

Comment [Python code to shutdown computer](https://hashnode.com/posts/python-code-to-shutdown-computer/5fbf393bd73a0534d9b51b08)

[Gilbert Jimmie](https://hashnode.com/@SaraPaul)

[Oct 27, 2022](https://hashnode.com/posts/python-code-to-shutdown-computer/5fbf393bd73a0534d9b51b08/comment/6359fec37366ac150ec50d97)

In this article, we will create a python script that can log you out, restart your computer, [spin the wheel](https://spin-thewheel.com/) or shut it down and link it to a graphical user interface.
