Deep Network with Python