### This program intends to mark certain journal to GSHF;
### Author: Ye Gao
### Date: 2017-11-1


import os



file = open('RootPath.dat', 'r')
root = (file.read()).replace("\n", "") # read root path from RootPath.dat; 
file.close()


path = root.replace('root', '') + 'root.html'
file = open(path, 'r')
JournalName = 'edu.hk'
web = (file.read()).replace(JournalName + "</div>", JournalName + " dl.acm.org</div>") 
file.close()

file = open(path,'wb')
file.write(web)
file.close()


