2017-01-29 python file io Python w+ for xx in yy: from os.path import basename→basename 7. Input and Output — Python 2.7.13 documentation www.guru99.com stackoverflow.com