passing arguments to functions in python using argv
<p>Please find the below script </p>

<pre><code>from sys import argv
script, contact_name, contact_no = argv

def operation()
    some code goes here
</code></pre>

<p>Since i run this script from command line, How do i pass contact_name and contact_no to operation function?
I am using python 2.7</p>