Skip to content

Instantly share code, notes, and snippets.

@yanhua365
Last active August 29, 2015 13:57
Show Gist options
  • Save yanhua365/9659238 to your computer and use it in GitHub Desktop.
Save yanhua365/9659238 to your computer and use it in GitHub Desktop.
删除svn文件的python代码
import os
for (p,d,f) in os.walk("."):
if p.find('.svn')>0:
os.popen('rd /s /q %s'%p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment