Create direct_pi.py