How to pass a string as sdtin to python script from command line interface
<p>Currently iam using following command to do this</p>

<p>python scriptName.py 

<p>This command uses "&lt;" to stdin the file to script. 
and it works fine, I can use sys.stdin.read to get the file data.</p>

<p>But, what if i want to pass file data as a string,
I dont want to pass file path in operator "&lt;".</p>

<p>Is there is any way,  where I can pass String as stdin to a python script.</p>

<p>Thanks,
Kamal</p>
