http_client.py
def extract_json(filename):
    """Extracts info from a json file under the form of a dictionary.
    It is used to declare HTTPClient's static variables
    
    :param filename: str : Name of the json file (or path)
    :return: dict : Image dictionary of the json file"""
    this_directory = os.path.dirname(__file__)
    file = open(os.path.join(this_directory, filename), 'r')
    string = file.read()
    file.close()
    return json.loads(string)
Extracts info from a json file under the form of a dictionary.
    It is used to declare HTTPClient's static variables
    
    :param filename: str : Name of the json file (or path)
    :return: dict : Image dictionary of the json file
Extracts info from a json file under the form of a dictionary.
It is used to declare HTTPClient's static variables
Extracts info from a json file under the form of a dictionary . It is used to declare HTTPClient ' s static variables
def extract_json(filename):
    this_directory = os.path.dirname(__file__)
    file = open(os.path.join(this_directory, filename), 'r')
    string = file.read()
    file.close()
    return json.loads(string)
def extract_json ( filename ) : this_directory = os . path . dirname ( __file__ ) file = open ( os . path . join ( this_directory , filename ) , 'r' ) string = file . read ( ) file . close ( ) return json . loads ( string )
Extracts info from a json file under the form of a dictionary.
Extracts info from a json file under the form of a dictionary .
"""Extracts info from a json file under the form of a dictionary.
    It is used to declare HTTPClient's static variables
    
    :param filename: str : Name of the json file (or path)
    :return: dict : Image dictionary of the json file"""
dict : Image dictionary of the json file
dict : Image dictionary of the json file
filename
str : Name of the json file (or path)
str : Name of the json file ( or path )