Skip to content

Instantly share code, notes, and snippets.

@Tiryoh
Last active April 29, 2022 17:46
Show Gist options
  • Select an option

  • Save Tiryoh/2c1c717341062476af1195bd730f8005 to your computer and use it in GitHub Desktop.

Select an option

Save Tiryoh/2c1c717341062476af1195bd730f8005 to your computer and use it in GitHub Desktop.
Windowsでpython3を実行したときにpython.exeを呼び出せるようにする
@echo off
call python.exe %*
cmd /k exit /B %ERRORLEVEL%
@Tiryoh
Copy link
Copy Markdown
Author

Tiryoh commented Apr 29, 2022

Python3はインストール済である前提

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment