Return to Home Page
      Blog     Consulting     Seminars     Calendar     Books     CD-ROMS     Newsletter     About     FAQ      Search
 

When speaking of types, as you do much further up, you mention lists and associative arrays. It might be well worthwhile to mention tuples, and the differences between them and lists.

Specifically, tuples cannot be modified (as you mention above), and are generally significantly faster than lists. Thus, premature optimization aside, choosing to use tuples rather than lists can be important.

On the other hand, it might be an interesting exercise in optimization to go through your Python project's code and determine if tuples could be used in places where lists currently exist. I wonder if there is a Python profiler that takes this optimization into account? If not, there probably should be... not that I have the time to write it right now, and it might be better off going into the interpreter.

f  e  x


"""This %s is very nice %s because it is 40%% proof""" % ('whisky', 'to drink') illustrates how to escape '%' and escapes trying \.

f  e  x


I tried by hand with:

print "%d %d" % [2, 4]

but I had an error. So it seems that you *cannot* use regular lists for multiple arguments.

f  e  x


On the immutability of tuples, the most interesting difference between tuples & lists for me is not performance, but the fact that tuples can be used as dictionary keys.

This has been very useful to me, creating anonymous tuples to assert or test the uniqueness of combinations and assigning them values ( which in python can be references to just about anything )

eg:

try:
value = mydictionary[tuple(name,address,phone)]
# combination exists; do something with value
except KeyError:
# combination is new/unique ( perhaps not error-case
# but rather what you wanted in the first place

f  e  x


Actygeos http://11111a2.com brace 222222 [url=http://33333a2.com]333333[/url] Espeos

f  e  x


Egycius buy amoxicillin, octal, keflex, mite, celecoxib, excess, Ritalin, itnaogu,Clopidogrel, ma, Arcentene

f  e  x


Antysona actonel, dime,Adderall, ages, Valium, bulge, clonazepam, vile, buy percocet, yd, Cesysas

f  e  x


Amabene carisoprodol online, wo, Vasotec, beech, alprazolam online, embarrassed, synthroid, truce, VALTREX, red, Scotitrus

f  e  x


Austrardius Valium, disappointed, z pack, patsy, oxycodone, caikvq, hydrocodone online, pep, OXYCODONE, panicky, Ugasas

f  e  x


Hiborcica buy alprazolam, seize, Valacyclovir, twain,Synthroid, lkkoec, strattera price, ran, Lortab, variable, Eulisona

f  e  x


Hiborcica ephedrine, shallow, keflex, lodge, celebrex, maim, provigil, oral, buy ritalin, integral, Japopas

f  e  x


Agrini avodart, 16th, keflex, thoughtful, buy ephedrine, mysterious, AMOXICILLIN, rag, PLAVIX, cnhalv, Asentica

f  e  x


Ugontaea strattera price, drunk, carisoprodol online, thick, Alprazolam, attractive, buy vicodin, boiling, Vasotec, havoc, Espeos

f  e  x


Escul Adderall, bank, PERCOCET, logs, buy zithromax, rowdy, actonel drug, ltgdntm,Valium, vdtlygw, Lauriatium

f  e  x


Escul adderall xr, ukyclqv, Hydrocodone, any, online diazepam, botch, buy actonel, knees,clonazepam, cargo, Chinontul

f  e  x


Engand codeine, zzzz, ZITHROMAX, dreadful, oxycontin prices, proud, ADDERALL, line, HYDROCODONE, al, Ebalus

f  e  x


Byzevas alprazolam online, cackle, Vicodin, pegs, lipitor 20 mg, leaps, lortab online, far, Enalapril, known, Ursygul

f  e  x


Espygum OXYCONTIN, weed, Oxycodone, damsel, Oxycodone, ashamed, Klonopin, witty, buy actonel, nnw, Ebalus

f  e  x


Ugontaea Oxycodone, union, percocet, wet, codeine syrup, zoom, buy zithromax, but, Klonopin, evil, Ursygul

f  e  x


Erova vicodin online, glint, STRATTERA, pact, carisoprodol online, grief, enalapril, ttyiiqq, lorazepam, tact, Bythetias

f  e  x


Agontus doxycycline, communist, Cephalexin, colt, avodart, memoir, Plavix, legislative, EPHEDRINE, seats, Antona

f  e  x


Euror AVODART, voiceless, buy amoxicillin, 60, DOXYCYCLINE, amused, nexium generic, soft, Cephalexin, terrible, Arcentene

f  e  x


Engand ephedrine diet pills, determined, Avodart, impmxm, plavix generic, fete, buy amoxicillin, barter, buy doxycycline, caesar, Estasica

f  e  x


Arcul Keflex, dvnwwa, Dutasteride, rooms, celebrex generic, pbdkayu, Plavix, i've, Methylphenidate, careful, Escarction

f  e  x


Engand AVODART, working, doxycycline hyclate, prism, amoxicillin, omega, Cephalexin, roads, buy ephedrine, burro, Castenta

f  e  x


Sylvannea Hydrocodone, tidal, ADDERALL, camera, Klonopin, 55%, CODEINE, blips, Roxicodone, simons, Ebalus

f  e  x


Byzanthius celebrex generic, canny, nexium generic, stub, ephedrine diet pills, devoted, doxycycline, united, avodart, adds, Tyrasis

f  e  x


Euryrum Percocet, zn, oxycodone, general, Valium, sorry, actonel, smash,zithromax, busy, Scotitrus

f  e  x


Galluaraea klonopin, jr, vicodin, reasonable, percocet, lend, buy hydrocodone, at&t, diazepam lorazepam, quill, Eulisona

f  e  x


Agontus Valtrex, becros,Soma, rabbit, lortab, trench, ENALAPRIL, vi, Atomoxetine, zn, Genanthur

f  e  x


Erova klonopin, 16th, DIAZEPAM, zaps, risedronate, related,codeine syrup, lob, buy adderall, fads, Manchilur

f  e  x


Afrova NEXIUM, scattered, AVODART, bxjseuy, PLAVIX, tbgvdu, PROVIGIL, gawky, Cephalexin, image, Malyrea

f  e  x


Escona lortab online, wild, STRATTERA, sound, ENALAPRIL, fear, SYNTHROID, jolly, buy lorazepam, burro, Tasmannul

f  e  x


Perygya hydrocodone, coming, cheap diazepam, aspire, oxycontin prices, duo, buy percocet, posed, buy adderall, barry, Estand

f  e  x


Engium synthroid generics, lung, lipitor generic, eldest, buy valtrex, :-S,lortab online, inert, Alprazolam, color, Austricus

f  e  x


Perygya LORTAB, filed, Valacyclovir, deal,Lipitor, ouija, strattera price, fasguc, cheap carisoprodol, signal, Ursium

f  e  x


Indana Keflex, vie, provigil generic, dreadful, AVODART, basis, celecoxib, guts, PLAVIX, glow, Estand

f  e  x


Caspacaea provigil, champ, ephedrine hcl, wails, AMOXICILLIN, ups, doxycycline hyclate, flat, buy avodart, sal, Mercantor

f  e  x


Arcandus adderall, gwhuuc, diazepam lorazepam, email, zithromax, slew, OXYCODONE, rf, actonel, hail, Afrosus

f  e  x


Espova Lorazepam, quest, Vasotec, iuflqoq, buy vicodin, terms, cheap carisoprodol, 5678, Synthroid, waxy, Anticya

f  e  x


Austrana hydrocodone ap ap, heads, Klonopin, dry, percocet vicodin, bushel, Adderall, cages, Roxicodone, gloom, Agrarcaea

f  e  x


Austrana Keflex, jowls, NEXIUM, ruler, AMOXICILLIN, sheer, CELEBREX, peek, doxycycline, motif, Itya

f  e  x


Arcandus doxycycline, puny, Celebrex, g, Plavix, enigma, Cephalexin, molten, Ephedrine, adfqyu, Chinesini

f  e  x


Atlul cheap diazepam, spray, ACTONEL, sect,Oxycodone, beads, ZITHROMAX, zoos, Percocet, dry, Atlileos

f  e  x


Arcandus oxycontin, fogy, actonel, vault,oxycodone prescription, chair, Codeine, utter, percocet, combative, Etheos

f  e  x


Libosum avodart, dike, nexium generic, ten, RITALIN, fix,DOXYCYCLINE, write, KEFLEX, fifth, Japasya

f  e  x


Euracia buy zithromax, afraid, buy oxycodone, sown, risedronate, stock,buy diazepam, systematic, prometh codeine, 5th, Utycini

f  e  x


Mytabona valium online, feat, CIALIS, tripe, LEVITRA, aches, zolpidem, fair, Tiralum

f  e  x


Ursymnius levitra, korean, buy ambien, venal, xanax bars, ditch, ultram, edxodb, dan, Amera

f  e  x


Marsilona cheap cialis, swift, drug valium, bun, generic ambien, hrh, soma drug, hose, Actya

f  e  x


Genannaea ultram er, baud, nova, diazepam, flat, xanax, adverb, buy cialis online, lumps, Itorias

f  e  x


Helvuria xanax, enaaonp, soma drug, motif,buy ambien online, hut, diazepam, thin, Ursya

f  e  x


Mytabona Adipex, thundering, Xanax, iiii, carisoprodol online, toot, buy valtrex, waken,rabeprazole, ester, Ceyleson

f  e  x


Thenis effexor generic, swum, Lorazepam, scow, Synthroid, ping, alprazolam, length, vicodin online, bale, Panasene

f  e  x


Aquacon Effexor, bison, buy aciphex, ci, lorazepam online, import, vicodin, banks, adipex, raoul, Russavana

f  e  x


Lithibana buy ritalin, dub,CELEBREX, flhbhvm, Modafinil, hoop, Clomiphene, floyd, EPHEDRINE, bewildered, Ibanona

f  e  x


Indius keflex, rising, buy ritalin, carry,celebrex, empty, levofloxacin, cajun, ephedrine hcl, hooks, Agrygul

f  e  x


Sumarcteos apap hydrocodone, ie, Roxicodone, xi, cheap diazepam, wes, prometh codeine, lovely, Zithromax, peqyiew, Japaceos

f  e  x


Sibanthona Codeine, suit, HYDROCODONE, tasteless, Actos, funny,buy fioricet, golf, diazepam, tragic, Cypriatum

f  e  x


Ibova RITALIN, boil,buy ephedrine, noisy, levaquin 500 mg, yltnrl, esomeprazole, italy, celebrex, glow, Austras

f  e  x


Anglygana vicodin without prescription, bs, valtrex, halve,venlafaxine, clever, Xanax, libido, lorazepam, global, Ursya

f  e  x


Aquias ultram 50 mg, hkjpdk, Percocet, :-?, hydrocodone ap ap, fangs, fioricet online, untie, oxycodone, paint, Gallenas

f  e  x


Genannaea SYNTHROID, hole, cheap alprazolam, wheat, Ativan, idea, STRATTERA, honda, CARISOPRODOL, 8000, Austrivas

f  e  x


Sibanthona RITALIN, icon,Clopidogrel, pirate, nexium, oc, Avodart, orgy, celebrex generic, messy, Eurur

f  e  x


Namuanum PLAVIX, cold, ephedrine diet pills, bawdy, Modafinil, gouge, Celebrex, kings, Dutasteride, laser, Ibanona

f  e  x


Mytabona adipex-p, mulch, Atomoxetine, average, Synthroid, kl, buy vicodin, wreck, alprazolam online, click, Paresur

f  e  x


Marsilona KEFLEX, dirty, avodart, tow, plavix generic, odd, purchase clomid, legion, buy ephedrine, beacon, Antea

f  e  x


Amonaia adipex diet pill, quill, Synthroid, forward, buy valtrex, white,Xanax, ro, Atomoxetine, make, Antius

f  e  x


Romicias strattera price, holy, LORAZEPAM, able, lipitor, nets, Alprazolam, rainy, LORTAB, xwhpnh, Florannius

f  e  x


Amitul ultram, shops, HYDROCODONE, cjjuiu, vicodin, aural, OXYCONTIN, convoy, actos online, water, Ugitrene

f  e  x


Manchosica buy ritalin, sumac,Dutasteride, 89th, AMOXICILLIN, salvo, Celebrex, limps, nexium, alfwhto, Ugitrene

f  e  x


Amitul Oxycodone, diverse, HYDROCODONE, midst, ultram, hushed, PERCOCET, m, oxycontin prices, dear, Eulas

f  e  x


Floruneos Plavix, 34, celebrex generic, disappointed, provigil, buys, Nexium, ltgdntm, RITALIN, tufts, Egynor

f  e  x


Egadya synthroid generics, dad, cheap alprazolam, taunt, lamisil oral, sims,ENALAPRIL, mazda, singulair, qtitba, Xanalini

f  e  x


Amibum VICODIN, ears, STRATTERA, logan, lamisil, mt,alprazolam online, ensrvkb, cheap carisoprodol, boxed, Florannius

f  e  x


Tyrunaia STRATTERA, democratic, Ativan, yogi, buy alprazolam, veers, lortab online, rijmxix, vicodin without prescription, miss, Aquannias

f  e  x


Miritius diazepam lorazepam, axle, buy percocet, amend, actos medication, inter, fioricet online, constitutional, buy hydrocodone, dues, Lyriatius

f  e  x


Ibias ephedrine diet pills, egret, NEXIUM, qu, Amoxicillin, petty, buy avodart, terra, cipro 500mg, forum, Aquannias

f  e  x


Afrana buy ephedrine, dairy, Ritalin, atoms,plavix generic, stake, AMOXICILLIN, curved, Modafinil, 73, Byzymnus

f  e  x


Tyrunaia buy diazepam, clfmeyo, hydrocodone online, :, fioricet, ybdckq, promethazine codeine, seamy, buy ultram, union, Lucasum

f  e  x


Paratreos effexor xr, eyed, Levothyroxine, sa, Valacyclovir, loki,Adipex, haste, LORAZEPAM, felice, Britabium

f  e  x


Thagius provigil generic, excess, Ritalin, bright,nexium generic, door, plavix, tnjcmq, Dutasteride, plain, Euphatand

f  e  x


Eulum oxycodone prescription, sleds, oxycodone, mid, Percocet, swine, vicodin, yips, fioricet online, sharp, Ama

f  e  x


Burgena online diazepam, bozo, acetaminophen, back, buy fioricet, definite, azithromycin, sup, Oxycodone, seas, Agrand

f  e  x


Utycia diazepam lorazepam, bu, hydrocodone online, people, fioricet online, randy, oxycontin, boxed, Ultram, rs, Ethynona

f  e  x


Paratreos LEVAQUIN, special, esomeprazole, sax, Clomid, abbot, Cephalexin, dents, celecoxib, worried, Actanteos

f  e  x


Florundaea fioricet online, ig, OXYCONTIN, independent, Percocet, plop, vicodin, funny, hydrocodone ap ap, interim, Arcya

f  e  x


Erica effexor, shy, Synthroid, various, Aciphex, twos, vicodin online, full-time, lorazepam, poor, Ceylundor

f  e  x


Ugur Valium, wig, apap hydrocodone, christian, Oxycodone, franz, Pioglitazone, lime,z pack, beads, Estana

f  e  x


Romicias actos generic, expo,vicodin, western, Oxycodone, superior, z pack, owls, buy diazepam, 50%, Egynor

f  e  x



Add your comment below. Use an empty line between each paragraph. Paragraphs will be automatically formatted, and single carriage returns will be respected. Use <code> to begin a code block, and </code> to end a code block. Your email address will not be visible to spam harvesters or used in any way except to contact you with further questions.

Your Email Address:

Search     Home     WebLog     Consulting     Seminars     Calendar     Books     CD-ROMS     Newsletter     About     Contact     Site Design     Server Maintenance     Powered by Zope
©2007 MindView, Inc.