From: John S.
Sent on: Monday, August 20, 2012, 2:58 PM
I've finally had a chance over the last few weekends to to do a little  
python coding, working with cherrypy and sending json back and forth from  
a browser to the server and back again, and have a few newbie topics that  
I wouldn't mind getting some input on from those with more experience.

1. A definitive discussion on "self" and when to use it.  And somewhat  
related to that discussion, I'd also like to get a more firm understanding  
of how/when to employ methods/functions (defs), classes, modules, and  
packages.

2. Pythonic alternatives to the switch/select case statement.  I found  
several discussions about it online and ultimately took the function  
mapping dictionary approach myself, but I think it would make for an  
interesting discussion going over some of the alternatives (if-elif,  
function dictionary, polymorphism, etc).

3. If anyone has experience with cherrypy, it'd be great to talk about  
getting that setup as well.  I found that getting the Hello World example  
working was trivial, but going beyond that ended up being somewhat of a  
hassle due to relatively limited documentation/exampl­es and apparently  
inconsistent version releases.  That said, I did eventually get it working  
the way I wanted for now, but I'm sure I'll run into more issues moving  
forward (like reconfiguring it to go from a standalone development  
environment to more of a production role and/or fronting it with apache or  
nginx).

-John



On Mon, 20 Aug[masked]:39:25 -0700, Dan Stromberg <[address removed]>  
wrote:

> Does anyone have any ideas for presentation topics?   Care to present on
> something?
>
> I'd personally like to see something about virtualenv or git.