code: public static Resource toPythonConfigParser(@NonNull String sectionName, @NonNull Resource output) throws IOException {
        try (BufferedWriter writer = new BufferedWriter(output.writer())) {
           writer.write("[");
           writer.write(sectionName);
           writer.write("]\n");
           for (Map.Entry<String, String> e : Sorting.sortMapEntries(getInstance().properties,
                                                                     Map.Entry.comparingByKey())) {
              writer.write(e.getKey());
              writer.write(" : ");
              writer.write(e.getValue().replaceAll("\n", "\n\t\t\t"));
              writer.write("\n");
           }
        }
        return output;
     }
docs: Converts the config into an ini format easily consumed by Python with the given section name
  
  @param sectionName The section name to write properties under
  @param output      the resource to output the ini file to
  @return the resource writen to
  @throws IOException Something went wrong writing the config file