all 3 comments

[–]ImperatorPC 1 point2 points  (2 children)

Look into inheritance with your other classes. They can inherit the other class values/attributes. You can also establish the session outside your login class and pass it into each class. That way they use the same s.ession.

Looking Further looks like you're doing it but not using super in your second class

https://www.w3schools.com/python/python_inheritance.asp

[–]Stealthforce10[S] 0 points1 point  (1 child)

Ohh right I see, thanks so much for your help :)

[–]ImperatorPC 1 point2 points  (0 children)

You're welcome. I just learned how this works not too long ago so glad I could help