上一页 1 ··· 331 332 333 334 335 336 337 338 339 ··· 345 下一页
摘要: def add1(*data): sum = 0 for i in data: sum = sum + i return sumprint( add1(1,2,3,4,5) )print( add1... 阅读全文
posted @ 2018-09-30 14:06 luoganttcc 阅读(63) 评论(0) 推荐(0) 编辑
摘要: Python下一切皆对象,每个对象都有多个属性(attribute),Python对属性有一套统一的管理方案。__dict__与dir()的区别: dir()是一个函数,返回的是list; __dict__是一个字典,键为属性名,值为属性值; ... 阅读全文
posted @ 2018-09-29 17:27 luoganttcc 阅读(66) 评论(0) 推荐(0) 编辑
摘要: class Student: count=0 def __init__(self,name,age): self.name=name self.age=age Student.count+=1 ... 阅读全文
posted @ 2018-09-29 17:10 luoganttcc 阅读(143) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get purge nvidia*reboot 阅读全文
posted @ 2018-09-27 18:40 luoganttcc 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 链接 阅读全文
posted @ 2018-09-27 12:08 luoganttcc 阅读(122) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Wed Sep 26 12:41:46 2018@author: luogan"""import numpy as npfrom matpl... 阅读全文
posted @ 2018-09-26 12:44 luoganttcc 阅读(72) 评论(0) 推荐(0) 编辑
摘要: import numpy as npimport cv2from matplotlib import pyplot as pltimg=cv2.imread('tt.png',cv2.IMREAD_COLOR)#method1b,g,r=cv2.split(... 阅读全文
posted @ 2018-09-25 15:44 luoganttcc 阅读(130) 评论(0) 推荐(0) 编辑
摘要: ubuntu安装opencv输入这里的make 代码采用这个框架删除 阅读全文
posted @ 2018-09-25 12:31 luoganttcc 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 何声武随机过程引论 阅读全文
posted @ 2018-09-25 11:35 luoganttcc 阅读(127) 评论(0) 推荐(0) 编辑
摘要: tartar命令可以用来压缩打包单文件、多个文件、单个目录、多个目录。常用格式:单个文件压缩打包 tar czvf my.tar file1多个文件压缩打包 tar czvf my.tar file1 file2,...单个目录压缩打包 tar czvf m... 阅读全文
posted @ 2018-09-19 11:32 luoganttcc 阅读(190) 评论(0) 推荐(0) 编辑
上一页 1 ··· 331 332 333 334 335 336 337 338 339 ··· 345 下一页