Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
116 views

Using getpass() fails in the self.__init__() method but works fine when used functionally. Why is this?

I can't work out what I'm doing wrong here. I want to set up a new user if this class is instantiated and there is no user already pickled. My __init__ method currently looks like this: class User: ...
nihilok's user avatar
  • 1,993