(path, createdir=False)
return path
Return the given path joined with the .scrapy data directory.
    If given an absolute path, return it unmodified.
Return the given path joined with the .scrapy data directory.
    If given an absolute path, return it unmodified.
Return the given path joined with the . scrapy data directory . If given an absolute path return it unmodified .
def data_path(path, createdir=False):
    """
    Return the given path joined with the .scrapy data directory.
    If given an absolute path, return it unmodified.
    """
    if not isabs(path):
        if inside_project():
            path = join(project_data_dir(), path)
        else:
            path = join('.scrapy', path)
    if createdir and not exists(path):
        os.makedirs(path)
    return path
def data_path ( path , createdir = False ) : if not isabs ( path ) : if inside_project ( ) : path = join ( project_data_dir ( ) , path ) else : path = join ( '.scrapy' , path ) if createdir and not exists ( path ) : os . makedirs ( path ) return path