Skip to content
murmot

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

  • discuss.python.org

    How to iterate through all the files in the directory

    Nov 15, 2022 · Right now I have to copy paste one file in the folder then rename it as input.pdf and then execute the script, then for new file, replace the input.pdf file with new file and execute the program and so on… Now I want to iterate through all the (.pdf) files in a folder and perform the task specified in a function without changing the name of the file and save the file with the same name but ...

  • discuss.python.org

    GUI to run a script with input variables - Python Help ...

    Feb 20, 2023 · The astronomy club now want me to make a GUI to call / run a script. I need to have to the input variables on the GUI as input boxes and even a combo box. I’ve started with tkiner but nowhere near close to what I need. I would have 4 input variables… Filename ID Open fold Folder Dir It would call a script / function creator.py passing the input variables to this routine. Anyone point me in ...

  • discuss.python.org

    No module named 'fpdf' - Python Help - Discussions on Python.org

    Hello everyone, I wish to create a pdf file using python using füdf module and one error always pops up when I run my script.If you’re running from the command line, and let us say using the command “python3” to invoke Python, you can invoke the approrpiate pip like this

  • discuss.python.org

    Running code using IDLE - Discussions on Python.org

    Aug 9, 2023 · Hi I followed the steps in the link below to start IDLE and write a code and then try to run it. I wrote the code and as per the instructions below, I need to press F5 to run it, but when I press F5 nothing happened. How can I run a code from IDLE? Thank you very much,

  • 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

    PEP 722: Dependency specification for single-file scripts

    For running scripts in particular. Because running a script is a Python core function. And, the core devs have explicitly stated that they want packaging to be outside the core. So script running, while it may be something packaging tools will offer, is not exclusive to such tools.

  • discuss.python.org

    Free Site to run code online and share Python snippets?

    Apr 8, 2025 · I’m looking for a site to run and share Python code snippets. My son may be looking into learning Python. I tried https://python-fiddle.com but when I clicked Share, and then Copy, it does not create a unique link to that program. Are there sites where I can make some code and share the link so the person can see how it runs? EDIT: On Python Fiddle I had to create a new program, enter code ...

  • discuss.python.org

    How do i run a python script without it opening pycharm

    Feb 7, 2025 · Hello, from your post title, if you want to run a module without opening an IDE (i.e., PyCharm), you can run it from the command prompt. Just type the module name along with the .py extension. For example: