This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 3rd, 2014  |  syntax: None  |  size: 0.25 KB  |  views: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.                 if Data.closed == True:
  2.                         Data = open("Data.txt", "r")
  3.                 #
  4.                
  5.                 with Data as fin:
  6.                         last = deque(fin, 1)
  7.                         try:
  8.                                 lat, lon = last[0].split("|")
  9.                         except (IndexError, ValueError):
  10.                                 fatalError("ERROR:Map file has no data!", True)
clone this paste RAW Paste Data