上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 178 下一页
  2020年11月1日
摘要: num2str(a,'%02d'); 阅读全文
posted @ 2020-11-01 16:40 一杯明月 阅读(2982) 评论(0) 推荐(0)
摘要: def add(a,b,c=None): if c!=None: return a+b+c else: return a+b if __name__ == '__main__': res=add(2,3,4) print(res) 阅读全文
posted @ 2020-11-01 15:19 一杯明月 阅读(501) 评论(0) 推荐(0)
  2020年10月31日
摘要: http://zhuanlan.zhihu.com/p/263043369 阅读全文
posted @ 2020-10-31 22:31 一杯明月 阅读(261) 评论(0) 推荐(0)
  2020年10月30日
摘要: http://jianshu.com/p/3c0357975569 对于软件产品,无论是免费发布还是出售,制定一份许可协议都非常有用。否则,对于前者,你相当于放弃了自己所有的权利,任何人都没有义务表明你的原始作者身份,对于后者,你将不得不花费比开发更多的精力用来逐个处理授权问题。许可,就是提供给使用 阅读全文
posted @ 2020-10-30 16:49 一杯明月 阅读(1343) 评论(0) 推荐(0)
摘要: Ubuntu的软件包格式为deb,而RPM格式的包则是Red Hat 相关系统所用的软件包。当我们看到一个想用的软件包时,如果他是RPM格式,而你的操作系统是Ubuntu,那岂不是很遗憾?其实,在Ubuntu系统中通过一定的方法也是可以很有效的安装RPM格式包的,下面来说下方法: 首先,我们要安装a 阅读全文
posted @ 2020-10-30 10:51 一杯明月 阅读(89) 评论(0) 推荐(0)
摘要: 使用命令 “getconf LONG_BIT” 如果返回的是32,那么就是32位 如果返回的是64,那么就是64位 阅读全文
posted @ 2020-10-30 10:42 一杯明月 阅读(231) 评论(0) 推荐(0)
  2020年10月29日
摘要: c=4 if c>5: print('hello') elif c<5: print('hei') else: print('ha') if else3个判断,只要满足1个,其它的就不去判断了。 阅读全文
posted @ 2020-10-29 21:19 一杯明月 阅读(136) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/cunchi4221/article/details/107478606 python 获取唯一值 In this article, we will be understanding 3 ways to get unique values from a Py 阅读全文
posted @ 2020-10-29 19:47 一杯明月 阅读(3667) 评论(0) 推荐(0)
摘要: python中 list 与数组的互相转换 (1)list转array a=[] 转换方法是:np.array(a) points=np.array(a,dtype=np.float32) labels = np.array(b,dtype=np.int32) 注: 1.a是列表。 2.在把a转换成 阅读全文
posted @ 2020-10-29 17:59 一杯明月 阅读(15989) 评论(2) 推荐(0)
摘要: https://blog.csdn.net/zhaomax/article/details/82460034 python文件操作write与writelines的区别 转自:https://www.aliyun.com/jiaocheng/448958.html 摘要:write和writelin 阅读全文
posted @ 2020-10-29 11:50 一杯明月 阅读(1630) 评论(0) 推荐(0)
上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 178 下一页