django_ocr_server/utils.py
def read_binary_file(path):
    """
    It reads a file from the path 2019-03-10
    :param path: path to a file
    :return: contents of the file
    """
    f = open(path, 'rb')
    content = f.read()
    f.close()
    return content

    It reads a file from the path 2019-03-10
    :param path: path to a file
    :return: contents of the file
    
It reads a file from the path 2019-03-10
It reads a file from the path 2019 - 03 - 10
def read_binary_file(path):
    f = open(path, 'rb')
    content = f.read()
    f.close()
    return content
def read_binary_file ( path ) : f = open ( path , 'rb' ) content = f . read ( ) f . close ( ) return content
It reads a file from the path 2019-03-10
It reads a file from the path 2019 - 03 - 10
"""
    It reads a file from the path 2019-03-10
    :param path: path to a file
    :return: contents of the file
    """
contents of the file
contents of the file
path
path to a file
path to a file