logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Invoking “cmake“ failed报错

按照wiki.ros.org上的教程安装完,创建ros工作空间,$ catkin_make它就报错了:CMake Error at /opt/ros/noetic/share/catkin/cmake/empy.cmake:30 (message):Unable to find either executable 'empy' or Python module 'em'...tryinstalli

ffmpeg 压缩视频(参数详解)

ffmpeg 压缩视频代码(Python)import threadingimport osdef zip():compress = "ffmpeg -i C:/Users/123456/Videos/Captures/1234.mp4 -r 30 -c:v libx264 -preset veryslow \-profile:v baseline -crf 24 -c:a copy C:/Use

如何用Python求众数

如何用Python求众数在书里(参考文献[1])看到有这样的代码:max(set(A),key=A.count)它可以返回列表A中的众数,现对其进行解释。set博客 python set() 用法.中提到:set() 函数用于创建一个无序不重复元素集,删除重复数据。不过直接用max(A,key=A.count),结果是一样的。key关于max()函数中的参数key,Python官方文档中写道:Th

#python
到底了