import serial
import time
import pynmea2

ser = serial.Serial("/dev/ttyACM0", 9600)

while True:
    msg = ser.readline().decode().strip('\r\n')
    if (msg[0:6] == '$GNGGA'):
        parsed_msg = pynmea2.parse(msg)
        print(parsed_msg.lat)
    time.sleep(1)

68df664867b09019710711575fadb09f0fffa107
<mask token>

<mask token>
while True:
    msg = ser.readline().decode().strip('\r\n')
    if msg[0:6] == '$GNGGA':
        parsed_msg = pynmea2.parse(msg)
        print(parsed_msg.lat)
    time.sleep(1)

<mask token>
ser = serial.Serial('/dev/ttyACM0', 9600)
while True:
    msg = ser.readline().decode().strip('\r\n')
    if msg[0:6] == '$GNGGA':
        parsed_msg = pynmea2.parse(msg)
        print(parsed_msg.lat)
    time.sleep(1)

import serial
import time
import pynmea2
ser = serial.Serial('/dev/ttyACM0', 9600)
while True:
    msg = ser.readline().decode().strip('\r\n')
    if msg[0:6] == '$GNGGA':
        parsed_msg = pynmea2.parse(msg)
        print(parsed_msg.lat)
    time.sleep(1)

import serial
import time
import pynmea2

ser = serial.Serial("/dev/ttyACM0", 9600)

while True:
    msg = ser.readline().decode().strip('\r\n')
    if (msg[0:6] == '$GNGGA'):
        parsed_msg = pynmea2.parse(msg)
        print(parsed_msg.lat)
    time.sleep(1)
