![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 67
Noven-zh
我不想喝酒,我也不会抽烟,但是我却没有时间------by《我还年轻,我还年轻》
展开
-
Python ssh client
使用Python实现ssh client功能依赖模块:paramiko安装方式:pip3 install paramiko 或者 sudo apt-get install python-paramiko具体实现的代码:#导入paramiko模块import paramiko#导入ssh client模块from paramiko.client import SSHClient, Au...转载 2019-11-12 15:35:56 · 1798 阅读 · 2 评论 -
Python 'module' object is not callable
Python ‘module’ object is not callable当使用python的 pip工具下载module时,提示此错误查阅StackOverflow,得到解决方案:【参考文章】升级pippython -m pip install --upgrade pip目前本机中使用的 pip版本是19.0.3, 根据提示需要升级到19.3.1,但升级完后还是存在该问题移...原创 2019-11-12 14:52:08 · 191 阅读 · 0 评论 -
Python——TCP Server & Client
使用python进行网络编程,创建TCP Server和Client端,进行本地回环测试目录Server端server端流程结束connect流程:Client端 Client端流程Server端import socketimport sysimport structSEND_BUF_SIZE = 256RECV_BUF_SIZE = 256Co...原创 2018-11-21 10:36:39 · 19582 阅读 · 4 评论 -
如何简单地理解Python中的if __name__ == '__main__'
参考文章:https://blog.csdn.net/yjk13703623757/article/details/77918633/转载 2018-11-21 11:54:48 · 92 阅读 · 0 评论 -
Python——解析DSP保存的二进制32bit unsigned int数据
使用python解析CCS中保存的32bit unsigned int类型数据目录使用python解析CCS中保存的32bit unsigned int类型数据正确方案解析精简方案参考文章在DSP平台下,编写如下代码,存储[0,512)的32bit,unsinged int 类型数据: unsigned int * p_L3_buffer = (unsigned ...原创 2018-11-19 18:13:40 · 2384 阅读 · 0 评论 -
Python 调用exe示例
参考文章https://www.cnblogs.com/demo-deng/p/9636458.html转载 2019-02-27 18:39:43 · 5347 阅读 · 0 评论 -
python 格式化输入输出 % 和format
参考文章:https://www.cnblogs.com/fat39/p/7159881.html令:批量的格式化输入使用“,"分隔开,如:print("show me the result: a = %d b = %d c = %f" %(a,b,c))转载 2019-03-01 10:40:59 · 295 阅读 · 0 评论