Posts (Latest 10 updated) : Read all

Link List (Edit):
Contents:
  1. Special Method Names in Python
#  ____                  _       _   __  __      _   _               _
# / ___| _ __   ___  ___(_) __ _| | |  \/  | ___| |_| |__   ___   __| |
# \___ \| '_ \ / _ \/ __| |/ _` | | | |\/| |/ _ \ __| '_ \ / _ \ / _` |
#  ___) | |_) |  __/ (__| | (_| | | | |  | |  __/ |_| | | | (_) | (_| |
# |____/| .__/ \___|\___|_|\__,_|_| |_|  |_|\___|\__|_| |_|\___/ \__,_|
#       |_|
#  _   _
# | \ | | __ _ _ __ ___   ___  ___
# |  \| |/ _` | '_ ` _ \ / _ \/ __|
# | |\  | (_| | | | | | |  __/\__ \
# |_| \_|\__,_|_| |_| |_|\___||___/
#

Special Method Names in Python

Ok, so if you look at python code long enough, you will not only notice that some files have odd naming patterns, like __init__.py and __main__.py, but you will notice that some functions seem to use the same naming patterns, and you would be right.