About 50 results
Open links in new tab
  1. How to shutdown a computer using Python - Stack Overflow

    I've written a Python script which should eventually shutdown the computer. This line is a part of it : os.system("shutdown /p") It makes some sort of a shutdown but remains on the turn-on Windows

  2. How can I check my python version in cmd? - Stack Overflow

    Jun 15, 2021 · I has downloaded python in python.org, and I wanted to check my python version, so I wrote python --version in cmd, but it said just Python, without version. Is there any other way to find …

  3. How can I run a Python project on another computer without installing ...

    Mar 26, 2021 · I have a Python Project that has a bunch of dependencies (in my VirtualEnv). I need to run my project in my school computer for Demonstration. My School computer does not have python …

  4. python - How can I install packages offline? - Stack Overflow

    What's the best way to download a Python package and its dependencies from PyPI for offline installation on another machine? Is there an easy way to do this with pip or easy_install? I'm trying to

  5. How to completely remove Python from a Windows machine?

    Here's the steps (my non-computer-savvy girlfriend had to figure this one out for me, but unlike all the far more complicated processes one can find online, this one works) Open Control Panel Click "Uninstall …

  6. Multiple Python versions on the same machine? - Stack Overflow

    Mar 8, 2019 · Is there official documentation on the Python website somewhere, on how to install and run multiple versions of Python on the same machine on Linux? I can find gazillions of blog posts …

  7. How do I get the current time in Python? - Stack Overflow

    If you're displaying the time with Python for the user, ctime works nicely, not in a table (it doesn't typically sort well), but perhaps in a clock. However, I personally recommend, when dealing with time in …

  8. python - How to duplicate virtualenv? - Stack Overflow

    Sep 16, 2011 · I have an existing virtualenv with a lot of packages but an old version of Django. What I want to do is duplicate this environment so I have another environment with the exact same …

  9. How to install Python (any version) in Windows when you've no admin ...

    Nov 15, 2020 · From the Python website, download the MSI version of Python you wish to install. Then open your command prompt and use this command:

  10. VS Code can't find Python - Stack Overflow

    Feb 1, 2021 · I noticed that the Scripts folder was not installed on my Python installation, so I reinstalled Python and followed the above steps. It worked for me. Visual Studio Code has a Python tutorial as …