Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread John Bokma
Chris Angelico writes: > On Fri, Apr 1, 2011 at 8:57 AM, geremy condra wrote: >> I know it's tongue-in-cheek, but please, please, please don't do this. > > It would be more secure to base64 it and then rot13 the output. Rot-13 twice, to make it even more secure ;-) -- John Bokma

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread Chris Angelico
On Fri, Apr 1, 2011 at 8:57 AM, geremy condra wrote: > I know it's tongue-in-cheek, but please, please, please don't do this. It would be more secure to base64 it and then rot13 the output. Chris Angelico /me is feeling evil today === Begin Base-Rotten 64-13 === FKDtq291oTDtLzHtoJ9lMFOmMJA1pzHt

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread geremy condra
On Thu, Mar 31, 2011 at 2:43 PM, eryksun () wrote: > On Thursday, March 31, 2011 4:35:42 PM UTC-4, Chris Angelico wrote: >> >> I was trolling, I know the reasons behind it. Anyway, most people >> don't share code by email! (Actually, since you seem to be the author >> of that page - could you addr

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread eryksun ()
On Thursday, March 31, 2011 4:35:42 PM UTC-4, Chris Angelico wrote: > > I was trolling, I know the reasons behind it. Anyway, most people > don't share code by email! (Actually, since you seem to be the author > of that page - could you address that particular point? I think it's > probably as big

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread Dan Stromberg
On Thu, Mar 31, 2011 at 1:35 PM, Chris Angelico wrote: > On Fri, Apr 1, 2011 at 4:54 AM, Dan Stromberg wrote: > > > > http://stromberg.dnsalias.org/~strombrg/significant-whitespace.html > > > > I was trolling, I know the reasons behind it. Anyway, most people > don't share code by email! (Actual

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread Chris Angelico
On Fri, Apr 1, 2011 at 4:54 AM, Dan Stromberg wrote: > > http://stromberg.dnsalias.org/~strombrg/significant-whitespace.html > I was trolling, I know the reasons behind it. Anyway, most people don't share code by email! (Actually, since you seem to be the author of that page - could you address t

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread Dan Stromberg
On Thu, Mar 31, 2011 at 9:18 AM, Chris Angelico wrote: > On Fri, Apr 1, 2011 at 3:12 AM, eryksun () wrote: > > There appears to be a formatting error here. > > So remind me again why Python likes whitespace to be significant? > > > http://stromberg.dnsalias.org/~strombrg/significant-whitespace

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread Chris Angelico
On Fri, Apr 1, 2011 at 3:12 AM, eryksun () wrote: > There appears to be a formatting error here. So remind me again why Python likes whitespace to be significant? :) Chris Angelico PS. Yes, I know "remind me again" is redundant. You have to make mistakes when you troll, it's a moral imperativ

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread eryksun ()
On Wednesday, March 30, 2011 11:03:09 PM UTC-4, JosephS wrote: > print "How old are you?", age = raw_input() > print "How tall are you?", height = raw_input() > print "How much do you weigh?", weight = raw_input() > print "So, you're %r old, %r tall and %r heavy." % ( age, height, > weight) > Note:

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread Steven D'Aprano
On Wed, 30 Mar 2011 20:03:09 -0700, Joseph Sanoyo wrote: > print "How old are you?", age = raw_input() print "How tall are you?", > height = raw_input() print "How much do you weigh?", weight = > raw_input() print "So, you're %r old, %r tall and %r heavy." % ( age, > height, weight) > Note: > Noti