About 50 results
Open links in new tab
  1. How to run a program with a specific version of Python from the ...

    Jun 3, 2024 · How do I do this? PS: All the Python installations are added to the path, the problem is that the executable is named the same in all of them "python.exe", so when I run "py" or "python" in …

  2. python - How do I alias python3 on Windows? - Super User

    Aug 10, 2020 · For Windows versions of Python (i.e. not WSL), python3 is not typically a standard alias. That is, the Python 3.x executable is usually just python (python.exe). Be aware that python.exe …

  3. command line - "Python" working but "Py" is not - Super User

    Nov 11, 2020 · If that doesn’t work, open cmd.exe and hit where python that will display out the location of the python.exe. Navigate to the .exe’s parent folder and locate a folder called “launcher”. Inside …

  4. How do I add Python to the Windows PATH? - Super User

    16 For anyone trying to achieve this with Python 3.3+, the Windows installer now includes an option to add python.exe to the system search path. Read more in the docs.

  5. Full name of Windows user name (in Domain) using Python

    Aug 11, 2017 · You'd perform a lookup on the user, followed by getting the displayName attribute. (This maps to the Full Name displayed in Windows.) You have two options here: Using a Python AD …

  6. How to change default python executable on Windows 10?

    Jan 29, 2019 · Path at your prompt. To update the settings, Open the 'System' properties. Open Environment Variables Highlight the 'Path' Variable and click edit. Edit the values for the Python …

  7. How can I open Python files in IDLE from Windows?

    At least for Python 3.1 (it shouldn't be any different for 2.7), IDLE is located in C:\Python31\Lib\idlelib\idle.bat. So to make it open Python scripts, right-click a script, go to Open …

  8. Open .py file in Python IDLE edit mode on Windows 11

    Jul 30, 2023 · Recently I upgraded from Windows 10 to Windows 11. Then I reinstalled Python on my PC. Previously, when I right-clicked, it had the option in the context menu to edit the file with IDLE. …

  9. Typing “python” on Windows 10 (version 1903) command prompt …

    May 16, 2019 · I installed Active Python 2.7 on Windows 10 (version 1903). On typing “python” from search, opens the Python 2.7 prompt but when I type from command prompt window, it triggers the …

  10. windows - Python: Can't open 'filename' : [Errno 2] no such file or ...

    May 10, 2019 · If I type python in windows cmd then it runs python fine, however I can't run any .py files in python. The files work with IDLE. I have set environment variables (to my knowledge, correctly). …