Ongeveer 43.200.000 resultaten
Koppelingen in nieuw tabblad openen
  1. What is the difference between 'py' and 'python' in the Windows ...

    17 jun. 2018 · py is the Python launcher which is a utility that comes with Python installations on Windows. It gets installed into C:\Windows\ so it’s available without requiring PATH …

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

    29 feb. 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 …

  3. how to access python from command line using py instead of …

    23 sep. 2015 · If you just use py it will start the one that was defined as default. So the official way would be to install Python 3.x, declare Python 2.7 as the default, and the py command will …

  4. How to configure __main__.py, __init__.py, and setup.py for a basic ...

    Package/ setup.py src/ __init__.py __main__.py code.py I want to be able to run the code in a lot of different ways. pip install Package and then python and then from Package import * python -m …

  5. python - What is setup.py? - Stack Overflow

    24 sep. 2009 · setup.py is a Python script that is usually shipped with libraries or programs, written in that language. It's purpose is the correct installation of the software.

  6. How can I convert a .py to .exe for Python? - Stack Overflow

    Steps to convert .py to .exe in Python 3.6 Install Python 3.6. Install cx_Freeze, (open your command prompt and type pip install cx_Freeze. Install idna, (open your command prompt and …

  7. python - What is __main__.py? - Stack Overflow

    28 okt. 2010 · What is the __main__.py file for, what sort of code should I put into it, and when should I have one?

  8. How to do install my custom package in editable mode, with uv

    6 feb. 2025 · I seem to have a fix for my own problem: uv run --project <path-to-myproject> <full-path-to-wrapper-script-in-myproject> seems to do the trick. The wrapper sits in the top level …

  9. What is the difference between a .py file and .ipynb file?

    61 .py is a regular python file. It's plain text and contains just your code. .ipynb is a python notebook and it contains the notebook code, the execution results and other internal settings in …

  10. VS Code can't find Python - Stack Overflow

    1 feb. 2021 · If you are using Code Runner, just go to Files>Preference>Settings and search for Code Runner: Executions. Open the settings.json and find python. You should see "python -u" as …