# coding=utf-8 ''' Created on 2016年4月1日 @author: ChenHao ''' import uuid # fout = open("uuid.txt", "a") # for i in range(1, 10): # num = uuid.uuid1() # uuid_str = str(num) # new_str = uuid_str.replace("-", "") # fout.write(new_str + "\n") d = dict() d["name"] = "chenhao" d["age"] = 13 str = "**" + d["name"] + str(d["age"]) + "**" print (str)