python-mode

python-mode

文章 0 浏览 6

emacs 中的 Python 代码检查器包装器无法正确地将结果提供给 win32 上的 Flymake

所以我使用 emacs python wiki 上建议的这个包装器(在这里找到)围绕 pep8、pyflakes 和 pylint,它们在命令行上工作(在根据“在 Windows 中使用子…

云胡 2025-01-07 22:01:18 6 0

Emacs python-mode:pdb 逐步调试的键盘快捷键

我想知道是否有一种方法可以关联: n RET(下一个) p RET(上一个) c RET(继续) Cx SPC RET(设置/清除断点) 使用功能键 F1-F12 或其他键盘快捷…

愁杀 2025-01-03 11:20:28 9 0

在 emacs python-mode 中不正确地退出缩进

我正在使用 Emacs python 模式。我在 .emacs 中使用它来调用它, (add-to-list 'load-path "~/emacs/python-mode.el-6.0.3/") (autoload 'python-mode…

牵强ㄟ 2025-01-01 09:36:16 5 0

emacs python-mode:指定向哪个 python shell 发送命令

对此问题的跟进 - 如果我在 emacs 中运行两个 python shell,如何指定每个 python 脚本缓冲区中的哪些 shell 命令发送到?我怀疑它与 python-buffer …

别靠近我心 2024-12-18 13:22:26 7 0

在 Emacs 中使用多个 Python shell “python-mode”使用 Python 或 IPython

有没有办法在运行 Emacs 时强制使用 python-shell 的新实例?当处理具有单独工作目录(和不同模块集)的多个项目时,这会很方便。 任何调用 python-sh…

<逆流佳人身旁 2024-12-18 13:08:29 6 0

使用自动完成、Python 模式和 Rope 设置 emacs

我已经安装了以上所有内容。 Rope 似乎工作得很好,但当我尝试运行自动完成时,出现以下错误: Symbol's function definition is void: rope-completi…

演多会厌 2024-12-14 04:28:48 5 0

py-python-命令被忽略

我在 OS X 上使用 python-mode 6.0.1,emacs 23.3 (http://emacsformacosx.com/版本)。 我试图让 Cc Cc 默认为 python 3。 我的 .emacs 中有以下内容…

禾厶谷欠 2024-11-30 20:20:50 6 0

让Python解释器在同一窗口中打开

也许我有点不理智,但我真的很讨厌命令在 emacs 中打开一个新窗口。我在 Ubuntu 上使用 emacs,它带有 python 模式,当我使用 Cc 启动解释器时!它会…

短叹 2024-11-08 04:21:14 10 0

如何访问主模式挂钩中的目录局部变量?

我定义了一个包含以下内容的 .dir-locals.el 文件: ((python-mode . ((cr/virtualenv-name . "saas")))) 在我的 .emacs 中,我有以下函数来检索该值…

递刀给你 2024-10-19 12:21:36 13 0

确定 Emacs 23 中当前模式源代码的路径

我正在尝试 Emacs 23 的新 Python 模式,但我不确定如何判断我是否正在使用新模式(源代码位于 ~/.elisp/python.el ) 或捆绑的 python.el 模式。 有没…

童话 2024-10-18 22:59:43 11 0

更新 Emacs 22.2.1 中的 Python 版本

我最近安装了 Python 3.1,但 Emacs 仍然使用 2.6.5。我使用的是 Emacs 版本 22.2.1。我不确定要编辑哪些文件才能使 Emacs 默认使用 Python 3.1! 我…

夜深人未静 2024-10-04 11:39:51 11 0

在 emacs 23 中将 python 缩进设置为 2 个空格?

我在 Ubuntu 10.04 上使用 emacs 23.1.1。我希望在 Python 中使用 2 个空格缩进进行编程。 emacs 看起来有一个 python 的默认模式(python.el?)。 …

您的好友蓝忘机已上羡 2024-10-04 05:24:16 11 0

在 emacs py 模式下使用 Tab 键注释?

我正在使用 python-mode.el,当我尝试缩进注释时,它总是想将它们一直放在左边。我希望它们缩进与代码的其余部分一致。有没有一种简单的方法可以实现…

离不开的别离 2024-09-25 21:32:30 12 0

python-mode.el 中带有反斜杠续行的正确缩进

我喜欢使用 python-mode.el 和 (gnu) emacs 来编辑我的 python 文件。如果我使用括号进行多行延续,缩进将按我的预期工作。例如, foo_long_long_long…

挥剑断情 2024-09-17 11:04:39 19 0

emacs windows 在当前缓冲区中运行 python 程序并在输出窗口上显示输出

我使用 Python 模式(不是 emacs 23 附带的默认模式)。 我无法执行当前在 emacs 中加载的 python 程序。 我收到“符号的函数定义无效:智能操作模式…

淤浪 2024-08-17 15:30:17 17 0
更多

推荐作者

裸钻

文章 0 评论 0

执手闯天涯

文章 0 评论 0

2401825754

文章 0 评论 0

就此别过

文章 0 评论 0

我为君王

文章 0 评论 0

机场等船

文章 0 评论 0

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文