import pickle
import base64


def ObjectFromBase64EncodedString(EncodedObject):
    """Generate Python object from a bas64 encoded and pickled
    object string.
    
    Arguments:
        str: Base64 encoded and pickled object string.

    Returns:
        object : Python object or None.

    """

    return None if EncodedObject is None else pickle.loads(base64.b64decode(EncodedObject))