点击运行
#!/usr/bin/python str = "0000000this is string example....wow!!!0000000"; print str.strip( '0' )
运行结果 :
正在执行...