Hi,

FYI, There's a soap-specific python.org list: s...@python.org


On 07/04/13 20:57, robert.wink...@bioprocess.org wrote:
> Thanks to the OSA library, which works for SOAP requests with Python 3.x, I 
> can now use SOAP services at http://www.chemspider.com.
>
> The results structure is 
>       <GetAsyncSearchResultResult>
>         <int>int</int>
>         <int>int</int>
>       </GetAsyncSearchResultResult>
>
> The result is a list of accession numbers (which correspond to chemical 
> compounds) and I get them in the following format:
>
> [snip]
>
> How could I transform this to a simple python list?

I did not use OSA, but assuming print(ret) prints that, you should do
ret.int to get your list.
It should already be a regular Python list.

I hope that helps.

Best,
Burak

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to