转自: http://blog.csdn.net/jiankunking/article/details/65448239 Read More
posted @ 2017-03-31 16:01 BETS&ME Views(109) Comments(0) Diggs(0)
http://www.07net01.com/2015/08/903675.html https://wenku.baidu.com/view/d78c768a6edb6f1afe001f53.html Read More
posted @ 2017-03-30 09:35 BETS&ME Views(98) Comments(0) Diggs(0)
############### oct() ################ ################## open() ############# ################## ord() ############## ################## pow() ###### Read More
posted @ 2017-03-29 23:42 BETS&ME Views(118) Comments(0) Diggs(0)
今天学习重点 ############## dict() ################# ############# dir() ################## ############# divmod() ################ ##############enumerate( Read More
posted @ 2017-03-29 23:38 BETS&ME Views(174) Comments(0) Diggs(0)
############### HELLO THIS IS MY CODE ###################### ### 格式化字符串 s = "{0} is {1}" ##### 占位符必须从0 开始,按顺序排 c = s.format('zrz','goodman') print (c) Read More
posted @ 2017-03-28 00:13 BETS&ME Views(242) Comments(0) Diggs(0)
# ###### My Shell Code ############# #! /bin/bashdate=`date +%Y%m%d`logpt=/root/nginx/logs/access.loglogbk=/data/ng_log/$datelogpid=/root/nginx/logs/n Read More
posted @ 2017-03-22 19:41 BETS&ME Views(170) Comments(0) Diggs(0)
# python 版本是 3.6.0#! /bin/bash/env python# -*- coding:utf-8 -*-import smtplibfrom email.mime.text import MIMETextfrom email.utils import formataddrdef Read More
posted @ 2017-03-22 19:24 BETS&ME Views(138) Comments(0) Diggs(0)
链接地址: http://blog.csdn.net/haofeifei6/article/details/38316957 Read More
posted @ 2017-03-18 16:41 BETS&ME Views(906) Comments(3) Diggs(0)
++++++++++++++ My Code +++++++++++++++ # set s1 = set ([11,22,33]) s2 = set([33,44,55]) ret = s1.difference(s2) ret2 = s2.symmetric_difference(s2) pri Read More
posted @ 2017-03-16 00:34 BETS&ME Views(92) Comments(0) Diggs(0)
解决方法: # kill %1 2. grep在特定路径下面查找带有ip的文件名 grep -E -o "([0-9]{1,3}[\.]){3}[0-9]{1,3}" +文件路径 Read More
posted @ 2017-03-13 14:19 BETS&ME Views(137) Comments(0) Diggs(0)