简体   繁体   English

如何在 pypy3 上运行 python 脚本而不使用 windows 10 上的命令行?

[英]How do I run a python script on pypy3 without using the command line on windows 10?

I recently downloaded pypy3, I've never used the command line for python, I usually run my codes on visual studio code.我最近下载了 pypy3,我从未使用过 python 的命令行,我通常在 Visual Studio 代码上运行我的代码。 Is there a way to use pypy3 with something similator to "IDLE Python"?有没有办法将 pypy3 与“IDLE Python”类似的东西一起使用?

For a change, you may use Jupyter Notebook .如需更改,您可以使用Jupyter Notebook

在此处输入图像描述

Follow these commands on cmd for installation-按照 cmd 上的这些命令进行安装-

  1. type 'pip3 install jupyter-notebook'输入“pip3 安装 jupyter-notebook”
  2. Once it's installed, just type 'jupyter-notebook' in cmd.安装后,只需在 cmd 中输入“jupyter-notebook”。

It will start the session and now you can create a Py notebook and write code Notebook cells.它将启动 session,现在您可以创建一个 Py 笔记本并编写代码笔记本单元格。

The advantage of using Jupyter-Notebook is - you need not initialize variables processing repeatedly.使用 Jupyter-Notebook 的优点是 - 您无需重复初始化变量处理。 You can just declare variable processing in different cells and consume them in some function in different one.您可以在不同的单元格中声明变量处理,并在不同的单元格中的一些 function 中使用它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 pypy3 或 python 运行不同的脚本 - Run different script with pypy3 or python 如何使用PyPy和vmprof从Windows命令行配置Python脚本? - How do you profile a Python script from Windows command line using PyPy and vmprof? 如何在 pypy3 上安装 opencv? - How do I install opencv on pypy3? 在 Windows 10 上为 PyPy3 安装 numpy 时出现问题 - Problem installing numpy for PyPy3 on Windows 10 如何在 Windows 命令行中使用参数运行 Python 脚本 - How do I run Python script using arguments in windows command line 如何在Windows 10中从常规命令提示符处激活python anaconda并运行脚本 - How do I activate python anaconda and run script from regular command prompt in Windows 10 如何获取 python 脚本以在 Windows (10) 中运行命令 shell (10),它在程序特定位置打开? - How do I get a python script to run a command shell in Windows (10) where it opens in a program specific location? 如何仅通过在 Windows 10 cmd 行上键入脚本名称来运行 python 程序? - How do i run a python program just by typing the script name on windows 10 cmd line? Tkinter 包在 pypy3(Windows 10) 上运行不佳 - Tkinter Package doesn't work well on pypy3(Windows 10) 为什么在尝试使用 PyPy3 运行脚本时会发生 ModuleNotFoundError? - Why ModuleNotFoundError occurs when trying to run script with PyPy3?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM