Python Forum
How do you create common functions or classes
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do you create common functions or classes
#2
It's good to separate your application into separate modules and packages yes. Flask applications are just Python programs really so there's nothing special - you just import the functions from your modules and call them.
Reply


Messages In This Thread
RE: How do you create common functions or classes - by ndc85430 - Aug-15-2021, 03:39 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020