Originally posted by akbkgp
month,day=time. strftime("%m %d",time.localt ime()).split()
dir2create=os.p ath.join("/home/somedir2create" )
os.mkdir(dir2cr eate)
os.chdir(dir2cr eate)
astring = """
<html>
<body>
Blah Blah
</html>
"""
theFile = open("%s%s"%(mo nth,day),"a")
theFile.write(a string)
theFile.close()
[/code]
Comment