taking File as a input in command line argument in python : <p>I need to take Files as inputs from command line arguments. I am providing the path of the file but it is taking the path as filename ? What i can add to make it right . This is my code : I am using openpyxl to get names:</p>

<pre><code>wk1 = openpyxl.load_workbook (sys.argv[1])
wk2 = openpyxl.load_workbook (sys.argv[2])
</code></pre>

<p>Please help out . </p>
