4 from PyQt4 import QtGui,QtCore
6 pathRacine=os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)),'..'))
7 if os.path.dirname(pathRacine) not in sys.path :
8 sys.path.insert(0,pathRacine)
10 from dataBase import Base
12 if __name__ == "__main__":
13 from optparse import OptionParser
15 p.add_option('-p',dest='partiel',action="store_true", default=False,help='export de machine, groupe, ratio Maille et Perf uniquement')
16 p.add_option('-d',dest='database',default="../myMesh.db",help='nom de la database')
17 options, args = p.parse_args()
19 maBase=Base(options.database)
21 maBase.exportToCSV(options.partiel)