Well you could use simple variations of the split python functions: 'rsplit', ... text = os.path.splitext(text.rsplit(os.sep, 1)[1])[0]
確定! 回上一頁