Remove unused files.

This commit is contained in:
Patrick Jentsch 2020-01-29 11:52:57 +01:00
parent bdab8d2e82
commit 116556bc08
2 changed files with 0 additions and 17 deletions

View File

@ -1,16 +0,0 @@
import argparse
import xml.etree.ElementTree as ET
parser = argparse.ArgumentParser()
parser.add_argument('-i', dest='input_file', required=True)
parser.add_argument('--author', dest='author', required=True)
parser.add_argument('--publishing_year', dest='publishing_year', required=True)
parser.add_argument('--title', dest='title', required=True)
args = parser.parse_args()
element_tree = ET.parse(args.input_file)
text_node = element_tree.find('text')
text_node.set('author', args.author)
text_node.set('publishing_year', args.publishing_year)
text_node.set('title', args.title)
element_tree.write(args.input_file)

1
foo.sh
View File

@ -1 +0,0 @@
sadf