Python 安装后,如何打开和使用Python环境

2024-10-12 01:39:22

1、Python命令行,安装Python之后我们就可以使用Python命令行来使用Python。直接使用如下命令:$ python

Python 安装后,如何打开和使用Python环境

2、通过python运行py文件,我们可以直接使用Python命令加上python文件来运行python程序。命令如下:$ python example.py

Python 安装后,如何打开和使用Python环境Python 安装后,如何打开和使用Python环境

5、jupyter notebook 。我们还可以通过pip安装jupyter ,它是基于Python环境的we芟鲠阻缒bPython 笔记本。安装jupyternotebook$ pip install notebook使用jupyternotebook命令如下$ jupyter notebook --ip=192.168.221.180

Python 安装后,如何打开和使用Python环境
猜你喜欢