推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
POP
V2EX  ›  Python

提问: Linux 下怎么用 sublime 的 Ctrl+b 编译 python 文件?

  •  
  •   POP · Jan 22, 2015 · 4958 views
    This topic created in 4331 days ago, the information mentioned may be changed or developed.
    Linux 下怎么用 sublime 的 Ctrl+b编译python文件?
    Supplement 1  ·  Jan 22, 2015
    就是linux下sublime 用Ctrl+b运行python,没有回显,不知道该怎么设定Python.sublime-build
    15 replies  •  2015-01-23 16:28:07 +08:00
    POP
    POP
    OP
    Jan 22, 2015
    1
    Linux 下怎么用 sublime 的 Ctrl+b,编译Python?
    shajiquan
    shajiquan
    Jan 22, 2015
    2
    没明白这个问题。。。

    sublime 里运行 ctrl + b 执行 python 脚本,其实不是所谓「编译」啦,就是执行一下。你想要达到什么效果?
    repus911
    repus911
    Jan 22, 2015
    3
    python 需要编译么...
    Delbert
    Delbert
    Jan 22, 2015
    4
    生成.pyc?
    hongziki
    hongziki
    Jan 22, 2015 via iPhone
    5
    估计是问快捷键问题。。。
    POP
    POP
    OP
    Jan 22, 2015
    6
    @shajiquan 就是linux下sublime 用Ctrl+b运行python,没有回显,不知道该怎么设定Python.sublime-build
    POP
    POP
    OP
    Jan 22, 2015
    7
    @repus911 是我没说清楚。。。Sorry!就是linux下sublime 用Ctrl+b运行python,没有回显,不知道该怎么设定Python.sublime-build
    POP
    POP
    OP
    Jan 22, 2015
    8
    @Delbert 不是的
    POP
    POP
    OP
    Jan 22, 2015
    9
    @hongziki 对!不知道Python.sublime-build怎么设定
    POP
    POP
    OP
    Jan 22, 2015
    10
    运行环境:ubuntu 12.04
    python版本2.7.3
    sublime Text2
    xuyongli
    xuyongli
    Jan 22, 2015
    11
    tool-buildsystem
    zerh925
    zerh925
    Jan 23, 2015
    12
    需要什么回显?sublime的ctrl+b就直接调用系统的python运行代码了,或者ipython。
    POP
    POP
    OP
    Jan 23, 2015
    13
    @zerh925 没有啊。。。我在Ubuntu下Ctrl+B没有显示的
    zerh925
    zerh925
    Jan 23, 2015
    14
    @POP 你没装sublimeREPL吧 - -!
    POP
    POP
    OP
    Jan 23, 2015
    15
    @zerh925 不是!已经解决了~~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1842 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 15:50 · PVG 23:50 · LAX 07:50 · JFK 10:50
    ♥ Do have faith in what you're doing.