Prima scrittura libSPLIT
This commit is contained in:
@@ -6,7 +6,6 @@ Created on 2 nov 2019
|
|||||||
from libbabanasplit.libfancylogger import fancyLogger
|
from libbabanasplit.libfancylogger import fancyLogger
|
||||||
import json,os,glob,copy
|
import json,os,glob,copy
|
||||||
|
|
||||||
|
|
||||||
class bananaCONF(object):
|
class bananaCONF(object):
|
||||||
'''
|
'''
|
||||||
Carica e Salva file di configurazione per bananaSPLITTER
|
Carica e Salva file di configurazione per bananaSPLITTER
|
||||||
|
|||||||
@@ -3,13 +3,22 @@ Created on 2 nov 2019
|
|||||||
|
|
||||||
@author: Emanuele Trabattoni
|
@author: Emanuele Trabattoni
|
||||||
'''
|
'''
|
||||||
import libfancylogger
|
from libbabanasplit.libfancylogger import fancyLogger
|
||||||
class bananaSPLITTER(object):
|
import threading
|
||||||
'''
|
|
||||||
Funzionalita' base per apertura e divisione di file da LexisNexis
|
|
||||||
'''
|
|
||||||
|
|
||||||
def __init__(self, params):
|
class bananaSPLITTER(threading.Thread):
|
||||||
|
|
||||||
|
def __init__(self, fileParams=None, logger=None):
|
||||||
|
self.fileParams = fileParams
|
||||||
|
self.log = logger
|
||||||
|
|
||||||
|
if fileParams is not None:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
self.log.critical("Non e' stato fornito il nome di alcun file da splittare!")
|
||||||
|
pass
|
||||||
|
|
||||||
|
def run(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def openFile(self):
|
def openFile(self):
|
||||||
@@ -27,5 +36,8 @@ class bananaSPLITTER(object):
|
|||||||
def saveBody(self):
|
def saveBody(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
logg = fancyLogger(name="LibSplit")
|
||||||
|
spp = bananaSPLITTER(fileParams="testfile.txt", logger=logg)
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user