Re: [Tutor] Code like a Pythonista

2007-07-27 Thread Dick Moores
At 05:13 AM 7/26/2007, Kent Johnson wrote:
For anyone who has wondered, how do I learn to write Python like an
expert? What do I read after I finish the tutorial? Check out David
Goodger's Code Like a Pythonista
http://python.net/~goodger/projects/pycon/2007/idiomatic/

Kent,

The handout is excellent! Thanks!

But the slideshow at 
http://python.net/~goodger/projects/pycon/2007/idiomatic/presentation.html, 
isn't.

Dick Moores


___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Code like a Pythonista

2007-07-27 Thread Terry Carroll
On Fri, 27 Jul 2007, Dick Moores wrote:

 The handout is excellent! Thanks!
 
 But the slideshow at 
 http://python.net/~goodger/projects/pycon/2007/idiomatic/presentation.html, 
 isn't.

You have to use the page-up and -down keys; or the spacebar (at least on
Windows under Firefox).  Took me a while to figure that out.

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Code like a Pythonista

2007-07-27 Thread Terry Carroll
On Fri, 27 Jul 2007, Kent Johnson wrote:

 For navigation I use left and right arrows or mouse-over the 
 bottom-right of the screen to get a nav panel. But when I get to the 
 screen Whitespace 1 there is nothing but white space under the title. 

Same here, but as I press the PgDn key (or the right arrow -- thanks for 
that) it fills in, a line at a time:

   - 4 spaces per indentation level.

   - No hard tabs.
   
   - Never mix tabs and spaces.

   - One blank line between functions.

   - Two blank lines between classes.

Then on to Whitespace 2 with similar behavior.

And now I note little navigation icons like  and  at the bottom 
right, too, which only show up when moused over.

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Code like a Pythonista

2007-07-27 Thread Kent Johnson
Terry Carroll wrote:
 On Fri, 27 Jul 2007, Dick Moores wrote:
 
 The handout is excellent! Thanks!

 But the slideshow at 
 http://python.net/~goodger/projects/pycon/2007/idiomatic/presentation.html,
  
 isn't.
 
 You have to use the page-up and -down keys; or the spacebar (at least on
 Windows under Firefox).  Took me a while to figure that out.

For navigation I use left and right arrows or mouse-over the 
bottom-right of the screen to get a nav panel. But when I get to the 
screen Whitespace 1 there is nothing but white space under the title. 
Appropriate in a way but not very enlightening :-)

I'm on Firefox Mac but I saw this also last night with FF on Linux.

I don't know if it is this particular presentation that has trouble or 
if it is with S5 itself.
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Code like a Pythonista

2007-07-27 Thread Kent Johnson
Terry Carroll wrote:
 On Fri, 27 Jul 2007, Kent Johnson wrote:
 
 For navigation I use left and right arrows or mouse-over the 
 bottom-right of the screen to get a nav panel. But when I get to the 
 screen Whitespace 1 there is nothing but white space under the title. 
 
 Same here, but as I press the PgDn key (or the right arrow -- thanks for 
 that) it fills in, a line at a time:

Oh, OK, it's a reveal. AFAICT it doesn't work if you use the mouse 
buttons, only if you navigate with the keyboard.

Kent
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Code like a Pythonista

2007-07-27 Thread Dick Moores
At 12:02 PM 7/27/2007, Terry Carroll wrote:
On Fri, 27 Jul 2007, Dick Moores wrote:

  The handout is excellent! Thanks!
 
  But the slideshow at
  
 http://python.net/~goodger/projects/pycon/2007/idiomatic/presentation.html,
  isn't.

You have to use the page-up and -down keys; or the spacebar (at least on
Windows under Firefox).  Took me a while to figure that out.

Ah. Thanks.

Dick


___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] Code like a Pythonista

2007-07-26 Thread Kent Johnson
For anyone who has wondered, how do I learn to write Python like an 
expert? What do I read after I finish the tutorial? Check out David 
Goodger's Code Like a Pythonista
http://python.net/~goodger/projects/pycon/2007/idiomatic/

Kent
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor