#Run this from command line
!python -c "import this"

#Inside a python console
import this

"""
Explanation: Run the following:
End of explanation
"""


# execution semantics
for i in range(10):
    print i**2
print "Outside for loop"

# dynamic binding
my_str = "hola"
type(my_str)

# dynamic binding
my_str = 90
type(my_str)

# fully dynamic typing
4 +5 +6

# fully dynamic typing
4 + "hola"

"""
Explanation: From official website ( http://www.python.org/ ):
Python is a programming language that lets you work more quickly and integrate
your systems more effectively. You can learn to use Python and see almost
immediate gains in productivity and lower maintenance costs.
Executive summary from official website ( http://www.python.org/doc/essays/blurb.html )
Python is an interpreted, object-oriented, high-level programming language
 with dynamic semantics. Its high-level built in data structures, combined
 with dynamic typing and dynamic binding, make it very attractive for Rapid
 Application Development, as well as for use as a scripting or glue language
 to connect existing components together. Python's simple, easy to learn syntax
 emphasizes readability and therefore reduces the cost of program maintenance.
 Python supports modules and packages, which encourages program modularity and
 code reuse. The Python interpreter and the extensive standard library are
 available in source or binary form without charge for all major platforms,
 and can be freely distributed.
TO SUM UP

quick development
simple, readable, easy to learn syntax
general purpose
interpreted (not compiled)
object-oriented
high-level
dynamic semantics (aka execution semantics)
fully dynamic typing
dynamic binding
low programs manteinance cost
modularity and code reuse
no licensing costs
extensive standard library, "batteries included"
imperative and functional programming
automatic memory management
End of explanation
"""


