##// END OF EJS Templates
First beam is loaded by default after sending the beam file to the control modules.
First beam is loaded by default after sending the beam file to the control modules.

File last commit:

r203:204
r231:232
Show More
Files.py
18 lines | 388 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()