Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)FO
Posts
4
Comments
2,660
Joined
2 yr. ago

  • Python has a bunch of magic variables, like __name__. This one contains the name of the module you're currently in (usually based on the file name), so if your file is called foo.py, it will have the value foo.

    But that's only if your module is being imported by another module. If it's executed directly (e.g. python foo.py), it will instead have a __name__ of __main__. This is often used to add a standalone CLI section to modules - e.g. the module usually only defines functions that can be imported, but when executed it runs an example of those functions.

  • The consensus is that he didn't kill himself

    Edit to expand a bit: he was in a prison cell under suicide watch & was filmed 24/7, probably also guarded 24/7. There's simply no way for someone to kill themselves in this situation. Also consider that many, many powerful people were implicated in his pedophile ring - enough that they easily had the ability to "get rid of him" to save themselves.