| 1 |
#!/usr/bin/env python3 |
| 2 |
|
| 3 |
import time, sys |
| 4 |
|
| 5 |
# Make sure other script runs first if dependency |
| 6 |
# is missing. |
| 7 |
time.sleep(0.5) |
| 8 |
|
| 9 |
with open(sys.argv[1]) as f: |
| 10 |
contents = f.read() |
| 11 |
with open(sys.argv[2], 'w', encoding='utf-8') as f: |
| 12 |
f.write(contents) |