python中的常用技巧

[list[x] for x in indexes]  #从Python列表中挑选出具有特定索引的项目

原文地址:https://www.cnblogs.com/sbj123456789/p/9856334.html