public static @Nullable File getTemporaryPythonFile(@NonNls String base) {
    try {
      final File file = copyResourceToTempFile(base, ".py");
      final String fileName = file.getName();
      ShutDownTracker.getInstance().registerShutdownTask(() -> {
        File[] files = file.getParentFile().listFiles((dir, name) -> name.startsWith(fileName));
        if (files != null) {
          for (File file1 : files) {
            file1.delete();
          }
        }
      });
      return file;
    }
    catch (IOException e) {
      return null;
    }
  }
public static @Nullable File getTemporaryPythonFile(@NonNls String base)