##// END OF EJS Templates
Improve abs pattern views, templates and plots....
Improve abs pattern views, templates and plots. git-svn-id: http://jro-dev.igp.gob.pe/svn/jro_hard/radarsys/trunk/webapp@203 aa17d016-51d5-4e8b-934c-7b2bbb1bbe71

File last commit:

r178:6920059c9c16
r180:d4783015f56a
Show More
Files.py
18 lines | 376 B | text/x-python | PythonLexer
'''
Created on Jun 19, 2013
@author: Jose Antonio Sal y Rosas Celi
@contact: jose.salyrosas@jro.igp.gob.pe
'''
from datetime import datetime
class Files(object):
def setFilename(self):
return datetime.today().strftime("%Y%m%d%H%M%S%f")
def save(self, filename, contentFile):
f = open(filename, 'a+')
f.write(contentFile)
f.close()