字典
摘要:>>> dic1{'chi': 1, 'math': 2, 'eng': 3, 'phi': 8}>>> d2 = dic1>>> d2{'chi': 1, 'math': 2, 'eng': 3, 'phi': 8}d2['linux'] = 111>>> d2{'chi': 1, 'math':
阅读全文
posted @
2019-07-28 19:29
pycod
阅读(142)
推荐(0) 编辑
【转载】geany linux python编译器 开源
摘要:http://www.dekiru.cn/?p=1491 Geany 不好用,建议用一些好用的编辑器或ide Subliem Text 或 VS code Pycharm等。 设置运行环境 菜单栏–生成–设置生成命令–执行命令(execute)那里输入python3 %f 以后直接按F5键即可运行p
阅读全文
posted @
2019-07-28 18:57
pycod
阅读(912)
推荐(0) 编辑
列表 元组 sort
摘要:列表 增append insert extend 迭代增加删 remove delete pop clear改 li【索引】=“被修改的内容”;切片“” 列表 查 for i in rangein 元组 :制度列表 元组 只能查询 列表的元素可以改 sort 排序
阅读全文
posted @
2019-07-28 13:35
pycod
阅读(598)
推荐(0) 编辑
晒伤 芦荟
摘要:当地市场上看看有卖芦荟的,买一块回家,掰一小块,擦上就顶事。个人感觉还不错。 芦荟胶、芦荟凝胶一类。绿绿的,很多牌子都有。 都会脱一层皮。没法。 【转载】千万别被晒伤,血的教训啊June 26, 2011 by fay 半夜两三点钟,起床上网google晒晒伤后补救的良方。不是我爱美,而是我痛得受不
阅读全文
posted @
2019-07-28 13:19
pycod
阅读(411)
推荐(0) 编辑
元组
摘要:>>> tup1 = (1,2,3)>>> tup2 = tup1*2>>> tup2(1, 2, 3, 1, 2, 3)>>> tup3 = tup1 + tup2>>> del tup1>>> tup1Traceback (most recent call last): File "<pyshe
阅读全文
posted @
2019-07-27 21:49
pycod
阅读(128)
推荐(0) 编辑
tuple必须加上逗号
摘要:tuple支持 空 元组 不加逗号 >>> tup4 = () tuple非空的元组必须加上逗号>>> tup4 = (55,)>>> tup4(55,)>>> >>> tup3 = (1,2,3,4,5) >>> tup3 (1, 2, 3, 4, 5) >>> >>> #### 切片 索引 都是
阅读全文
posted @
2019-07-19 08:08
pycod
阅读(144)
推荐(0) 编辑
stressapptest工具
摘要:1.在H桌面V7B04上运行stressapptest工具编译报错。请研发协助! 2.因为stressapptest工具在兆芯和龙芯都能正常运行,所以我怀疑是工具stressapptest未在H桌面V7B04编译。所以我上网下载了stressapptest的源码。在H桌面V7B04上手动编译,也报错
阅读全文
posted @
2019-07-16 13:33
pycod
阅读(1681)
推荐(0) 编辑
Linux Centos7设置UTF-8编码,防止中文乱码
摘要:Linux Centos7设置UTF-8编码,防止中文乱码 # localeLANG=zh_CN.gb2312LC_CTYPE="zh_CN.gb2312"LC_NUMERIC="zh_CN.gb2312"LC_TIME="zh_CN.gb2312"LC_COLLATE="zh_CN.gb2312"
阅读全文
posted @
2019-07-16 12:45
pycod
阅读(1049)
推荐(0) 编辑
[python3.7]列表
摘要:>>> a['aaa']>>> b=['aasd','sss','cc']>>> a.extend(b)>>> a['aaa', 'aasd', 'sss', 'cc']>>> a.extend('eee')>>> a['aaa', 'aasd', 'sss', 'cc', '
阅读全文
posted @
2019-07-15 23:09
pycod
阅读(79)
推荐(0) 编辑
【转载】]基于RedHatEnterpriseLinux V7(RHEL7)下SPEC CPU 2006环境搭建以及测试流程 介绍、安装准备、安装、config文件以及运行脚本介绍
摘要:https://www.codetd.com/article/1137423 https://www.codetd.com/article/1137423 《版权声明:本文为博主原创文章,未经博主允许不得转载》 本次利用SPECCPU2006测试工具来进行Intel CPU Xeon E7-****
阅读全文
posted @
2019-07-14 21:58
pycod
阅读(1214)
推荐(0) 编辑
Linux Test Project(一)
摘要:http://www.vimlinux.com/lipeng/2014/09/12/ltp/ Testing Linux, one syscall at a time. LTP是从SGI开始的,后由IBM 思科 富士通 SUSE Redhat等组织开发的.该工具的目标是建立一个测试套件用来验证lin
阅读全文
posted @
2019-07-14 21:57
pycod
阅读(2057)
推荐(0) 编辑
SPECCPU2006 Spec2006 使用说明
摘要:http://www.vimlinux.com/lipeng/author/penglee5.html Spec2006使用说明 五 10 十月 2014 工具介绍 SPEC CPU 2006 benchmark是SPEC新一代的行业标准化的CPU测试基准套件。重点测试系统的处理器,内存子系统和编译
阅读全文
posted @
2019-07-14 21:53
pycod
阅读(21325)
推荐(1) 编辑
测试用例使用!!!!!!!!!!!!!
摘要:http://www.vimlinux.com/lipeng/author/penglee5.html
阅读全文
posted @
2019-07-14 21:52
pycod
阅读(235)
推荐(0) 编辑
Building SPEC CPU2006
摘要:https://developer.amd.com/wordpress/media/2012/10/building_speccpu.html Building SPEC CPU2006 This file documents the use of the x86 Open64 Compiler S
阅读全文
posted @
2019-07-14 21:50
pycod
阅读(613)
推荐(0) 编辑
SPEC CPU2006的安装和使用
摘要:https://www.spec.org/download.html http://blog.lazzzy.xyz/2017/09/15/SPEC_CPU2006/ BenchMark SPEC CPU2006 发表于 2017-09-15 | 分类于 技术分析 | 阅读次数 0x00 背景 最近在
阅读全文
posted @
2019-07-14 21:43
pycod
阅读(12626)
推荐(0) 编辑
【转载】8.2.1 CPU性能测试工具
摘要:(KVM连载) 8.2.1 CPU性能测试工具 01/08/2013master 1 Comment 8.2.1 CPU性能测试工具 CPU是计算机系统中最核心的部件,CPU的性能直接决定了系统的计算能力,故对KVM虚拟化进行性能测试首先选择对客户机中CPU的性能进行测试。任何程序的执行都会消耗CP
阅读全文
posted @
2019-07-14 21:41
pycod
阅读(1572)
推荐(0) 编辑
specpu2006免费
摘要:https://github.com/cloudharmony/speccpu2006
阅读全文
posted @
2019-07-14 19:30
pycod
阅读(515)
推荐(0) 编辑
specjvm2008免费
摘要:https://www.spec.org/download.html
阅读全文
posted @
2019-07-14 19:26
pycod
阅读(321)
推荐(0) 编辑
stressapptest测试用例testcase方法aarch64
摘要:### https://github.com/stressapptest/stressapptest aarch64 To build from source, the build/installation package follows the GNU guidelines. So, to dow
阅读全文
posted @
2019-07-14 09:04
pycod
阅读(1826)
推荐(0) 编辑
[转载]划好当天要干什么 哪怕事情再多,当天要干的事情都是可以列出
摘要:误区:能否准时下班其实和工作 效率和质量有关,取决于自己,而不在于其它因素。 公司的氛围让不让准时下班是一回事,能不能高效高 质工作,从而能准时下班又是另一回事。比如在工作 中高效了,在下班的时刻完成了当天的工作,又没有 返工,哪怕真的不得不在公司里多呆,那么也可以用 这段时间准备明天的活,或者用这
阅读全文
posted @
2019-07-13 10:00
pycod
阅读(143)
推荐(0) 编辑
[转载]备忘:oh my zsh 的安装、更新、删除
摘要:备忘:oh my zsh 的安装、更新、删除 傅易君 关注 0.8 2016.09.25 00:56* 字数 68 阅读 14920评论 0喜欢 4 傅易君 关注 0.8 2016.09.25 00:56* 字数 68 阅读 14920评论 0喜欢 4 0.8 2016.09.25 00:56* 字
阅读全文
posted @
2019-07-09 17:38
pycod
阅读(3577)
推荐(0) 编辑
【转载】fedora22和win10之间的文件共享互访
摘要:fedora22和win10之间的文件共享互访 钢铁侠与孔子 关注 2016.06.04 14:10* 字数 1327 阅读 2170评论 0喜欢 1 钢铁侠与孔子 关注 2016.06.04 14:10* 字数 1327 阅读 2170评论 0喜欢 1 2016.06.04 14:10* 字数 1
阅读全文
posted @
2019-07-09 17:05
pycod
阅读(445)
推荐(0) 编辑
python3.7[列表] 索引切片
摘要:python3.7[列表] 索引 切片 排序 #### 列表.sort 永久排序 sorted(列表) 临时排序 ### >>> print(sorted(a))['abc', 'aff', 'asdf', 'bbb', 'btte', 'f', 'f', 'f', 'f', 'fff', 'ttt
阅读全文
posted @
2019-07-07 19:24
pycod
阅读(198)
推荐(0) 编辑