Coder Social home page Coder Social logo

list index out of range about gotox HOT 3 CLOSED

seahoh avatar seahoh commented on July 22, 2024
list index out of range

from gotox.

Comments (3)

SeaHOH avatar SeaHOH commented on July 22, 2024

你的判断是对的,我没考虑到这种情况,估计你的网络受干扰特别严重吧。

from gotox.

MyYellowBlanket avatar MyYellowBlanket commented on July 22, 2024

可能是的. 不过我刚才看了Python的文档, if i is negative, the index is relative to the end of sequence s. 所以Python还有这种操作, -1也是可以的

from gotox.

SeaHOH avatar SeaHOH commented on July 22, 2024

-1 本身没问题,但是序列为空时任何值都会报错。
所以我判断你的网络受到严重干扰,所以 IP 都被丢掉了。

from gotox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.