(Get-Command python).Source
which python3 or
# Find all python3 binaries find /usr -name python3 2>/dev/null find /usr/local -name python3 2>/dev/null find ~ -name python3 2>/dev/null On Unix-like systems (macOS/Linux), which python3 often shows a symlink, not the actual binary. where is python installed
which -a python3 or using whereis :
which python3 or to see all instances:
Get-ChildItem -Path C:\ -Filter python.exe -Recurse -ErrorAction SilentlyContinue (Get-Command python)