About 347,000 results
Open links in new tab
  1. How do you run a Python script as a service in Windows?

    Contrary to the name, it works with both Windows 2000 and Windows XP as well. Here are some instructions for how to install a python script as a service. Installing a Python script. Run …

  2. Scheduling a .py file on Task Scheduler in Windows 10

    Feb 15, 2024 · Suppose the script you want to run is E:\My script.py. Instead of running the script directly, instruct the task scheduler to run python.exe with the script as an argument. For …

  3. Windows: run python command from clickable icon

    May 13, 2016 · Without the Python launcher installed, Python scripts (files with the extension .py) will be executed by python.exe by default. This executable opens a terminal, which stays open …

  4. How to execute Python scripts in Windows? - Stack Overflow

    Additionally, if you want to be able to run your python scripts without typing the .py (or .pyw) on the end of the file name, you need to add .PY (or .PY;.PYW) to the list of extensions in the …

  5. How do I run Python script using arguments in windows command …

    Next run these two commands: assoc .py=Python.Executable ftype Python.Executable="C:\Users\YOUR_NAME\AppData\Local\anaconda3\python.exe" "%1" %* …

  6. Run Python script without Windows console appearing

    Jul 27, 2016 · where server.py is the path of the Python script you want to run. 2. Create "RunScript.vbs" file with Notepad and insert following content: …

  7. How to constantly run Python script in the background on …

    Dec 1, 2019 · On Windows, you can use pythonw.exe in order to run a python script as a background process: Python scripts (files with the extension .py) will be executed by …

  8. python - virtualenv in PowerShell? - Stack Overflow

    1)Type powershell in search bar of windows then right click on it and select Run as Administrator (if you have problem in that check this) 2) Run the following command in powershell: Set …

  9. windows - Python script to launch a program as a different user

    Aug 6, 2021 · I'm looking to make a python script that will launch a specified exe file in Windows under another user's context. Effectively, automating the "run as another user". I have a …

  10. windows - running a python script from the terminal - Stack …

    Apr 9, 2015 · There are multiple ways you can run a python script from the python interpreter: Direct call: you can directly call the python interpreter with the script path as argument. …

Refresh