Import own .py files in anaconda spyder

后端 未结 5 1667
梦毁少年i
梦毁少年i 2021-02-14 16:21

I\'ve written my own mail.py module in spider (anaconda). I want to import this py file in other python (spider) files just by \'import mail\'

I searched on the internet

5条回答
  •  猫巷女王i
    2021-02-14 16:46

    when calling any function from another file, it should be noted to not import any library inside the function

提交回复
热议问题