Hi I'm new here. I'm trying to create a UI interface for the "tap me" example pythonistia documentation. When I try to run the code though it says "value error: UI file not found" when I run this line of code [ui.load_view('My UI').present('sheet')]. I can't figure out how to fix it. Please help.
dgelessus last edited by
If your UI file is named something other than "My UI" you need to change that in the
load_viewcall as well. Or simply pass no parameters to the function and it will load the UI file with the same name as your script.
smath last edited by
Is your file named 'My UI.pyui' when you look at it in the file browser?
File browser? How do I use that?
polymerchm last edited by
The parallel lines in the upper left hand corner.
ccc last edited by
ui.load_view().present('sheet')work? That is, remove the text from the first ().
Ok, I've figured out how it works now. Thanks guys.