Hi Anand,
This works for ls, I also tried it to capture ping.
But for some unknown reasons it is not able to capture scp's output.
The variable f is empty.
KartheeK
Anand Balachandran Pillai <[EMAIL PROTECTED]> wrote: Using os.popen for this is
straight-forward.
Example...
[EMAIL PROTECTED]
Hi,
Is your problem in actually finding out the types or in
arriving at a type
mapping ? If the question is regarding mapping I think you can simply
pass in datetime objects as seconds since epoch, in this case it will
be mapped to a FLOAT or DOUBLE.
The other option is to convert
Hi,
I am using a mechanism to annotate a python script, and at the deployment
time I am reading the annotations and mapping the types defined in the
python script to xml schema types(This is done inside java).But the problem
I am facing is , since python is dynamically typed how should I map the
Using os.popen for this is straight-forward.
Example...
[EMAIL PROTECTED] programming]$ python
Python 2.4.4 (#1, Oct 23 2006, 13:58:00)
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> f = os.popen("ls")
>>>