google-meme-code-2017/input.py

21 lines
363 B
Python
Executable File

#!/usr/bin/python3
import sys
filename = sys.argv[1]
print(filename)
with open(filename) as file:
text = file.readlines()
tokenised = [line.strip().split() for line in text]
videoCount = tokenised[0][0]
endpointCount = tokenised[0][1]
requestDescriptionCount = tokenised[0][2]
cacheCount = tokenised[0][3]
cacheSize = tokenised[0][4]
print(videoCount)