#python - Sat 19 May 2007 between 00:03 and 00:34



JohnQPerfectly acceptable gramar.
ivazquezAs degenerate as it is, it does work.
TFKyleit's not very legible though, for sane grammar you're supposed to opt out of ambiguous grammar
JohnQSays who?
TFKylesays my teachers when I was in school, and most likely everyone else
apart from politicians maybe :)
ivazquezIt takes time to arrange it, but in the end there's only one way it can be read properly.
TFKyletrue
JohnQNot true... if you dont pause in the right places while speaking, you can switch the prhrases which belong to bob and john.
TFKyleif you find yourself writing sentences like that you should try reforming it though, imo
JohnQAnyway. thats my contribution for the day.
ivazquezIf you find yourself writing sentences like that you should find a better hobby.
actionTFKyle thinks there should be a comma after the '"had"' there, could be wrong though
TFKylethinks there should be a comma after the '"had"' there, could be wrong though
KirkMcDonaldI know a correct sentence with five 'and's in a row.
actionLeeds was not aware that had had had its approval as a Python keyword granted
Leedswas not aware that had had had its approval as a Python keyword granted
KirkMcDonaldhttp://www.everything2.com/index.pl?node=and+and+and+and+and
TFKyleKirkMcDonald: do you know anyone called and and though? :)
*And And
KirkMcDonaldTFKyle: Check the link. :-)
peakerWhat is "<cycle 2>" function name in cProfile output?
rdeshhi
what is the preferred block cipher encryption nowadays?
i am trying to implement encryption with password storage in a small app that i have
ootmhow do I join two dictionaries into one?
KirkMcDonaldootm: .update()
TFKylerdesh: personally I like blowfish
ootmKirkMcDonald, thanks
:)
idiocrashLet's say I want to create a series of command line python tools and I want to be able to pipe the text output from one command to another. What's a good way to send huge blocks of text into a python program?
peakeridiocrash: cat huge_text | python blah.py ?
TFKylea pipe is probably one of the fastest ways I imagine
idiocrashwell, yeah. but how would I get that output into a variable in the blah.py?
TFKylesys.stdin.read()?
idiocrashthat's it?
ok
durr...
thanks
TFKylewell, to get the data that was piped in
peakerif its line-based: for line in sys.stdin: ...
idiocrashright, that's what I want

Page: 2 9 16 23 30 37 44 51 58 65 72 

IrcArchive