1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env python # Copyright 2014 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import os.path print os.path.basename(os.getcwd())