lummoxx

Untitled

Oct 15th, 2012
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. path_head = "/path/to/"
  2. target = "symlink"
  3.  
  4. outline = path_head+target
  5.  
  6. if os.path.islink(outline):
  7. print "Found symlink"
Advertisement
Add Comment
Please, Sign In to add comment