Skip to content

Instantly share code, notes, and snippets.

View amrit3701's full-sized avatar
🏠
Working from home

Amritpal Singh amrit3701

🏠
Working from home
View GitHub Profile
@singh1114
singh1114 / background.py
Last active August 22, 2017 20:24
Python script to allow put background into the HTML created using `pandoc`
import sys
# Read the second command line argument as the file name
read_file = open(sys.argv[1], 'r')
# Read the third command line argument as the output file name
write_file = open(sys.argv[2], 'w')
temp = ''
flag = 0