104 except Exception as e:
105 print("Error: ", e)
106 try:
107 os.system("xdg-open " + os.path.join(os.getcwd(), "Resources/Images/Saved_fractals/"))108 except Exception as e:
109 print("Error: ", e)
110 checked_ez_button.create_button()
42 def update_images(self, count: int):
43 self.images = []
44 for index_img in range(count):
45 image = EZ.load_image(f"{self.app.working_directory + gallery_path}/image{index_img}.png") 46 image = pygame.transform.scale(image, (175, 140))
47 self.images.append(image)
48
100
101 elif checked_ez_button.name == "btnOpenFolder":
102 try:
103 os.startfile(os.path.join(os.getcwd(), "Resources/Images/Saved_fractals/"))104 except Exception as e:
105 print("Error: ", e)
106 try:
126 except FileNotFoundError:
127 print("Help file not found.")
128 print(
129 "Please make sure you have a help.html file in the help directory."130 )
131 elif checked_complex_button.name == "btnSettings":
132 try:
36 self.explore_app = explore_app
37 self.ez_complex_buttons: list[
38 UI.Components.EzComplexButton.EzComplexButton
39 ] = UI.Components.EzComplexButton.loader(self.explore_app.working_directory + json_file, 40 self.complex_button_content)
41 self.ez_texts: list[UI.Components.EzText] = UI.Components.EzText.loader(
42 self.explore_app.working_directory + json_file
Line length greater than configured max_line_length
detected, defaults to 79 character. This limit can be configured docs