Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf79b9aa

Browse files
authored
Merge pull request#1667 from stonebig/master
move launcher scripts to python -m module
2 parentsfa66bcb +42584a0 commitf79b9aa

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
@echooff
22
call"%~dp0env_for_icons.bat"%*
3-
"%WINPYDIR%\python.exe""%WINPYDIR%\Lib\idlelib\idle.pyw"%*
3+
rem "%WINPYDIR%\python.exe" "%WINPYDIR%\Lib\idlelib\idle.pyw" %*
4+
"%WINPYDIR%\python.exe" -m idlelib%*
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
@echooff
22
call"%~dp0env_for_icons.bat"%*
3-
"%WINPYDIR%\scripts\jupyter-notebook.exe"%*
3+
rem "%WINPYDIR%\scripts\jupyter-notebook.exe" %*
4+
"%WINPYDIR%\python.exe" -m jupyter notebook%*
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
@echooff
22
call"%~dp0env_for_icons.bat"%*
3-
"%WINPYDIR%\scripts\jupyter-lab.exe"%*
3+
rem "%WINPYDIR%\scripts\jupyter-lab.exe" %*
4+
"%WINPYDIR%\python.exe" -m jupyter lab%*
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
@echooff
22
call"%~dp0env_for_icons.bat"%*
33
rem backward compatibility for non-ptpython users
4-
ifexist"%WINPYDIR%\scripts\ptpython.exe" (
5-
"%WINPYDIR%\scripts\ptpython.exe"%*
4+
ifexist"%WINPYDIR%\Lib\site-packages\ptpython" (
5+
"%WINPYDIR%\python.exe" -m ptpython%*
66
)else (
77
"%WINPYDIR%\python.exe"%*
88
)
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
@echooff
22
call"%~dp0env_for_icons.bat"%*
3-
cmd.exe /k"echo wppm & wppm%*"
3+
rem cmd.exe /k "echo wppm & wppm" %*
4+
cmd.exe /k"echo wppm & python -m wppm"%*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp