len(sys.argv) , checks how many arguments that have been entered. len(sys.argv) != 2 just checks whether you entered at least two elements