摘要:
#!/usr/bin/env python # coding: UTF-8 # -*- coding: utf-8 -*- import requests from bs4 import BeautifulSoup #import pandas newurl='http://www.qiushiba 阅读全文
摘要:
Centos6.7 上安装python2.7.11和pip yum groupinstall "Development tools" -y yum install zlib-devel zlib bzip2-devel openssl-devel ncurses-devel sqlite-devel 阅读全文
摘要:
#!/usr/bin/bash function rpm_install() { rpm_n=$1 num=$(rpm -qa $rpm_n|wc -l) rpm_name=`ls . |grep $rpm_n-[0-9]` if [ $num -lt 1 ] then echo "the rpm 阅读全文
摘要:
import time import datetime 格式化获取当天日期 time.strftime('%Y%m%d') 格式化获取昨天日期: (datetime.datetime.now() + datetime.timedelta(days=-1)).strftime('%Y%m%d') 格式 阅读全文