1 #!/usr/bin/env python 2 # 3 # Copyright 2017 Google Inc. 4 # 5 # Use of this source code is governed by a BSD-style license that can be 6 # found in the LICENSE file. 7 8 import os 9 import sys 10 11 dirpath, = sys.argv[1:] 12 13 print os.path.isdir(dirpath) 14 15 16