したがって、1つのクラスStudentを持つ1つのパッケージstudentがあり、そのパッケージの外側にmain.pyがあり、Studentの例のオブジェクトを作成しようとしています
class Student:
Id=""
def __init__(self, Id):
self.Id = Id
別ファイル main.py:
def main():
print("is workign")
temp = Student("50") ## I want to create the object of class Student and send an attribute
if __name__ == '__main__':
main()
どんな助けでも大歓迎です。