Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- import os
- home=os.path.expanduser("~")
- for root, dirs, files in os.walk(os.path.join(home,"Reminders")):
- for infile in [f for f in files]:
- if(infile.endswith("~")!=True):
- fh=open(os.path.abspath(os.path.join(root,infile)))
- for line in fh:
- print "- "+line,
- fh.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement