Little Things you forget

<aside> 💡 We use pyinstaller or py2exe to convert .py to .exe.

</aside>

  1. _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.
  2. __var does not mean private variable, strictly speaking there is no such thing in python. Instead, this is an example of "name-mangling"
  3. __var__ indicates methods usually defined by python itself, aka "magic methods". this double underscores are also called dunder.
  4. \\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.

Modules

requests Module (HTTP Requests)

bs4 module (BeautifulSoup)

re module (regular expression)

sys module (System-specific parameters and functions)

urllib - in-built module()

urllib3 - third-party module (HTTP client)