9 lines
158 B
Batchfile
9 lines
158 B
Batchfile
@echo off
|
|
cd /d "%~dp0"
|
|
where pythonw >nul 2>nul
|
|
if %errorlevel%==0 (
|
|
start "" pythonw "%~dp0app2.py" %*
|
|
) else (
|
|
start "" python "%~dp0app2.py" %*
|
|
)
|