About 52 results
Open links in new tab
  1. What is the difference between 'py' and 'python' in the Windows ...

    Jun 17, 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 modifications.

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

  3. Как открыть .py файл через Python - Stack Overflow на русском

    Feb 28, 2023 · Для редактирования файла .py самый простой вариант - открыть файл в IDLE. Ярлык этого приложения есть в главном меню. Из этой среды можно и запустить …

  4. ¿Cómo ejecutar un archivo con extensión .py? - Stack Overflow en ...

    Mar 16, 2020 · Estoy comenzando a programar en Python y sinceramente no sé casi nada. Por el momento no sé cómo puedo ejecutar un archivo con extensión .py desde la terminal en …

  5. cmd - Why do I have to use "py" to execute python commands …

    Oct 18, 2022 · py -m pip install numpy py -m pip install matplotlib I searched the internet and found this question telling me to run the command doskey py=python and it did not work. But …

  6. What does colon equal (:=) in Python mean? - Stack Overflow

    Mar 21, 2023 · What does the := operand mean, more specifically for Python? Can someone explain how to read this snippet of code? node := root, cost = 0 frontier := priority queue …

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

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

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

    Sep 24, 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.

  9. What does the "at" (@) symbol do in Python? - Stack Overflow

    What does the @ symbol do in Python? What's the syntactic or practical benefit of having decorators here, instead of (for example) just calling something like app.route("/", hello) …

  10. 'py' works but not 'python' in command prompt for windows 10

    Sep 17, 2020 · In general, it's best to use the Windows Python Launcher, py.exe anyway, so this is no big deal. Just use py for launching consistently, and stuff will just work. Similarly, if …