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

create python alias for python3

DiceNameIsMy answered on February 27, 2021 Popularity 10/10 Helpfulness 10/10

Contents


More Related Answers

  • alias python in macbook
  • make python3 as default in linux
  • python import as alias

  • create python alias for python3

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

    Closely Related Answers



    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 py
    Link to this answer
    Share Copy Link
    Contributed on Feb 21 2023
    Bfaschat
    0 Answers  Avg Quality 2/10

    1
    Popularity 10/10 Helpfulness 4/10 Language shell
    Tags: alias alia
    Link to this answer
    Share Copy Link
    Contributed on Feb 27 2021
    Arno Deceuninck
    0 Answers  Avg Quality 2/10

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