Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

How do I alias python3 on Windows?

Bfaschat answered on September 29, 2021 Popularity 7/10 Helpfulness 1/10

Contents


More Related Answers

  • alias python in macbook
  • default python install location windows
  • How can I find where Python is installed on Windows
  • windows 10 python path
  • python alias
  • python import as alias
  • where is python installed windows
  • to run python script in terminal i want to type python insted of python3

  • How do I alias python3 on Windows?

    0

    For people ending up here while using powershell, this is another way to create symlinks.

    Caveat: Requires Admin rights or group policy that allows this on normal mortal users

    Open Admin / Link creation capable powershell terminal

    Run

    Popularity 7/10 Helpfulness 1/10 Language python
    Source: superuser.com
    Tags: alias python
    Link to this answer
    Share Copy Link
    Contributed on Feb 21 2023
    Bfaschat
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    5
    Popularity 10/10 Helpfulness 10/10 Language python
    Source: Grepper
    Tags: alias alia
    Link to this answer
    Share Copy Link
    Contributed on Sep 29 2021
    DiceNameIsMy
    0 Answers  Avg Quality 2/10

    0

    If you are using the Windows PowerShell and not the command prompt, you can use the following code:

    Set-Alias -Name python3 -Value python

    or use the following code:

    Set-Alias -Name python3 -Value "C:\Python39\python.exe"

    Note that this is a temporary Alias for the current session, to make it permanent; you have to copy the above command into an empty text file and name it Profile.ps1 file and copy it to one of the following folders:

    Popularity 8/10 Helpfulness 6/10 Language python
    Source: superuser.com
    Tags: alias python pyt
    Link to this answer
    Share Copy Link
    Contributed on Feb 21 2023
    Bfaschat
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.