in the main funtion just write - from student import Student. It is - from 'Filename' import 'Classname'
So
def main(): print("is workign") from student import Student temp = Student("50") ## I want to create the object of class Student and send an attribute
if name == 'main': main()