DataPipeline/Base.py
def prepareData(self):
        """Prepare for data import and processing"""

        if self.workingdir == '':
            self.workingdir = os.path.join(os.getcwd(), 'workingdir')
        if not os.path.exists(self.workingdir):
            os.mkdir(self.workingdir)
        else:
            print 'clearing working directory..'
            Utilities.clearDirectory(self.workingdir)
        return
Prepare for data import and processing
Prepare for data import and processing
Prepare for data import and processing
def prepareData(self):
        if self.workingdir == '':
            self.workingdir = os.path.join(os.getcwd(), 'workingdir')
        if not os.path.exists(self.workingdir):
            os.mkdir(self.workingdir)
        else:
            print 'clearing working directory..'
            Utilities.clearDirectory(self.workingdir)
        return
def prepareData ( self ) : if self . workingdir == '' : self . workingdir = os . path . join ( os . getcwd ( ) , 'workingdir' ) if not os . path . exists ( self . workingdir ) : os . mkdir ( self . workingdir ) else : print 'clearing working directory..' Utilities . clearDirectory ( self . workingdir ) return
Prepare for data import and processing
Prepare for data import and processing
"""Prepare for data import and processing"""
self