Skip to content Skip to sidebar Skip to footer
Showing posts with the label Private

Actual Implementation Of Private Variables In Python Class

Possible Duplicate: The meaning of a single- and a double-underscore before an object name in Pytho… Read more Actual Implementation Of Private Variables In Python Class

How Do I Make Private Variables Inaccessable In Python?

class Car(object): def __init__(self, color, engine, oil): self.color = color s… Read more How Do I Make Private Variables Inaccessable In Python?

Is This Code Truly Private? (python)

I am trying to make python allow private variable, so I made this decorator that you put at the beg… Read more Is This Code Truly Private? (python)

How Can I Get My Bot To Dm A Specific User Id Without A Command Given?

When someone DM's my bot, I have it print to the console who messaged, what the message was, an… Read more How Can I Get My Bot To Dm A Specific User Id Without A Command Given?

Simulate Private Variables In Python

Possible Duplicate: private members in python I've got few variables I really want to hide be… Read more Simulate Private Variables In Python