human
Complete this python program:
def join_hierarchical_category_path(category_path):
assistant
#Here is the Python program you requested.

    """Join a category path.
    """
    def escape(s):
        'Espace    one    part    of    category    path.'
        return s.replace('\\', '\\\\').replace('/', '\\/')
    return '/'.join([escape(p) for p in category_path])