gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] GnuMed/Archive // patient object


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] GnuMed/Archive // patient object
Date: Thu, 30 Jan 2003 20:15:29 +0100
User-agent: Mutt/1.3.22.1i

> A dictionary approach is excellent for purposes like handling distinct 
> options 
> (like address['home'], address['work']) but not really suitable for the 
> concrete example of a persons names where an ordered list would be more 
> practical.

> Coments and suggestions more than welcome.

non_last_names = {
    1: name1,
    2: name2,
    ...
}

for idx in range(len(non_last_names)):
    print non_last_name[idx]

?


Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]