阅读背景:

python-文件,目录,file,xml,dir

来源:互联网 
获取文件后缀名 (2009-7-26)
    f = 'test.py';
    ext = f[f.rindex('.'):]    



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: