python中的常用技巧

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

 

posted @ 2018-10-26 14:57  sbj123456789  阅读(170)  评论(0编辑  收藏  举报