Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3652453
  • 博文数量: 880
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 6155
  • 用 户 组: 普通用户
  • 注册时间: 2016-11-11 09:12
个人简介

To be a better coder

文章分类

全部博文(880)

文章存档

2022年(5)

2021年(60)

2020年(175)

2019年(207)

2018年(210)

2017年(142)

2016年(81)

发布时间:2021-09-29 14:41:01

什么是Host Aggregatehost aggregate是管理员用来根据硬件资源的某一属性来对硬件进行划分的功能,只对管理员可见,主要用来给nova-scheduler通过某一属性来进行instance的调度。其主要功能就是实现根据某一属性来划分物理机,比如按照地理位置,使用固态硬盘的机器,内存超过32G的机器,根据这些指标来构成一个host group.........【阅读全文】

阅读(2973) | 评论(0) | 转发(0)

发布时间:2019-01-22 13:51:58

https://www.cnblogs.com/lihanx/p/5947178.html1.查看一下当前Python的版本$ python -V注意这里“V”是大写的,记得当前python的版本,之后会用得到。我的当前版本是2.6.6。 2.安装过程中需要拥有root权限,所以在一开始就获取root$ su root 注意这里执行命令后提示输入密码,但是输入过.........【阅读全文】

阅读(4192) | 评论(0) | 转发(0)

发布时间:2019-01-21 10:41:15

[root@localhost /]# cat threadzlg.py#!/bin/pythonimport threadingimport timeclass mythread(threading.Thread):    def __init__(self,name,tim):        threading.Thread.__init__(self)        self.name=name   &n.........【阅读全文】

阅读(11444) | 评论(0) | 转发(0)

发布时间:2019-01-21 10:29:00

[root@localhost /]# cat list.py #!/bin/pythonfrom random import randintd=[randint(-10,10) for _ in range(10)]s={'student%d' %i:randint(-10,10) for i in range(10)}t=[x for x in d if x >=0]#if (4,3)>(3,4):#    print 'aaaaaaaaaaaa'r=[(y,x) for x,y in s.items()]print sprint rpr.........【阅读全文】

阅读(5169) | 评论(0) | 转发(0)

发布时间:2019-01-04 15:08:39

转载自:https://riverdba.github.io/2017/08/29/sqlite3-install-for-python/摘要:使用sqlmap时遇到一个问题,需要给python安装sqlite3。记录下安装过程!安装sqlite3尝试使用pip安装,安装失败:[root@mysql1 src]# pip install sqlite3Collecting sqlite3 Using cached sqlite3-99.0.t.........【阅读全文】

阅读(3124) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册