Skip to content

Instantly share code, notes, and snippets.

@flashingpumpkin
Created August 28, 2011 22:39
Show Gist options
  • Save flashingpumpkin/1177333 to your computer and use it in GitHub Desktop.
Save flashingpumpkin/1177333 to your computer and use it in GitHub Desktop.
~ $ python
>>> import os
>>> os.path.abspath("../foo")
'/home/foo'
~ $ erl
1> filename:absname("../foo").
"/home/alen/../foo"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment