Python Forum
problem with "hiding" object
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with "hiding" object
#3
Here is the instantiation:

cipher = Cipher()
And here's the error message:

Output:
Traceback (most recent call last): File "C:\Users\leagu\pythonprojects\costcontrol\classes\keyclass.py", line 25, in <module> cipher = Cipher(data) File "C:\Users\leagu\pythonprojects\costcontrol\classes\keyclass.py", line 7, in __init__ self.cipher = value File "C:\Users\leagu\pythonprojects\costcontrol\classes\keyclass.py", line 15, in cipher if self.cipher != None: File "C:\Users\leagu\pythonprojects\costcontrol\classes\keyclass.py", line 11, in cipher return self.__cipher AttributeError: 'Cipher' object has no attribute '_Cipher__cipher'
Reply


Messages In This Thread
problem with "hiding" object - by league55 - Jan-16-2018, 07:30 PM
RE: problem with "hiding" object - by buran - Jan-16-2018, 08:41 PM
RE: problem with "hiding" object - by league55 - Jan-16-2018, 09:44 PM
RE: problem with "hiding" object - by wavic - Jan-16-2018, 10:32 PM
RE: problem with "hiding" object - by league55 - Jan-16-2018, 11:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Hiding username and password on sql tantony 10 3,281 Oct-21-2022, 07:58 PM
Last Post: wavic
  Hiding "undesired" info Extra 4 1,904 Jan-03-2022, 08:25 PM
Last Post: Extra
Lightbulb Object Oriented programming (OOP) problem OmegaRed94 6 3,056 May-31-2021, 07:19 PM
Last Post: OmegaRed94
  Please help! Problem with my Point object itrema 2 5,371 Mar-05-2019, 09:57 AM
Last Post: itrema

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020