Prima scrittura libSPLIT
This commit is contained in:
@@ -6,7 +6,6 @@ Created on 2 nov 2019
|
||||
from libbabanasplit.libfancylogger import fancyLogger
|
||||
import json,os,glob,copy
|
||||
|
||||
|
||||
class bananaCONF(object):
|
||||
'''
|
||||
Carica e Salva file di configurazione per bananaSPLITTER
|
||||
|
||||
@@ -3,13 +3,22 @@ Created on 2 nov 2019
|
||||
|
||||
@author: Emanuele Trabattoni
|
||||
'''
|
||||
import libfancylogger
|
||||
class bananaSPLITTER(object):
|
||||
'''
|
||||
Funzionalita' base per apertura e divisione di file da LexisNexis
|
||||
'''
|
||||
from libbabanasplit.libfancylogger import fancyLogger
|
||||
import threading
|
||||
|
||||
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
|
||||
|
||||
def openFile(self):
|
||||
@@ -27,5 +36,8 @@ class bananaSPLITTER(object):
|
||||
def saveBody(self):
|
||||
pass
|
||||
|
||||
if __name__ == "__main__":
|
||||
logg = fancyLogger(name="LibSplit")
|
||||
spp = bananaSPLITTER(fileParams="testfile.txt", logger=logg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user