import sys
import time


def determineID(file_name):
  uniqueID = 0
  with open(file_name) as file:
    for line in file:
      for char in line:
        uniqueID += ord(char)

  return uniqueID


while True:
  file_name = sys.argv[1]

  print('starting')
  prev = determineID(file_name)
  time.sleep(10)
  current = determineID(file_name)
  print('finishing')

  if current != prev:
    print('something has changed')


# TODO
# add modification history
# add an automatic commit/push
53fdecee13f18b647ce5377bd46a7bd9b95ef260
<mask token>

<mask token>


def determineID(file_name):
    uniqueID = 0
    with open(file_name) as file:
        for line in file:
            for char in line:
                uniqueID += ord(char)
    return uniqueID


<mask token>

<mask token>


def determineID(file_name):
    uniqueID = 0
    with open(file_name) as file:
        for line in file:
            for char in line:
                uniqueID += ord(char)
    return uniqueID


while True:
    file_name = sys.argv[1]
    print('starting')
    prev = determineID(file_name)
    time.sleep(10)
    current = determineID(file_name)
    print('finishing')
    if current != prev:
        print('something has changed')

import sys
import time


def determineID(file_name):
    uniqueID = 0
    with open(file_name) as file:
        for line in file:
            for char in line:
                uniqueID += ord(char)
    return uniqueID


while True:
    file_name = sys.argv[1]
    print('starting')
    prev = determineID(file_name)
    time.sleep(10)
    current = determineID(file_name)
    print('finishing')
    if current != prev:
        print('something has changed')

import sys
import time


def determineID(file_name):
  uniqueID = 0
  with open(file_name) as file:
    for line in file:
      for char in line:
        uniqueID += ord(char)

  return uniqueID


while True:
  file_name = sys.argv[1]

  print('starting')
  prev = determineID(file_name)
  time.sleep(10)
  current = determineID(file_name)
  print('finishing')

  if current != prev:
    print('something has changed')


# TODO
# add modification history
# add an automatic commit/push