# From day on, I'm going to implement a set of functions for my own requiredment
# Keep updating here
# 2/24/2011, create draft
import os
import uuid
def writeTo(s):
mypath = os.path.join(os.environ['TMP'],str(uuid.uuid4()) + '.txt')
if(os.path.exists(mypath)):
os.remove(mypath)
f=open(mypath,'w')
f.write(s)
f.close()
print 'strings saved at: ' + mypath