def get_default_pyspark_file():
 current_dir = os.path.dirname(os.path.abspath(__file__))
 f = open(os.path.join(current_dir, DEFAULT_FILENAME), 'r')
 return (f, DEFAULT_FILENAME)

def get_default_pyspark_file ( ) : current_dir = os . path . dirname ( os . path . abspath ( __file__ ) ) f = open ( os . path . join ( current_dir , DEFAULT_FILENAME ) , 'r' ) return ( f , DEFAULT_FILENAME )
gets the pyspark file from this directory .