2017-11-29 16:42:33 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
#
|
|
|
|
# Copyright 2017 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
2020-03-03 06:53:20 +00:00
|
|
|
from __future__ import print_function
|
|
|
|
|
2017-11-29 16:42:33 +00:00
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
dirpath, = sys.argv[1:]
|
|
|
|
|
2020-03-03 06:53:20 +00:00
|
|
|
print(os.path.isdir(dirpath))
|
2017-11-29 16:42:33 +00:00
|
|
|
|
|
|
|
|