Aug-20-2018, 11:45 PM
Thank you for answering my questions Mekire, I just have a question about this:
Have I used double underscores? All I know about is '__name__', which if I'm correct, is referencing to basic Python Script variables / functions like 'def __init__(self)', just so Python knows what is going on, which class is doing what, when is a class initialized, etc... Or are you just warning me so I don't make that mistake.
(Aug-20-2018, 05:56 PM)Mekire Wrote: And absolutely don't mark variables with leading double underscores. This causes name mangling, again doesn't actually enforce privacy, and most importantly annoys the hell out of other Python programmers.
Have I used double underscores? All I know about is '__name__', which if I'm correct, is referencing to basic Python Script variables / functions like 'def __init__(self)', just so Python knows what is going on, which class is doing what, when is a class initialized, etc... Or are you just warning me so I don't make that mistake.