Python how to call a method from another module inside a class method

前端 未结 0 844
情歌与酒
情歌与酒 2020-12-03 17:50

So I have two files such that

# functions.py
def foo():
    return \'bar\'

and

#models
from functions import *

class User(Use         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题