VSCode, how do you import a function that is in another file? I get an ImportError

后端 未结 0 642
醉话见心
醉话见心 2020-12-29 05:41

I have 2 files: print.py and cool.py. They are in the same map.

print.py:

def test():
    print(\'cool\')

cool.py:

from         


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