66 )
67
68 self.treeview = ttk.Treeview(self.part_frame, height=40, show="tree")
69 # self.treeview.heading("#0", text="Files: ", anchor="w") 70 self.treeview.grid(row=1, column=0, columnspan=2, sticky="nsew")
71
72 # Call the item_opened() method each item an item is expanded.
79 root.iconbitmap(icon)
80 menu_bar = Menubar(root)
81 elif os.name == "posix": # for Linux and MacOS
82 # root.iconphoto(False, PhotoImage(file="editor/scripts/misc/icons/icon.png")) 83 pass
84
85 # Setting width variables
79 root.iconbitmap(icon)
80 menu_bar = Menubar(root)
81 elif os.name == "posix": # for Linux and MacOS
82 # root.iconphoto(False, PhotoImage(file="editor/scripts/misc/icons/icon.png")) 83 pass
84
85 # Setting width variables
335 self.text_Area.text_area.tag_add(tk.SEL, "1.0", tk.END)
336 self.text_Area.text_area.mark_set(tk.INSERT, "1.0")
337 self.text_Area.text_area.see(tk.INSERT)
338 # self.text_Area.text_area.configure(bg="blue",fg="blue")339
340 def begin_end_select(self):
341 pass
257 self.root.destroy()
258
259 def open_folder(self):
260 # self.file_path = filedialog.askdirectory()261 directory = os.path.dirname(self.file_path_1)
262
263 # Open the directory
It is recommended to remove any commented code in your codebase.
for item in sequence:
# print(item)
do_something(item)
# def old_function():
# '''Older implementation that has been replaced'''
# data = get_data()
# api.post(data)
for item in sequence:
do_something(item)