I have a code that opens an .imap file in os.path.expanduser. Unfortunately, I am on OS X and have no idea where that directory is.
I am wondering how I can change this code to just open the .imap file in the directory where the code is saved. f = open(os.path.expanduser('~/.imap')) p.s. anyone know where os.path.expanduser opens up on OSX? -- http://mail.python.org/mailman/listinfo/python-list