title: Pass complex object to a python script in command line
body: <p>I am beginner in Python programing, I want to pass a complex object (Python dictionary or class object) as an argument to a python script using command line (cmd). I see that <strong>sys.argv</strong> gets only string parameters.</p>
  
  <p>Here is an example of what I want:</p>
  
  <pre><code>class point(object):
       def __init__(self,x,y):
           self.__x=x
           self.__y=y
  p=point(4,8)
  import os
  os.system('""xxxxxx.exe" "-s" "../create_scenario.py" "'+ p +'""')
  </code></pre>
  
  <p>The xxxxxx.exe  is a program which accept to run a python script with the -s option. Thanks for all!!!</p>