python - 这段代码在 matplotlib 中的“!pip install xlrd”是什么意思?特别是这个“!” 符号?
问题描述
我不明白这是在做什么“!” 登录 Jupyter notebook 安装 xlrd。要安装一些库,我知道我需要在 cmd 中写入“pip install 。但是这里是做什么的”!在 Jupyter 笔记本中叹息安装......谢谢
解决方案
要在 jupyter notebook 中执行 shell 命令,请从!
. pip install xlrd
是一个shell命令。
推荐阅读
- javascript - 使用 Flask 发送 JSON 并使用 JavaScript 解析
- c# - c# API 或 SDK 用于 st-link v2 或 SEGGER J-Link flash 下载器
- python - 如何在 Python 代码中使用来自 IDA 的反编译 C 函数?
- ruby-on-rails - Rails 与自定义列数据的关联
- php - 如果请求未通过 Laravel 中的中间件,如何返回数组?
- powershell - 带有 if 语句的 Powershell foreach 循环仅评估第一个语句
- spring-integration - Spring Integration 配置现有流程
- xamarin.android - 对象引用未设置为片段中的对象实例
- flutter - Flutter:在堆栈中的动画图像上触发 GestureDetector
- katalon-studio - 有谁知道在我进入 Katalon 的搜索字段后如何模拟单击键盘上的输入按钮