Importing separate files/modules into 'main.py' file & error messages while closing main app. #1017
Unanswered
AaronCatolico
asked this question in
Q&A
Replies: 2 comments 10 replies
-
Hi Aaron, I believe that issue was fixed yesterday and you can give fix a try by installing pre-release version of Flet:
Let me know how that worked. |
Beta Was this translation helpful? Give feedback.
6 replies
-
what version of Flet is that? Could you please run |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to have my "main.py" import separate files/modules such as "control1.py" in order to stay organized (obviously) and keep my "main.py" file simple, but I'm not sure if I'm structuring my files correctly.
Here's what my "
main.py
" looks like:.....and here is what my "
control1.py
" file looks like:Also, after clicking the 'START' button on this simple count up app and then trying to close the form to exit the program while it's still counting up on the thread, I keep getting this error:
I don't know if this is because I didn't structure my files correctly ('
main.py
' and 'control1.py
') or if this is some kind of bug that needs to be reported to the Flet developers. If I'm wrong on the structure of the files, please explain. Thanks.Beta Was this translation helpful? Give feedback.
All reactions