jupyter 一键快捷启动方法研究

1.效果


首先打开dat 文件,同意赋予管理员

输入序号1

成功启动

2.Bat代码


bash 复制代码
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
@echo off
color 3e
goto menu

:menu
ECHO. 1(jupyter notebook)    2(jupyter lab)
ECHO.
echo.input num:
set /p ID=
if "%id%"=="1" goto cmd1

if "%id%"=="2" goto cmd2

:cmd1
jupyter notebook
exit

:cmd2
jupyter lab
exit

保存,把文件命名为:jupyter.bat 就可以了

相关推荐
BK贝壳3 小时前
bool-hybrid-array 的 GPU_opt 与 cjx:一个没显卡就报错的开关,一个把 800 字压到 96 字节的编码
python
BD_Marathon7 小时前
安装Jupyter notebook
ide·python·jupyter
Zlzxzw7 小时前
End-to-End Autonomous Generation of Human Assembly Plans
python
Wellijohn7 小时前
2000 个请求、30% 失败率:我把 Python 批量并发的限流和重试参数算了一遍
后端·python·性能优化
Logintern099 小时前
deep agents 多智能体模式——规划与委派
python·langchain
2601_9679801111 小时前
Python 办公自动化合集 ⑰:Excel自动计算——总和/平均分/最大值
python·pycharm·办公自动化·数据处理·excel自动计算
databook13 小时前
时间序列预测,模型换了一圈为什么没变好
python·数据分析
reasonsummer14 小时前
【教学类-07-17】20261119大3班破译电话号码HTML实际操作(添加“跳过按钮”和“返回按钮”在底部、增加“自编题目+解题”部分)
python·html
2601_9679801117 小时前
Python闭包(Closure)详解
python·作用域·装饰器·函数式编程·闭包
AI创界者17 小时前
ComfyUI 进阶实战:MiniMax-H3 视频人物脸部替换工作流全解析(对比 Face 5.5 实测与避坑指南)
人工智能·python·aigc