开发者

What's the proper way to build a REAL WORLD app in python [closed]

开发者 https://www.devze.com 2023-03-10 09:11 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I've only been learning python for about half a year and I'm just now putting it all together and trying to make something useful...

I've complete开发者_Go百科ly built my GUI (using wxpython) now I need to create the back-end which I'm fully capable but, I'm kinda confused on how I should bind the two...

what is the structure I need to bind my real program within the GUI

Am I suppose to build the back-end in a separate file and import all the classes of my back-end program into the GUI program and call the functions/methods I need from there?

build all of the back-end into the GUI file?

keep them both separate and create a 3rd file that imports the GUI and back-end?

and what if I have functions that needs variables from the other (GUI needs a back-end variable and vice-versa)

Hopefully this is making sense as I can't find the best way to describe what logical issue I'm having

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号