超文本Python自动压缩

2024-09-27 04:17:34 发布

您现在位置:Python中文网/ 问答频道 /正文

我安装了SublimePythonIDE包。错误Highlightning工作正常,但自动完成不起作用。这里是我的配置:

{
    // leave empty string to use default system interpreter
    // e.g. /usr/local/bin/python
    // or "C:\\Python27\\python.exe"
    // if you use virtualenvs, then set the absolute path to the virtualenv's
    // python in your project settings (Project->Edit Project) as in:
    //
    // {
    //     "folders": ...
    //     "settings":
    //     {
    //         "python_interpreter": "/Users/USER/.virtualenvs/PROJECT/bin/python"
    //     }
    // }
    "python_interpreter": "D:/Python27/",

    // make python_open_documentation command output in a view or in the output
    // panel if false
    "open_pydoc_in_view": false,

    // when a doc view is created it will be placed in the active view group
    // if false and only one group exist then a new group will be created
    "create_view_in_same_group": false,

    // Linter settings
    "python_linting": true,
    "python_linter_mark_style": "outline", // "none" or "outline"
    "python_linter_gutter_marks": true,
    "python_linter_gutter_marks_theme": "simple", // see folder gutter_mark_themes
    "pep8": true,
    "pep8_ignore": [],
    "pep8_max_line_length": 80,
    "pyflakes_ignore": []
}

我做错什么了?在


Tags: orthetoinviewfalsetrueif
1条回答
网友
1楼 · 发布于 2024-09-27 04:17:34

如果您查看第3行和第4行的示例,就会发现需要提供Python可执行文件的完整路径。所以,把你的台词改成这样:

"python_interpreter": "D:\\Python27\\python.exe",

你应该准备好了。在

相关问题 更多 >

    热门问题