Closed slightlynybbled closed 6 years ago
Fixed - images are now stored as image strings within the package, accessible as package data. For instance, the former tk_tools/images/rotary_scale.png
is now accessible as python string data:
former:
import tkinter as tk
image = tk.PhotoImage(file='tk_tools/images/rotary_scale.png')
current:
import tkinter as tk
from tk_tools.images import rotary_scale
image = tk.PhotoImage(data=rotary_scale)
see pull request: https://github.com/slightlynybbled/tk_tools/pull/11