# -*- coding: utf-8 -*-
import hashlib
import web
import lxml
import time
import os
import urllib2,json
from lxml import etree
import connectData
from sae.storage import Bucket,Connection
class TstBucket:
	def GET(self):		
		bbk = Connection()        
		buc = bbk.get_bucket('data')
		#return buc        
		buc.put_object("roomone.txt","        Time         PM2510  PM0325    CO2    Tem     RH    PM25   PM10\r\n")
		buc.put_object("roomtwo.txt","        Time         PM2510  PM0325    CO2    Tem     RH    PM25   PM10\r\n")
		buc.put_object("roomthr.txt","        Time         PM2510  PM0325    CO2    Tem     RH    PM25   PM10\r\n")
		buc.put_object("roomfou.txt","        Time         PM2510  PM0325    CO2    Tem     RH    PM25   PM10\r\n")
		buc.put_object("roomfiv.txt","        Time         PM2510  PM0325    CO2    Tem     RH    PM25   PM10\r\n") 