列表嵌套str嵌套列表
A rant
夸大其词
Do you ever get the urge to kill? How many of us cringe whenever we see these words? Lately I’ve been spending a lot of time developing pythonpackages.com, (now running on heroku!) during which time I see a lot of these kinds of packages being released.
你有杀人的欲望吗? 每当我们看到这些话时,我们当中有多少人会畏缩? 最近,我花了很多时间开发pythonpackages.com ,(现在在heroku上运行!)在此期间,我看到了很多此类软件包被发布。
I kid about the killing part, but seriously: this is a problem. Fortunately for us, our PyPI overloads see fit to occasionally remove these packages, and for this I am grateful.
我开玩笑的是杀戮部分,但我是认真的: 这是一个问题 。 对我们来说幸运的是,我们的PyPI重载适合偶尔删除这些软件包,对此我深表感谢。
I mean it makes me dance-around-the-room happy! Ahem. But are they really all gone? Close enough. A quick crate.io search now shows only 2 packages instead of 4 pages of results.
我的意思是,这让我在房间里跳舞很开心! 啊 但是他们真的消失了吗? 足够近。 快速的crate.io搜索现在仅显示2个软件包,而不是4页的结果。
Hallelujah! But is this the best we can do? I know that some well-meaning person wrote a book containing the example that is leading some poor, misguided souls to spam PyPI (if only the author listed the test site instead: http://testpypi.python.org/pypi). And I have to assume that this was just some terrible mistake. But do we all have to live with this mistake?
哈利路亚! 但这是我们能做到的最好的吗? 我知道,一个好心人写了一本书,其中包含了导致一些可怜的,被误导的灵魂垃圾邮件PyPI的示例(如果只有作者列出了测试站点,则为: http : //testpypi.python.org/pypi )。 我必须假设这只是一个可怕的错误。 但是,我们所有人都必须忍受这个错误吗?
I’m asking because I honestly don’t know the answer. I remember when I started pythonpackages.com, the Deliverance documentation was being updated something like every 5 minutes (kidding again, but it was frequent enough to be annoying). After grousing about it in public, it stopped happening!
我问是因为我真的不知道答案。 我记得当我启动pythonpackages.com时, Deliverance文档每隔5分钟就会更新一次(再次打结,但它的频率足以令人讨厌)。 在公开场合抱怨之后,它停止了发生!
I wonder if some good natured grousing about our friends (read: enemies) the simple printers of nested lists will do the same?
我想知道嵌套列表的简单打印机是否会对我们的朋友(读作:敌人)发牢骚?
翻译自: https://www.pybloggers.com/2012/05/a-simple-printer-of-nested-lists/
列表嵌套str嵌套列表