Hello Hannes,

You need to use the readfile method for reading, and Outputfile class
for writing. If you cannot figure it out, post some code here and I
will correct it.

- Noel

On 8 October 2012 11:08, Hannes Loeffler <[email protected]> wrote:
> Hi,
>
> how would I do the following in Python?
>
> babel -imol2 a.mol2 b.mol2 -osdf ab.sdf
>
>
> Obviously I need to convert two mol2 files and combined them in a
> single sdf.
>
> Thanks,
> Hannes.
> --
> Scanned by iCritical.
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> OpenBabel-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
OpenBabel-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to