x=1
while x==1:
print "hello word!"
break
print "i can done"
#利用重定向,向文件中写数据
f=open("d:\\qujinhua.log","w")
print >>f,"haha,wo ye hui e"
f.close()
#利用write()方法写数据
f=open("d:\\qujinhua1006.log","w")
f.write("qu ni de ,qu ni ma de \n")
f.close()
#读出数据
f=open("d:\\qujinhua1006.log")
print " "
print f.read()
f=open("d:\\qujinhua.log")
print f.read()
#pt=raw_input("please input your word:")
#print pt