Writing good code is a habit that comes from mixing several approaches and changing practices by learning from your own experiences. And mostly its about thinking pessimistic. There is no happy programmer because there are infinity ways to break your code, all you need to look for is to cover all the pit falls by following best practices.
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. During execution the Python source code is translated into bytecode which is then interpreted by the Python interpreter. Python source code can also run on the Java Virtual Machine, in this case you are using Jython.