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 就可以了

相关推荐
workflower10 小时前
时序数据获取事件
开发语言·人工智能·python·深度学习·机器学习·结对编程
C++业余爱好者11 小时前
Java 提供了8种基本数据类型及封装类型介绍
java·开发语言·python
AI Echoes12 小时前
构建一个LangChain RAG应用
数据库·python·langchain·prompt·agent
派大鑫wink13 小时前
从零到精通:Python 系统学习指南(附实战与资源)
开发语言·python
c骑着乌龟追兔子13 小时前
Day 38 官方文档的阅读
python
羸弱的穷酸书生13 小时前
国网 i1协议 python实现
开发语言·python
weixin_4620223513 小时前
RAW-Adapter: Adapting Pre-trained Visual Model to Camera RAW Images
python·计算机视觉
电子硬件笔记13 小时前
Python语言编程导论第三章 编写程序
开发语言·python·编辑器
布谷歌13 小时前
在java中实现c#的int.TryParse方法
java·开发语言·python·c#
qq_2575630714 小时前
anoconda简单操作
jupyter·cell·anoconda·markerdown