Python Code Analysis