About 783,000 results
Open links in new tab
  1. How to execute Python scripts in Windows? - Stack Overflow

    The Python launcher for Windows is a utility which aids in the location and execution of different Python versions. It allows scripts (or the command-line) to indicate a preference for a specific Python …

  2. python - How to run script with elevated privilege on windows - Stack ...

    Jul 20, 2016 · With this script, it is easier to check if the user is an admin, and if not, ask for UAC/admin privileges. It provides output in separate windows to display what the code is doing. An example of …

  3. Running Python scripts through the Windows Command Line

    Apr 17, 2017 · Alternatively, you can run the python command and give it more information as to where the script is. For instance, you could run python .\my_scripts\script1.py if you are running from within …

  4. Windows: run python command from clickable icon

    May 13, 2016 · I have a python script I run using Cygwin and I'd like to create a clickable icon on the windows desktop that could run this script without opening Cygwin and entering in the commands by …

  5. How can I make a Python script standalone executable to run without …

    Jan 24, 2017 · I'm building a Python application and don't want to force my clients to install Python and modules. So, is there a way to compile a Python script to be a standalone executable?

  6. How to schedule a script to run every day for Python

    Aug 15, 2022 · Open a text editor, such as Notepad. Type the following code: Save the file as "DailyScript.py." In the Windows Task Scheduler, create a new task. In the "General" tab, enter the …

  7. Creating a BAT file for python script - Stack Overflow

    Jan 1, 2011 · How can I create a simple BAT file that will run my python script located at C:\\somescript.py?

  8. How to constantly run Python script in the background on Windows ...

    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 python.exe by default.

  9. Running python script without python installed on pc

    Oct 15, 2019 · The only realistic way to run a script on Windows without installing Python, is to use py2exe to package it into an executable. Py2exe in turn examines your script, and embeds the …

  10. windows - Python - How do you run a .py file? - Stack Overflow

    Feb 29, 2012 · Check that python's bin folder is in your PATH, or you can do c:\python23\bin\python <filename.py>. Python is an interpretive language and so you need the interpretor to run your file, …