本文介绍了是否有类似RStudio for Python的东西?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在RStudio中,您可以在代码编辑窗口中运行部分代码,结果将显示在控制台中。

In RStudio, you can run parts of code in the code editing window, and the results appear in the console.

您还可以选择是否执行你想要光标运行的一切,光标后的所有内容,或者你想要的部分,等等。所有这些东西都有热键。

You can also do cool stuff like selecting whether you want everything up to the cursor to run, or everything after the cursor, or just the part that you selected, and so on. And there are hot keys for all that stuff.

这就像在Python中的交互式shell之上的一步 - 你可以使用readline返回以前的单独行,但它没有任何概念什么是函数,代码的一部分等等。

It's like a step above the interactive shell in Python -- there you can use readline to go back to previous individual lines, but it doesn't have any "concept" of what a function is, a section of code, etc.

是否有类似Python的工具?或者,您是否有某种类似的解决方法,例如,您在vim中使用?

Is there a tool like that for Python? Or, do you have some sort of similar workaround that you use, say, in vim?

推荐答案

IPython笔记本非常棒。这是我最近发现的另一个更新的基于浏览器的工具:。我的印象是它似乎更好地支持类似RStudio的工作流程。

IPython Notebooks are awesome. Here's another, newer browser-based tool I've recently discovered: Rodeo. My impression is that it seems to better support an RStudio-like workflow.

这篇关于是否有类似RStudio for Python的东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 03:28