(name)
return app_support_path
Return the application support folder path for the given application name.
Return the application support folder path for the given application name.
Return the application support folder path for the given application name .
def application_support(name):
    """
    Return the application support folder path for the given application name.
    """
    app_support_path = os.path.join(NSSearchPathForDirectoriesInDomains(14, 1, 1).objectAtIndex_(0), name)
    if not os.path.isdir(app_support_path):
        os.mkdir(app_support_path)
    return app_support_path
def application_support ( name ) : app_support_path = os . path . join ( NSSearchPathForDirectoriesInDomains ( 14 , 1 , 1 ) . objectAtIndex_ ( 0 ) , name ) if not os . path . isdir ( app_support_path ) : os . mkdir ( app_support_path ) return app_support_path