from datetime import datetime


def log_datetime_to_python_datetime(s):
    """
    Convert a log datetime (string) to a Python datetime object.

    Args:
        s (str): string representing the datetime ('%d/%b/%Y:%H:%M:%S +%z').

    Returns:
        datetime: Python datetime object.
    """
    return datetime.strptime(s, '%d/%b/%Y:%H:%M:%S +%z')