I have following two python scripts
-namelookupWrapper.py
-namelookup.py
The namelookupWrapper.py takes input of "memberId", "memberName" from
CLI and has following code snippet
idf = sys.argv[1]
namef = sys.argv[2]
real_script = "C:\\Splunk\\etc\\apps\\search\\bin\\namelookup.py"
r = csv.reader
On Jan 26, 11:30 am, Emile van Sebille wrote:
> On 1/26/2011 7:51 AM bansi said...
>
>
>
>
>
> > I have following two python scripts
> > -namelookupWrapper.py
> > -namelookup.py
>
> > The namelookupWrapper.py takes input of "memberId", &
On Jan 26, 1:31 pm, Chris Rebert wrote:
> On Wed, Jan 26, 2011 at 7:51 AM, bansi wrote:
> > I have following two python scripts
> > -namelookupWrapper.py
> > -namelookup.py
>
> > The namelookupWrapper.py takes input of "memberId", "memberName
On Jan 26, 4:36 pm, Ben Finney wrote:
> bansi writes:
> > Thanks Chris. Sorry for mis-communicating, the two python scripts are
> > dependant in a way that namelookupWrapper.py needs to pass csv record
> > object to another python script
>
> Why have you structured
On Jan 26, 6:25 pm, Ethan Furman wrote:
> bansi wrote:
>
> > First namelookupWrapper.py running under Python 2.6 accept arguments
> > from stdin and uses csv reader object to read it i.e.
> > r=csv.reader(sys.stdin)
> >
> > And then it has to pass csv re
On Jan 26, 8:31 pm, MRAB wrote:
> On 27/01/2011 00:57, bansi wrote:
>
>
>
>
>
> > On Jan 26, 6:25 pm, Ethan Furman wrote:
> >> bansi wrote:
>
> >> > First namelookupWrapper.py running under Python 2.6 accept arguments
> >> > from
On Jan 28, 9:46 am, bansi wrote:
> On Jan 26, 8:31 pm, MRAB wrote:
>
>
>
>
>
> > On 27/01/2011 00:57, bansi wrote:
>
> > > On Jan 26, 6:25 pm, Ethan Furman wrote:
> > >> bansi wrote:
>
> > >> > First namelookupWrapper.py ru
On Jan 28, 1:52 pm, Benjamin Kaplan wrote:
> On Fri, Jan 28, 2011 at 1:33 PM, bansi wrote:
> > On Jan 28, 9:46 am, bansi wrote:
> >> On Jan 26, 8:31 pm, MRAB wrote:
>
> >> > On 27/01/2011 00:57, bansi wrote:
>
> >> > > On Jan 26,
On Jan 28, 4:22 pm, Benjamin Kaplan wrote:
> On Fri, Jan 28, 2011 at 3:42 PM, bansi wrote:
> > On Jan 28, 1:52 pm, Benjamin Kaplan wrote:
> >> On Fri, Jan 28, 2011 at 1:33 PM, bansi wrote:
> >> > On Jan 28, 9:46 am, bansi wrote:
> >> >> On Jan 2