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/examples 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.
--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
http://www.meetup.com/Orange-County-CA-Python-User-Group/This message was sent by John Sheehan ([address removed]) from Orange County, CA Python User Group (OCPUG).
To learn more about John Sheehan, visit his/her member profile: http://www.meetup.com/Orange-County-CA-Python-User-Group/members/11946997/
Set my mailing list to email me
As they are sent
http://www.meetup.com/Orange-County-CA-Python-User-Group/list_prefs/?pref=1
In one daily email
http://www.meetup.com/Orange-County-CA-Python-User-Group/list_prefs/?pref=2
Don't send me mailing list messages
http://www.meetup.com/Orange-County-CA-Python-User-Group/list_prefs/?pref=0
Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]