1.Hello World
#!/usr/bin/python
# -*- coding: UTF-8 -*-
import sys;
import time;
2.读文件
f = open("SH#601688.txt","r")
while True:
line = f.readline()
if not line:
break
print line
f.close()
3.时间戳
t=time.time()
print "时间是:",t
1.Hello World
#!/usr/bin/python
# -*- coding: UTF-8 -*-
import sys;
import time;
2.读文件
f = open("SH#601688.txt","r")
while True:
line = f.readline()
if not line:
break
print line
f.close()
3.时间戳
t=time.time()
print "时间是:",t