Create code.py

environment: python 2.7.*