怎么在jupyter notebook里查看python的版本?

  统计/机器学习 Python    浏览次数:23872        分享
0

怎么在jupyter notebook里查看python的版本?

我目前是python3,但是我想知道我用的是python3.5还是3.6。

 

大笨湖   2019-01-19 12:15



   1个回答 
5


import sys
print(sys.version)


SofaSofa数据科学社区DS面试题库 DS面经

cabbage   2019-01-19 12:28

多谢! - 大笨湖   2019-01-19 12:58


  相关讨论

jupyter中怎么忽略所有的warning

在jupyter后台进程没有shutdown的notebook一直会占用内存吗?

python dataframe中有一列的内容很长,在jupyter里没有办法完全显示,怎么办?

怎么在jupyter notebook设置全局的随机种子?

怎么获得当前jupyter notebook的token(密码)?

Jupyter中InteractiveShell.ast_node_interactivity = "all"有什么用?

刚接触机器学习,是用JupyterNotebook还是用JupyterLab?

Python的Jupyter Notebook环境下怎么制作一个动态显示的进度条?

在jupyter notebook里显示pandas的DataFrame如何隐藏index这列?

行数很多的pandas DataFrame如何在jupyter中完整显示?

  随便看看

xgboost的gblinear是什么意思?

线性回归需要满足哪些基本前提假设

pandas读取csv中指定的某些列

怎么对2维的numpy array取整?

sklearn里的LabelEncoder什么用?