随手笔记(一) ps: ubuntu python相关

一、现有字典d={‘a’:42,‘g’:32,‘i’:12,‘k’:33}请按字典中的value值进行排序?python sorted(d.items(),key=lambdax:x[1]) 二、linux查看某个服务的端口linux netstat -anp|grep servicename 三、linux关机指令app reboot 重启 shutdown -r now 重启 shutdo
相关文章
相关标签/搜索