May-30-2018, 08:40 PM
(May-29-2018, 04:43 PM)snippsat Wrote: self
is always lowercase.
Formally, you can write it the way you want - or replace with any other name, since
self
is just a convention. Of course, that would be a very bad idea ![Naughty Naughty](https://python-forum.io/images/smilies/eusa_naughty.gif)
![Evil Evil](https://python-forum.io/images/smilies/icon_evil.gif)
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.