comefrom: <qiyuangong>071_Simplify_Path_1.py
code: def simplifyPath( path):
      result = []
      plist = path.split('/')
      for pos in plist:
          if pos:
              if pos == '..':
                  try:
                      result.pop()
                  except:
                      result = []
              elif pos != '.':
                  result.append(pos)
      return '/'+'/'.join(result)
masked: def sample_funcname ( var_0 ) :
      var_1 = [ ]
      var_4 = var_0.split ( '/' )
      for var_5 in var_4 :
          if var_5 :
              if var_5 == '..' :
                  try :
                      var_1.pop ( )
                  except :
                      var_1 = [ ]
              elif var_5 != '.' :
                  var_1.append ( var_5 )
      return '/' + '/'.join ( var_1 )
  