推荐学习书目
› 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
fang151liu
V2EX  ›  Python

请问 Python 这个报错是什么情况,应该怎样修改

  •  
  •   fang151liu · Jul 24, 2019 · 3107 views
    This topic created in 2671 days ago, the information mentioned may be changed or developed.

    if box[5] < 0: x1 -= x y1 += y x4 += x y4 -= y else: x2 += x y2 += y x3 -= x y3 -= y 报错内容:unexpeted indent 制表符缩进全改了,还是不行,唉

    10 replies  •  2019-07-24 16:46:58 +08:00
    CCyutaotao
    CCyutaotao
    Jul 24, 2019❤️1
    1
    这个时候你最好就贴一张图了
    ly4572615
    ly4572615
    Jul 24, 2019
    2
    提示缩进不正常
    JimmyTinsley
    JimmyTinsley
    Jul 24, 2019
    3
    可以用 gist 或者 pastebin 贴出来, 或者至少截图给我们看看格式哪里有问题嘛
    aaronhua
    aaronhua
    Jul 24, 2019
    4
    不用 idea 是挺折磨的。新手的话就再起一个文件,抄一遍就会发现问题了。
    gazhang
    gazhang
    Jul 24, 2019 via Android
    5
    这个论坛对新手还是挺友好的🌚
    RRRoger
    RRRoger
    Jul 24, 2019
    6
    缩进错误;一行一行调试;知道 ok 位置
    yzc27
    yzc27
    Jul 24, 2019
    7
    某一行或者某几行缩进的问题
    arrow8899
    arrow8899
    Jul 24, 2019
    8
    截个图吧,你这样发根本看不出
    im67
    im67
    Jul 24, 2019
    9
    缩进错误 ,需要个游标卡尺(用 ide )……
    wozhizui
    wozhizui
    Jul 24, 2019
    10
    ```
    if
    ```
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5126 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 02:47 · PVG 10:47 · LAX 18:47 · JFK 21:47
    ♥ Do have faith in what you're doing.