#!/usr/bin/env python

import os
from gpiozero import Button

button = Button(3)

while True:
    button.wait_for_press()
    print("button pressed!")
    os.system("python3 /home/pi/Lockout/DriverStation/DriverStation.py")
    button.wait_for_release()

548e1f9d16ee9e920faec9868402661ba8048463
<mask token>

<mask token>
while True:
    button.wait_for_press()
    print('button pressed!')
    os.system('python3 /home/pi/Lockout/DriverStation/DriverStation.py')
    button.wait_for_release()

<mask token>
button = Button(3)
while True:
    button.wait_for_press()
    print('button pressed!')
    os.system('python3 /home/pi/Lockout/DriverStation/DriverStation.py')
    button.wait_for_release()

import os
from gpiozero import Button
button = Button(3)
while True:
    button.wait_for_press()
    print('button pressed!')
    os.system('python3 /home/pi/Lockout/DriverStation/DriverStation.py')
    button.wait_for_release()

#!/usr/bin/env python

import os
from gpiozero import Button

button = Button(3)

while True:
    button.wait_for_press()
    print("button pressed!")
    os.system("python3 /home/pi/Lockout/DriverStation/DriverStation.py")
    button.wait_for_release()
