netclock/timezone/data/util/test.py

8 lines
209 B
Python
Raw Normal View History

2020-10-26 10:47:07 +00:00
import preprocessor
import sys
p = preprocessor.geonames_allcountries("/home/armin/Downloads/allCountries/allCountries10000.txt")
with open("/home/armin/Desktop/test.dot", "w") as sys.stdout:
p.to_dot()