<div>Hello,</div>
<div>&nbsp;</div>
<div>I have a situation where I have 2 lists</div>
<div>&nbsp;</div>
<div>List1&nbsp;= [&#39;blue&#39;, &#39;red&#39;, green&#39;]</div>
<div>List2 = [&#39;red&#39;, &#39;yellow&#39;, &#39;orange&#39;]</div>
<div>&nbsp;</div>
<div>And I would like to pass the list name on the command line like so</div>
<div>&nbsp;</div>
<div>./test.py List1</div>
<div>&nbsp;</div>
<div>I know I can get the argument using sys.argv[1]</div>
<div>&nbsp;</div>
<div>But how can I then use the values in that list inside my program?</div>
<div>&nbsp;</div>
<div>If I do a VALUES = sys.argv[1], then I get List1 as the values.&nbsp; I want the actual list elements.</div>
<div>&nbsp;</div>
<div>Is this possible?</div>
<div>&nbsp;</div>
<div>Thank you</div>
<div>&nbsp;</div>
<div>Jason</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>