Control structures


if not os.path.isfile(myfile):
	print("File does not exist")

# Switch cases using a dict
options = {"twist": "Y151,I6,Y9,Y151",
			"xt_hs": "Y150,I8,Y10,Y150"}
mask = options[arg]