Skip to content
murmot

Results for “python script runner site:discuss.python.org tutorial”

  • discuss.python.org

    Running a script - Python Help - Discussions on Python.org

    The wireless package depends on the packaging package, which does not support python2.7. Try rewriting your script for python3.For example, I am running Mint 20.3 (released Jan 2022) and it came with 3.8 (which will be officially supported and maintained until Oct 2024).

  • discuss.python.org

    How to properly key and run a subscript - Python Help ...

    Jul 20, 2025 · Dear Forum, When I keyed the following subscript expression into the script shell, it saved to a file and the IDLE shell appeared but did not run the expression: data = 'myprogram.exe' data[2] When I copied and pasted it into the IDLE shell, one line at a time, the expression executed fine. Any suggestions will be welcome.

  • discuss.python.org

    Run a python script on mac terminal

    May 21, 2023 ... Hello everyone, I just start to study python days ago. Now I have installed python 3.11.3 and vscode on my macos 13.0.

  • discuss.python.org

    Running code using IDLE - Discussions on Python.org

    Aug 9, 2023 · Selecting Run on the top menu and then Run Module, or hitting the hotkey F5 is the way to run code in an IDLE editor. I have not heard of the latter failing before. Some debugging questions: What operating system do you have? How did you install Python? How do you start IDLE? What do you first see?

  • discuss.python.org

    Which python IDE should I use?

    Feb 17, 2024 ... Hello there ! I've been using python for a while, but I never used and IDE, I would always just type my script in some text editor and run ...

  • discuss.python.org

    Is there a way to step through a program? - Python Help ...

    Jun 25, 2024 · Is this possible in Python IDLE 3.11? “Assuming you already have the script open in IDLE, open a Python shell window (Run->Python Shell), click Debug->Debugger in that window, and then run the script.” This tutorial seems to be ok from first glance: Getting Started With Python IDLE – Real Python

  • discuss.python.org

    Zero experience python user needs help

    Dec 23, 2023 ... File “/home/runner/variables/main.py”, line 117 {set_a} {set_b} ^ SyntaxError ... Python Tutorial - part of the Python documentation set?

  • discuss.python.org

    Built-in is_main() function as a more beginner-friendly alternative to if...

    In the first place, its use is never required to make a basic script work. As many others have already observed, the first scripts one writes when beginning with Python are invariably standalone. So, if the goal is to illustrate some introductory concepts, a la The Python Tutorial, there’s no...

  • discuss.python.org

    How to run an script remotely - Python Help - Discussions on ...

    Nov 11, 2021 · Hello, As an example, I have this code: import os os.system(‘calc.exe’) If I run it locally, it works (Pycharm and CMD). But I tried to run from an external tool, it does not work. Someone said that I need to run it as a SYSTEM in interactive mode with PSEXEC. He sent me this sentence: psexec -i -s calc.exe But when I run my script with that sentence in the ("") it does not work. Does ...

  • discuss.python.org

    My first coding assignment in Python

    Mar 23, 2024 ... ... code. Error: File “/home/runner/work/9780357880876_pld-10e-python ... If so then that looks like the start of a tutorial and not the python code ...

  • discuss.python.org

    Standardized shebang for PEP 723 script runner - Ideas ...

    Apr 9, 2025 · I have seen articles and discussions recently that recommend a shebang for scripts that use inline script metadata (PEP 723). They currently link directly to a particular script runner, often uv. This allows running the script directly, but only when that particular script runner is installed. For example: #!/usr/bin/env -S uv run --script Shebangs in scripts that hard code assumptions have a ...

  • discuss.python.org

    Python not found by command prompt

    Feb 11, 2024 ... I have installed Python in Windows 11 and saved a small script called unicode.replacer.py In the command prompt, in the correct directory, ...