How Python does Compile-time and Run-time code checking?
At compile time, Python only checks that the syntax is legal. It does no
type checking at all.
At run time, Python can type check things by either explicit checks
using issubclass and isinstance, or by attempting the operation and
seeing if they fail. For example if you say:
the compiler doesn’t know whether obj has a “name” attribute or not, but
the runtime interpreter will attempt to look up that attribute, and if
it fails, it will raise an AttributeError exception.
How can python be useful for my website development?