python 如何调用自定义模块中的类

2025-02-24 16:23:20
推荐回答(1个)
回答1:

在a.py里加上from bin import Student 即可
然后就可以直接使用Student了,比如b=Student()

希望能帮到你!