#python - Mon 19 Mar 2007 between 15:00 and 15:10

NY Lost Funds



sorl_how do i check if a value is in a tuple/list?
LoRezif foo in tup:
sorl_LoRez, can i do if x == y and if foo in tup?
LoRezwhy would you put two if's in there?
sorl_LoRez, well i need two conditions to be met
if x == y and (foo is in tup)
twbOK, looks like it was just a path error.
That is $PATH
yiHabbie: yikes, that is very tedious
LoRezand now you're adding 'is'
Habbieyi, i hope i'm just missing something :>
LoRezyou can't make up syntax and expect it to work
yiHabbie: well, basically I am getting a dictionary which contains a lot of values, I want to take the primary key out and say, "dump everything in this dict into the database in the corresponding columns where primary key = key"
Habbieyi, yes, i understand the problem; if i had ever used sqlite or mysql from python i would surely have built a wrapper already for just that, but it hasn't come to that yet :>
sorl_LoRez, no i was just showing in an understandable way what i need to do :)
yiHabbie: what do you suppose the wrapper should do? The problem is that you have to change a lot of sql code everytime you add or remove a column
Habbieyi, the wrapper could generate the query with the right number of placeholders and fill in the column names already, or something like that
CSWookieAjax can burn
actionCSWookie hates at Ajax.
CSWookiehates at Ajax.
TouqenWhat do you have against asyncronous javascript/
Aside from it's stupid name?
BrendPerhaps it's the XML he doesn't like
yiHabbie: ok
BrendAlso, possessive "its" has no apostrophe.
TouqenYea. I know.
twbIt's my one persistent vice.
frostschutzajax is crap, I want a persistent connection to the browser ;)
Brendfrostschutz, eh?
twbfrostschutz: I recommend NeWS :P
TouqenAsychronous is also spelled with an H. Sentences aren't terminated with forward slashes.
That wasn't exactly the best example of my syntactical or grammar prowess.
actionTFKyle passes frostschutz the X protocol or something :)
TFKylepasses frostschutz the X protocol or something :)
twbTouqen: I still love you
BrendTouqen: Sure. But some things grind my nerves more than others ;)
TouqenAsynchronous is also spelled with two Ns.
My fingers have failed me.
CSWookieTouqen, Brend: I'm hating at it because it sec
Touqensec?
CSWookieTouqen, Brend: I'm hating at it because it seduced a consultant into over-using it.
BrendI really hate it when people don't finish their

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 

IrcArchive

NY Lost Funds