博客是我工作的好帮手,遇到困难就来博客找资料
分类: 系统运维
2017-02-15 18:35:24
#!/usr/bin/env python
#-*-coding:utf-8-*-
import os
import pandas as pd
import calendar
import datetime
import MySQLdb
import os, sys, re,string
import time, tarfile,getopt
import redis
num = open('num.txt','a')
for i in range(1,101):
print i
print >> num , i
num.close()