Get full path of argument : <p>How can I code a Python script that accepts a file as an  argument and prints its full path?</p>

<p>E.g.</p>

<pre><code>~/.bin/python$ ls
./        ../        fileFinder.py        test.md
~/.bin/python$ py fileFinder.py test.md
/Users/theonlygusti/.bin/python/test.md
~/.bin/python$ py fileFinder.py /Users/theonlygusti/Documents/Online/theonlygusti.github.io/index.html
/Users/theonlygusti/Documents/Online/theonlygusti.github.io/index.html
</code></pre>

<p>So, it should find the absolute path of relative files, <code>test.md</code>, and also absolute path of files given via an absolute path <code>/Users/theonlygusti/Downloads/example.txt</code>.</p>

<p>How can I make a  script like above?</p>
