human
Complete the below
@util.positional(2)
def format_python_file(file_descriptor, output, indent_space=2):

    ''''Format FileDescriptor object as a single Python module.
    Services generated by this function will raise NotImplementedError.
    All Python classes generated by this function use delayed binding for all
    message fields, enum fields and method parameter types.  For example a
    service method might be generated like so:
    class MyService(remote.Service):
    @remote.method(\'my_package.MyRequestType\', \'my_package.MyResponseType\')
    def my_method(self, request):
    raise NotImplementedError(\'Method my_method is not implemented\')
    Args:
    file_descriptor: FileDescriptor instance to format as python module.
    output: File-like object to write module source code to.
    indent_space: Number of spaces for each level of Python indentation.'
    '''
assistant
#Here is the Python code you requested.
    out = generate.IndentWriter(output, indent_space=indent_space)
    (out << 'from    protorpc    import    message_types')
    (out << 'from    protorpc    import    messages')
    if file_descriptor.service_types:
        (out << 'from    protorpc    import    remote')
    if file_descriptor.package:
        (out << ("package    =    '%s'" % file_descriptor.package))
    _write_enums(file_descriptor.enum_types, out)
    _write_messages(file_descriptor.message_types, out)
    _write_services(file_descriptor.service_types, out)