Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1663595
  • 博文数量: 631
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 3920
  • 用 户 组: 普通用户
  • 注册时间: 2014-08-06 21:58
个人简介

博客是我工作的好帮手,遇到困难就来博客找资料

文章分类

全部博文(631)

文章存档

2022年(2)

2021年(4)

2020年(40)

2019年(4)

2018年(78)

2017年(213)

2016年(41)

2015年(183)

2014年(66)

我的朋友

发布时间:2017-03-14 19:01:19

import 作用: 导入/引入一个Python标准模块,其中包括.py文件、带有__init__.py文件的目录。e.g:[python] view plaincopy import module_name[,module1,...]  from module import *|child[,child1,...]  说明:多次重复使用import语句时,不会重新加载被指定的模块,只是把.........【阅读全文】

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

发布时间:2017-03-14 17:37:39

#encoding=utf-8# -*- coding:utf-8 -*- import osimport calendarimport datetimeimport MySQLdbimport os, sys, re,stringimport time, tarfile,getoptimport socketimport structreload(sys)sys.setdefaultencoding('utf-8')optmap = {    'dbuser': 'tongji',    'dbpass'.........【阅读全文】

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

发布时间:2017-03-13 20:53:29

1.安装openssl[root@c6 ~]# yum install -y openssl openssl-devel___________________________________________________________   yum安装方式http://www.openssl.org/source/   #下载openssl[root@Web_server src]# tar xf openssl-1.0.1s.tar.gz[root@Web_server src.........【阅读全文】

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

发布时间:2017-03-13 20:23:56

自制ssl凭证建立凭证文件[root@bird certs]# cd /etc/pki/tls/certs/[root@bird certs]# make xxx.key[root@bird certs]# mv xxx.key xxx.key.raw[root@bird certs]# openssl rsa -in xxx.key.raw -out xxx.key[root@bird certs]# rm -f xxx.key.raw[root@bird.........【阅读全文】

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

发布时间:2017-03-13 20:13:31

自制ssl凭证大体流程:先建立一把 private key 预备提供给 SSL 凭证签名要求所用;2. 最后建立 SSL 凭证 (test certificates)。建立凭证文件[root@bird certs]# cd /etc/pki/tls/certs/[root@bird certs]# make xxx.key[root@bird certs]# mv xxx.key xxx.key..........【阅读全文】

阅读(358) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

onlyword2018-01-30 15:35

博主python玩的很溜啊,貌似有很多有用的东西,感谢分享!

回复  |  举报
留言热议
请登录后留言。

登录 注册