[BioPython] BioSql: Checking if exists a database.
Sebastian Bassi
sbassi at asalup.org
Mon May 17 11:22:23 EDT 2004
Cristian S. Rocha wrote:
> Hi,
>
> I need to check if exists a database before to create it. I write the
> following but it doesn't work.
You could use Try and except:
Try:
HERE THE "NORMAL" CODE THAT COULD RISE AN EXCEPTION
Except:
HERE THE CODE THAT YOU WOULD USE IF THERE IS AN ERROR.
--
Best regards,
//=\ Sebastian Bassi - Diplomado en Ciencia y Tecnologia, UNQ //=\
\=// IT Manager Advanta Seeds - Balcarce Research Center - \=//
//=\ Pro secretario ASALUP - www.asalup.org - PGP key available //=\
\=// E-mail: sbassi at genesdigitales.com - ICQ UIN: 3356556 - \=//
http://Bioinformatica.info
More information about the BioPython
mailing list