[BioPython] first steps into python

Ewan Birney birney@ebi.ac.uk
Sat, 24 Feb 2001 13:44:46 +0000 (GMT)


Ok. To help Ensembl-->python (probably via CORBA) integration. I have
downloaded biopython and biopython-corba.

I am, therefore, belated learning python. Don't expect any road-to-damscus
type conversions (yet) however...

Some questions

(a) what is the difference between def __name__ and def name functions?

(b) how is inhertiance done in python

(c) is there any concept/files for interfaces either expliciting (java) or
"just documentation" like bioperl's "I" files

(d) could some one sketch out an easy biopython script like:

   read embl file.

	test whether there is a cacaca repeat in there

	if yes, dump a genbank file.



yours from the rough-and-ready world of Perl...

e.



-----------------------------------------------------------------
Ewan Birney. Mobile: +44 (0)7970 151230, Work: +44 1223 494420
<birney@ebi.ac.uk>. 
-----------------------------------------------------------------