<aside> 💡 We use pyinstaller or py2exe to convert .py to .exe.
</aside>
_var
: A name prefixed with an underscore (e.g. _spam) should be treated as a non-public part of the API (whether it is a function, a method or a data member) aka private variable. However in python, you can still access that, it's just that you are not meant to.__var
does not mean private variable, strictly speaking there is no such thing in python. Instead, this is an example of "name-mangling"__var__
indicates methods usually defined by python itself, aka "magic methods". this double underscores are also called dunder.\\n
is the class Unix/linux style for new line. \\r\\n
is the default Windows style for line separator. \\r
is classic Mac style for line separator.requests
Module (HTTP Requests)
re module (regular expression)
sys module (System-specific parameters and functions)
urllib3 - third-party module (HTTP client)