Python Code updated to send required lines of data during programming mode