مشهور: معلومات په AP ۱۴۰۵ لړم ۱۷ تازه شول

کټګورۍ

انټرنېټ۱٬۳۷۸
اړیکې۳۲۳
غږ او ویډیو۹۱۴
ګرافیک او ډیزاین۵۵۲
دفتري او تولیدي۱٬۱۳۷
د پراختیا وسایل۳٬۱۷۹
د AI وسایل۵۵۵
امنیت او محرمیت۳۹۶
د سیستم وسایل۳٬۱۶۹
لوبې۵۳۲
زده کړه او ساینس۲۴۰
شبکه او IT۲۹۱

د Python Launcher چوپه نصب او لرې کول

The launcher allows Python scripts (.py and .pyw files) on Windows to specify the version of Python which should be used, allowing simultaneous use of Python 2 and 3.

د Python Launcher بې پوښتنې نصبولو، بیا لرې کولو او د ځای پر ځای کولو وسایلو له لارې د پېژندلو کمانډونه. کمانډ یوازې هغه وخت ښودل کېږي چې ډاډمن وي: له مانیفسټ څخه یا د نصبوونکي ټکنالوژۍ له لیکل شوي اصلي حالت څخه.

اړوند لارښود: د چوپه نصب سویچونه: MSI، NSIS، Inno Setup · پروګرام د ریجسټري یا PowerShell په مرسته لرې کړئ

د winget سره

PowerShell
winget install --id VinaySajip.PythonLauncher -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id VinaySajip.PythonLauncher -e --silent
winget uninstall --id VinaySajip.PythonLauncher -e --silent

د نصبوونکي له مخې

64-bit · MSI

چوپه نصبmsiexec /i launcher-1.0.1.6.amd64.msi /qn /norestart
لاګ ولیکئmsiexec /i launcher-1.0.1.6.amd64.msi /qn /norestart /l*v "%TEMP%\python-launcher-vinay-sajip-install.log"
لرې کول (Uninstall)msiexec /x {1CB6C42B-5887-47CF-AF21-988256F0455B} /qn /norestart
د MSI د محصول کوډ
{1CB6C42B-5887-47CF-AF21-988256F0455B}
د Uninstall ریجسټري کیلي
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1CB6C42B-5887-47CF-AF21-988256F0455B}

32-bit · MSI

چوپه نصبmsiexec /i launcher-1.0.1.6.msi /qn /norestart
لاګ ولیکئmsiexec /i launcher-1.0.1.6.msi /qn /norestart /l*v "%TEMP%\python-launcher-vinay-sajip-install.log"
لرې کول (Uninstall)msiexec /x {298B5D62-1287-427F-B8D9-B44D605F8F6B} /qn /norestart
د MSI د محصول کوډ
{298B5D62-1287-427F-B8D9-B44D605F8F6B}
د Uninstall ریجسټري کیلي
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{298B5D62-1287-427F-B8D9-B44D605F8F6B}

PowerShell: ډاونلوډ، تایید، نصب

رسمي فایل ډاونلوډوي، SHA256 یې ګوري او په چوپه توګه یې نصبوي.

install-python-launcher-vinay-sajip.ps1
$url = 'https://bitbucket.org/vinay.sajip/pylauncher/downloads/launcher-1.0.1.6.amd64.msi'
$sha256 = '3CA4B4021FF2D35CE176A099E9F1DD73A920170FB0D3E9165D934700EA689DCE'
$file = Join-Path $env:TEMP 'launcher-1.0.1.6.amd64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait

شریکول