About 421,000 results
Open links in new tab
  1. komodo ide - How do I run a Python program? - Stack Overflow

    Windows In order to run programs, your operating system looks in various places, and tries to match the name of the program / command you typed with some programs along the way. In …

  2. python - How do I execute a program or call a system command?

    How do I call an external command within Python as if I had typed it in a shell or command prompt?

  3. Run a Python script from another Python script, passing in …

    Mar 27, 2019 · Closed 10 years ago. I want to run a Python script from another Python script. I want to pass variables like I would using the command line. For example, I would run my first …

  4. python - How to call a script from another script? - Stack Overflow

    As it's already mentioned, runpy is a nice way to run other scripts or modules from current script. By the way, it's quite common for a tracer or debugger to do this, and under such …

  5. Shell Script: Execute a python program from within a shell script

    Here I have demonstrated an example to run python script within a shell script. For different purposes you may need to read the output from a shell command, execute both python script …

  6. 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 …

  7. How to stop Python closing immediately when executed in …

    Otherwise if you run it through python.exe an annoying blink of a command prompt appear as a result of the first window showing briefly each time. The intended script displays because the …

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

    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 example: …

  9. How to step through Python code to help debug issues?

    In Java/C# you can easily step through code to trace what might be going wrong, and IDE's make this process very user friendly. Can you trace through python code in a similar fashion?

  10. How do I get time of a Python program's execution?

    Oct 13, 2009 · To measure a Python program's execution time, use the time module. Record the start time with time .time () before the code and the end time after. Subtract start from end to …