Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. import timeit
  2. import glob
  3.  
  4. globPath = u'Z:/Project/*/*/*/*'
  5.  
  6. def native_glob():
  7. glob.glob(globPath))
  8.  
  9. print timeit.timeit(native_glob, number=1)
  10.  
  11. >>> 64.4641505602
  12.  
  13. >>> 2.07747177124
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement