SHARE
TWEET

Untitled

a guest Aug 2nd, 2011 44 Never
  1. >>> gprmc = "$GPRMC,1244.0,A,3111.334505,N,90729.3111898,W,1.2,,020811,,,A*55"
  2. >>> reader = csv.reader(gprmc)
  3. >>>
  4. >>> for row in reader:
  5.         if row and row[0].strip() == '$GPRMC':
  6.                 for val in row:
  7.                         print val
  8.                 print "__________________"
  9. >>>
  10. >>>
  11. >>>
RAW Paste Data
Top