0 Reputation Points
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
1 Posted Topic
Hi Zeref I have not worked with Gtk before (Only Tkinter) but maybe I can help. You could set the current working directory (cwd) to the path you require (excluding the file name) using os.chdir(path) You could then also pass the filename into the function: def hurr(filename): builder=Gtk.Builder() builder.add_from_file(filename) # …
The End.
solivier