[Tutor] PyQuery

Okta Satria pyflux at yahoo.com
Wed Mar 9 17:52:16 CET 2011


Dear All,

I'm new in python programming. Now I'm learning about dictionary and PyQuery. Could someone help me to read this table please:

http://id.wikipedia.org/wiki/Tabel_perbandingan_ukuran_jarum_hipodermik

end the result is in nested dictionary like this:

'Jarum' : 'Guage', 'Perkiraan Diameter Luar' : ['mm', 'inchi', 'toleransi'], 'Perkiraan Diameter Dalam' : ['mm', 'inchi', 'toleransi']

then:

Jarum -> Guage -> 10, 11, 12 and so on
Perkiraan Diameter Luar -> mm -> 3.404, 3.048, 2.769 and so on
Perkiraan Diameter Luar -> inchi -> 0.1340, 0.1200, 0.1090 and so on
.
.
.

I found this idea to learn dictionary. I'm learning from code :(

Thanks Before . . .




Best Regards,

{ 'p y f l u x' : [ '1 3 0 E 2 C 9' ] }



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110310/d9730536/attachment.html>


More information about the Tutor mailing list