上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: 1.封装的类三个方法:1.__init__(self,), __del__(self),__str__(self) 2.pyyhon中,对于none的判定,建议用is(内存地址) 3.python里面,__加上属性,表示私有属性 4.python可以外部访问私有属性和方法,前面加上类名就可以。 5. 阅读全文
posted @ 2019-02-12 13:35 喜欢沧月的二福君 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1.关于注释 py里面用#表示注释,用""" """三个冒号连用表示多行注释 2.per8,关于python的代码格式 3.运算符,//是取整数,**是幂,字符串加上*数字是表示将字符串重复n次 4.str是字符串 5.py3只有in他,py2.0有int和long 6.字符串可以用+表示两个字符串 阅读全文
posted @ 2019-02-07 13:06 喜欢沧月的二福君 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 利用screen命令。 在登录Putty后直接输入screen命令运行。 然后运行.main。 进程结束用kill 阅读全文
posted @ 2019-01-12 15:43 喜欢沧月的二福君 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 第二次作业: 1.EPC 条形码的编码方式有一维条码与二维条码两种,其中二维条码 C 。 A、密度高,容量小 B、可以检查码进行错误侦测,但没有错误纠正能力 C、可不依赖资料库及通讯网路的存在而单独应用 D、主要用于对物品的标识 2.以下 项用于存储被识别物体的标识信息?B A、天线 B、电子标签 阅读全文
posted @ 2019-01-10 15:56 喜欢沧月的二福君 阅读(4973) 评论(0) 推荐(0) 编辑
摘要: 今天用go语言的orm的时候,操作text类型插入数据库时候,进行类型转时候上面总爆红,orm.TextField undefined (type orm.Ormer has no field or method TextField),显示这个错。 解决方法是把orm的包起一个别名 像这样。 阅读全文
posted @ 2019-01-06 16:26 喜欢沧月的二福君 阅读(1422) 评论(0) 推荐(0) 编辑
摘要: 2018上半年:https://wenku.baidu.com/view/9ad43d9a5ff7ba0d4a7302768e9951e79b8969ec.html 2017上半年:https://wenku.baidu.com/view/8be808b603d276a20029bd64783e09 阅读全文
posted @ 2019-01-03 20:53 喜欢沧月的二福君 阅读(658) 评论(0) 推荐(0) 编辑
摘要: Digit factorials Problem 34 Problem 34 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145. Find the sum of all numbers which are equal to t 阅读全文
posted @ 2018-12-20 23:41 喜欢沧月的二福君 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 一: 打开服务,停止Oracle相关服务 二: 运行regedit,选择HKEY_LOCAL_MACHINE > SOFTWARE > ORACLE,按del键删除这个入口 三: 运行regedit,选择HKEY_LOCAL_MACHINE SYSTEM > CurrentControlSet > 阅读全文
posted @ 2018-12-18 17:02 喜欢沧月的二福君 阅读(2719) 评论(0) 推荐(0) 编辑
摘要: Summation of primes Problem 10 Problem 10 The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million. pack 阅读全文
posted @ 2018-12-09 20:27 喜欢沧月的二福君 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 结果:31875000 阅读全文
posted @ 2018-12-09 20:25 喜欢沧月的二福君 阅读(198) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页

联系博主qq2456891380