如何在一个python文件中保存以下函数,然后在另一个python文件中使用它?
文件A中的功能
def basic(x): print(x)
文件B中的陈述:
basic("some string")
python-3.x
python-3.x ×1