From jrguliz at yahoo.com Mon Aug 15 20:34:08 2011 From: jrguliz at yahoo.com (Joe Gulizia) Date: Mon, 15 Aug 2011 11:34:08 -0700 (PDT) Subject: [omaha] Python Meeting Tonight? In-Reply-To: Message-ID: <1313433248.25263.YahooMailClassic@web112811.mail.gq1.yahoo.com> Python Meeting tonight? Joe From wereapwhatwesow at gmail.com Mon Aug 15 20:36:10 2011 From: wereapwhatwesow at gmail.com (Steve Young) Date: Mon, 15 Aug 2011 13:36:10 -0500 Subject: [omaha] Python Meeting Tonight? In-Reply-To: <1313433248.25263.YahooMailClassic@web112811.mail.gq1.yahoo.com> References: <1313433248.25263.YahooMailClassic@web112811.mail.gq1.yahoo.com> Message-ID: I am planning to be there. Steve Young On Aug 15, 2011 1:34 PM, "Joe Gulizia" wrote: > Python Meeting tonight? > > Joe > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > http://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org From choman at gmail.com Mon Aug 15 22:31:38 2011 From: choman at gmail.com (Chad Homan) Date: Mon, 15 Aug 2011 15:31:38 -0500 Subject: [omaha] Python Meeting Tonight? In-Reply-To: References: <1313433248.25263.YahooMailClassic@web112811.mail.gq1.yahoo.com> Message-ID: Hey all, I am still alive. I have actually been attempting to return to the monthly python meetings. unfortunately I have ran into transportation issues. I doubt with the short notice I will make it tonight, but perhaps next month. Hope to see everyone soon. Now for my python tidbit: http://letslearnpython.com/ -- *Chad*, CISSP, Star 500 On Mon, Aug 15, 2011 at 1:36 PM, Steve Young wrote: > I am planning to be there. > > Steve Young > On Aug 15, 2011 1:34 PM, "Joe Gulizia" wrote: > > Python Meeting tonight? > > > > Joe > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > http://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > http://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From jeffh at dundeemt.com Mon Aug 15 22:33:13 2011 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Mon, 15 Aug 2011 15:33:13 -0500 Subject: [omaha] Python Meeting Tonight? In-Reply-To: References: <1313433248.25263.YahooMailClassic@web112811.mail.gq1.yahoo.com> Message-ID: Sorry, I'll be missing tonight's meeting. Football Practice from from 6-8pm. -Jeff Omaha Chiefs, 9s Coach On Mon, Aug 15, 2011 at 1:36 PM, Steve Young wrote: > I am planning to be there. > > Steve Young > On Aug 15, 2011 1:34 PM, "Joe Gulizia" wrote: > > Python Meeting tonight? > > > > Joe > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > http://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > http://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > -- Jeff Hinrichs Dundee Media & Technology, Inc jeffh at dundeemt.com 402.218.1473 web: www.dundeemt.com blog: inre.dundeemt.com From brian.curtin at gmail.com Tue Aug 16 00:38:35 2011 From: brian.curtin at gmail.com (Brian Curtin) Date: Mon, 15 Aug 2011 17:38:35 -0500 Subject: [omaha] Looking for PyCon 2012 Speakers Message-ID: With PyCon 2012 efforts off to a great start, we?re looking for you, the people of the Python community, so show us what you?ve got. Our call for proposals (http://us.pycon.org/2012/cfp/) just went out and we want to include you in our 2012 conference schedule, taking place March 7-15, 2012 in Santa Clara, CA. The call covers tutorial, talk, and poster applications, and we?re expecting to blow the previous record of 250 applications out of the water. Put together your best 3-hour class proposals for one of the tutorial sessions on March 7 and 8. Submit your best talks on any range of topics for the conference days, March 9 through 11. The poster session will be in full swing on Sunday with a series of 4'x4' posters and an open floor for attendees to interact with presenters. Get your applications in early - we want to help you put together the best proposal possible, so we?re going to work with submitters as applications come in. See more details and submit your talks here: http://us.pycon.org/2012/speaker/ We?re also looking for feedback from your past PyCon experiences along with what you?re looking for in the future, by way of our 2012 Guidance Survey at https://www.surveymonkey.com/s/pycon2012_launch_survey. The attendees make the conference, so every response we get from you makes a difference in putting together the best conference we can. If you or your company is interested in sponsoring PyCon, we?d love to hear from you. Join our growing list with Diamond sponsors Google and Dropbox, and Platinum sponsors Microsoft, Nasuni, SurveyMonkey, and Gondor by Eldarion. CCP Games, Linode, Walt Disney Animation Studios, Canonical, DotCloud, Loggly, Revolution Systems, ZeOmega, bitly, ActiveState, JetBrains, Snoball, Caktus Consulting Group, and Disqus make up our Gold sponsors. The Silver sponsors so far are 10gen, GitHub, Olark, Wingware, net-ng, Imaginary Landscape, BigDoor, Fwix, AG Interactive, Bitbucket, The Open Bastion, Accense Technology, Cox Media Group, and myYearbook. See our sponsorship page at http://us.pycon.org/2012/sponsors/ for more details. The PyCon Organizers - http://us.pycon.org/2012 Jesse Noller - Chairman - jnoller at python.org Brian Curtin - Publicity Coordinator - brian at python.org From steve at alrlighting.com Tue Aug 16 00:16:14 2011 From: steve at alrlighting.com (Steve Young) Date: Mon, 15 Aug 2011 17:16:14 -0500 Subject: [omaha] Python Meeting Tonight? In-Reply-To: References: <1313433248.25263.YahooMailClassic@web112811.mail.gq1.yahoo.com> Message-ID: Go Chiefs!! Hopefully we will see you and Chad next month. On Mon, Aug 15, 2011 at 3:33 PM, Jeff Hinrichs - DM&T wrote: > Sorry, I'll be missing tonight's meeting. Football Practice from from > 6-8pm. > > -Jeff > Omaha Chiefs, 9s Coach > > On Mon, Aug 15, 2011 at 1:36 PM, Steve Young >wrote: > > > I am planning to be there. > > > > Steve Young > > On Aug 15, 2011 1:34 PM, "Joe Gulizia" wrote: > > > Python Meeting tonight? > > > > > > Joe > > > _______________________________________________ > > > Omaha Python Users Group mailing list > > > Omaha at python.org > > > http://mail.python.org/mailman/listinfo/omaha > > > http://www.OmahaPython.org > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > http://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > > > > -- > Jeff Hinrichs > Dundee Media & Technology, Inc > jeffh at dundeemt.com > 402.218.1473 > web: www.dundeemt.com > blog: inre.dundeemt.com > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > http://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > -- Steve Young Architectural Lighting Resources 13829 Industrial Rd Omaha, NE 68137 402-651-5216 Cell 402-397-2867 Office www.ALRLighting.com From wereapwhatwesow at gmail.com Fri Aug 19 03:43:00 2011 From: wereapwhatwesow at gmail.com (Steve Young) Date: Thu, 18 Aug 2011 20:43:00 -0500 Subject: [omaha] Fwd: [odynug] Perl Best Practices but for Python In-Reply-To: References: Message-ID: Saw this on another group's email list. Anyone have a suggestion? Steve Young ---------- Forwarded message ---------- From: "Todd Hamilton" Date: Aug 18, 2011 8:05 PM Subject: [odynug] Perl Best Practices but for Python To: "odynug" Guys, Several years ago I found a book titeled Perl Best Practices Standards and Styles for Developing Maintainable Code By Damian Conway. I really like to book. I would like to find a book similar but targeted for Python. Do you have any suggestions? -- Todd Hamilton (402) 881-0438 -- You received this message because you are subscribed to the Google Groups "Omaha Dynamic Language User Group" group. To post to this group, send email to odynug at googlegroups.com. To unsubscribe from this group, send email to odynug+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/odynug?hl=en. From shawnhermans at gmail.com Fri Aug 19 14:14:10 2011 From: shawnhermans at gmail.com (Shawn Hermans) Date: Fri, 19 Aug 2011 07:14:10 -0500 Subject: [omaha] Fwd: [odynug] Perl Best Practices but for Python In-Reply-To: References: Message-ID: The good news is that Python is pretty maintainable out of the box. However, I suggest starting with PEP 8. It is the style guide for Python code (http://www.python.org/dev/peps/pep-0008/). Also, Blip.tv has videos from previous PyCons online. I particularly like the one on documentation driven development. http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2011-documentation-driven-development-4896872 -Shawn On Thu, Aug 18, 2011 at 8:43 PM, Steve Young wrote: > Saw this on another group's email list. Anyone have a suggestion? > > Steve Young > ---------- Forwarded message ---------- > From: "Todd Hamilton" > Date: Aug 18, 2011 8:05 PM > Subject: [odynug] Perl Best Practices but for Python > To: "odynug" > > Guys, Several years ago I found a book titeled Perl Best Practices > Standards and Styles for Developing Maintainable Code By Damian > Conway. I really like to book. I would like to find a book similar > but targeted for Python. Do you have any suggestions? > > -- > Todd Hamilton > (402) 881-0438 > > -- > You received this message because you are subscribed to the Google Groups > "Omaha Dynamic Language User Group" group. > To post to this group, send email to odynug at googlegroups.com. > To unsubscribe from this group, send email to > odynug+unsubscribe at googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/odynug?hl=en. > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > http://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From jeffh at delasco.com Fri Aug 19 16:30:03 2011 From: jeffh at delasco.com (Jeff Hinrichs) Date: Fri, 19 Aug 2011 09:30:03 -0500 Subject: [omaha] Fwd: [odynug] Perl Best Practices but for Python In-Reply-To: References: Message-ID: Agreed pep8 is where to start, then goog for "idiomatic python" http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html That has been presented at a previous omahapython meeting. Before anything else, fire up a python interpreter and then >>> import this read it to get in the mindset of why, then start going through the idiomatic tutorial. Best, -Jeff On Fri, Aug 19, 2011 at 7:14 AM, Shawn Hermans wrote: > The good news is that Python is pretty maintainable out of the box. > However, I suggest starting with PEP 8. It is the style guide for Python > code (http://www.python.org/dev/peps/pep-0008/). Also, Blip.tv has videos > from previous PyCons online. I particularly like the one on documentation > driven development. > > > http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2011-documentation-driven-development-4896872 > > -Shawn > > On Thu, Aug 18, 2011 at 8:43 PM, Steve Young >wrote: > > > Saw this on another group's email list. Anyone have a suggestion? > > > > Steve Young > > ---------- Forwarded message ---------- > > From: "Todd Hamilton" > > Date: Aug 18, 2011 8:05 PM > > Subject: [odynug] Perl Best Practices but for Python > > To: "odynug" > > > > Guys, Several years ago I found a book titeled Perl Best Practices > > Standards and Styles for Developing Maintainable Code By Damian > > Conway. I really like to book. I would like to find a book similar > > but targeted for Python. Do you have any suggestions? > > > > -- > > Todd Hamilton > > (402) 881-0438 > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Omaha Dynamic Language User Group" group. > > To post to this group, send email to odynug at googlegroups.com. > > To unsubscribe from this group, send email to > > odynug+unsubscribe at googlegroups.com. > > For more options, visit this group at > > http://groups.google.com/group/odynug?hl=en. > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > http://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > http://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From newz at bearfruit.org Fri Aug 19 19:21:52 2011 From: newz at bearfruit.org (Matthew Nuzum) Date: Fri, 19 Aug 2011 12:21:52 -0500 Subject: [omaha] Fwd: [odynug] Perl Best Practices but for Python In-Reply-To: References: Message-ID: On Fri, Aug 19, 2011 at 9:30 AM, Jeff Hinrichs wrote: > Agreed pep8 is where to start, then goog for "idiomatic python" > http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html > That has been presented at a previous omahapython meeting. Before > anything else, fire up a python interpreter and then > >>> import this > > read it to get in the mindset of why, then start going through the > idiomatic > tutorial. > > Boo. -1 for the RTFM replies. Nothing personal (reading PEP-8 is key) but there's so much more advice that can be given. I don't know a book about this but I do work with some awesome Python developers and I can tell you some of the practices we use for maintainable code: Automated tests for everything (with exception, see #1 below). Often TDD but as long as we have tests it doesn't matter too much what order you did them in. Break your code into reusable modules as often as you can. Follow the spirit of PEP-8 rather than the letter of the law. Merge proposals. No code goes to production (or even merged to trunk) without a second set of eyes on it. We use the BZR versioning tool which is pretty similar to Git for this discussion. You have a trunk branch. When you want to make a change, you branch from trunk, write your change then propose your change for merging. After it's been reviewed and approved (which may mean code changes and re-reviewing) it's merged and goes to production at the appointed time. Detailed commit logs. This makes looking at old code so much more pleasant. I recently had to revisit some code a year and a half old whose original author left the company. Being able to rewind history and see the commits made it quite easy to get up to speed. Don't import * (Michael Foord, a notable python dev who is on our team has even created modules that redefine True and False with inverted logic to penalize people who do this with his code) We do run pep8, a command line tool, on our code frequently. Some use pylint as well. I think there's another command line tool that is starting to replace pylint but I don't know what it is off hand. I'm sure there are other tips people on this list can give more tips. [1] When don't we write automated tests? When the tests serves no purpose other than to exercise a framework that has its own tests. For example, a simple model in Django would not need tests. If it has a custom save functionality or model methods then it would. -- Matthew Nuzum newz2000 on freenode, skype, linkedin and twitter ? You're never fully dressed without a smile! ? From jeffh at delasco.com Fri Aug 19 19:37:32 2011 From: jeffh at delasco.com (Jeff Hinrichs) Date: Fri, 19 Aug 2011 12:37:32 -0500 Subject: [omaha] Fwd: [odynug] Perl Best Practices but for Python In-Reply-To: References: Message-ID: On Fri, Aug 19, 2011 at 12:21 PM, Matthew Nuzum wrote: > On Fri, Aug 19, 2011 at 9:30 AM, Jeff Hinrichs wrote: > > > Agreed pep8 is where to start, then goog for "idiomatic python" > > http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html > > That has been presented at a previous omahapython meeting. Before > > anything else, fire up a python interpreter and then > > >>> import this > > > > read it to get in the mindset of why, then start going through the > > idiomatic > > tutorial. > > > > > Boo. -1 for the RTFM replies. Nothing personal (reading PEP-8 is key) but > there's so much more advice that can be given. > > -1 for the -1 ;) The question asked for a book, so online references are a valid reply. Besides your comments about testing and code reviews, your comments didn't cover anything that isn't already in the idiomatic python link. Not only that but it is well written, easy to read in chunks and has good reasoning on why X and not Y. More than the poster is likely to get from our anecdotal ramblings. Now I am +1 on your additional input about testing and reviews but unless you are working a lot with python on a paying gig or heading a project, the details of the link are easier to digest. Face it, no one is going to test or use revision control until they get bit. Fingers need to get burned a bit before people understand why they are good things -- they don't have context to balance the added management tasks against. best, Jeff From newz at bearfruit.org Fri Aug 19 23:17:00 2011 From: newz at bearfruit.org (Matthew Nuzum) Date: Fri, 19 Aug 2011 16:17:00 -0500 Subject: [omaha] Fwd: [odynug] Perl Best Practices but for Python In-Reply-To: References: Message-ID: On Fri, Aug 19, 2011 at 12:37 PM, Jeff Hinrichs wrote: > On Fri, Aug 19, 2011 at 12:21 PM, Matthew Nuzum > wrote: > > > > -1 for the -1 ;) > The question asked for a book, so online references are a valid reply. > > Forgive me Jeff, I actually wasn't criticizing you link to idiomatic. I meant to reply to the first message in the thread. Yours was good. I was referring to the reference to PEP-8. Your link is good and I suggest it be read. I have to admit, I have a love hate relationship with PEP-8 and feel that a lot of people fit into the "foolish consistency" side of things. That's why I mentioned to follow the spirit of pep-8. -- Matthew Nuzum newz2000 on freenode, skype, linkedin and twitter ? You're never fully dressed without a smile! ? From jeffh at delasco.com Fri Aug 19 23:27:24 2011 From: jeffh at delasco.com (Jeff Hinrichs) Date: Fri, 19 Aug 2011 16:27:24 -0500 Subject: [omaha] Fwd: [odynug] Perl Best Practices but for Python In-Reply-To: References: Message-ID: On Fri, Aug 19, 2011 at 4:17 PM, Matthew Nuzum wrote: > On Fri, Aug 19, 2011 at 12:37 PM, Jeff Hinrichs wrote: > > > On Fri, Aug 19, 2011 at 12:21 PM, Matthew Nuzum > > wrote: > > > > > > -1 for the -1 ;) > > The question asked for a book, so online references are a valid reply. > > > > > Forgive me Jeff, I actually wasn't criticizing you link to idiomatic. I > meant to reply to the first message in the thread. Yours was good. I was > referring to the reference to PEP-8. Your link is good and I suggest it be > read. > No worries, I was having a bit of fun ;) > I have to admit, I have a love hate relationship with PEP-8 and feel that a > lot of people fit into the "foolish consistency" side of things. That's why > I mentioned to follow the spirit of pep-8. > Agreed, often when working on legacy code or even your own code started before you became more pep8'ish, I think it is better to follow the convention of the code/document than to switch back and forth. I try to push myself to be better at following pep8 as I go, however, like many others, I don't have the luxury of time to go back and correct previous badness, unless its a bug. Of course that is true with all code. For example, my first django code was/is ugly and the more I learn django and the proper places and idioms to use the better my code becomes. As a programmer, I believe I should always try and improve myself, and that means better looking code that is easier to read and test. Just like Python itself, Django has outstanding resources on the web, written both by the projects and by other users. I often stand in awe at their contributions. Best, Jeff > > -- > Matthew Nuzum > newz2000 on freenode, skype, linkedin and twitter > > ? You're never fully dressed without a smile! ? > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > http://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From shawnhermans at gmail.com Fri Aug 19 23:46:27 2011 From: shawnhermans at gmail.com (Shawn Hermans) Date: Fri, 19 Aug 2011 16:46:27 -0500 Subject: [omaha] Fwd: [odynug] Perl Best Practices but for Python In-Reply-To: References: Message-ID: Wasn't this post looking for a RTFM response? If I understanding correctly, you were looking to find TFM (or in this case TFB). So, my answer still stands. Start with PEP 8 first. Once you have learned that, there are a lot of other really good resources out there. It all depends on whether you are looking or general code maintainability practices or Python specific. If you are looking for code maintainability, I always suggest documenting,documenting and documenting. I read my own code a day latter and I still can't figure it out. For documentation, I would suggest Sphinx and/or Epydocs. The last suggestion I can give you is make good unit tests. Basically, lets you know right away if you broke something. For that, I again recommend you check out the PyCon videos. In particular the one on continuous integration ( http://blip.tv/pycon-australia/don-t-break-it-continuous-integration-deployment-3860165). -Shawn On Fri, Aug 19, 2011 at 4:27 PM, Jeff Hinrichs wrote: > On Fri, Aug 19, 2011 at 4:17 PM, Matthew Nuzum wrote: > > > On Fri, Aug 19, 2011 at 12:37 PM, Jeff Hinrichs > wrote: > > > > > On Fri, Aug 19, 2011 at 12:21 PM, Matthew Nuzum > > > wrote: > > > > > > > > -1 for the -1 ;) > > > The question asked for a book, so online references are a valid reply. > > > > > > > > Forgive me Jeff, I actually wasn't criticizing you link to idiomatic. I > > meant to reply to the first message in the thread. Yours was good. I was > > referring to the reference to PEP-8. Your link is good and I suggest it > be > > read. > > > No worries, I was having a bit of fun ;) > > > > I have to admit, I have a love hate relationship with PEP-8 and feel that > a > > lot of people fit into the "foolish consistency" side of things. That's > why > > I mentioned to follow the spirit of pep-8. > > > Agreed, often when working on legacy code or even your own code started > before you became more pep8'ish, I think it is better to follow the > convention of the code/document than to switch back and forth. I try to > push myself to be better at following pep8 as I go, however, like many > others, I don't have the luxury of time to go back and correct previous > badness, unless its a bug. > > Of course that is true with all code. For example, my first django code > was/is ugly and the more I learn django and the proper places and idioms to > use the better my code becomes. As a programmer, I believe I should always > try and improve myself, and that means better looking code that is easier > to > read and test. Just like Python itself, Django has outstanding resources > on > the web, written both by the projects and by other users. I often stand > in > awe at their contributions. > > Best, > > Jeff > > > > > -- > > Matthew Nuzum > > newz2000 on freenode, skype, linkedin and twitter > > > > ? You're never fully dressed without a smile! ? > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > http://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > http://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From wereapwhatwesow at gmail.com Sat Aug 20 18:54:36 2011 From: wereapwhatwesow at gmail.com (Steve Young) Date: Sat, 20 Aug 2011 11:54:36 -0500 Subject: [omaha] Python for Android Message-ID: Here is an article on using python on Android devices: http://www.linuxjournal.com/article/10940 Any +1 for walking thru this as a group on our phones & tablets at the next meeting? -- Steve Young From jrguliz at yahoo.com Sun Aug 21 04:20:33 2011 From: jrguliz at yahoo.com (Joe Gulizia) Date: Sat, 20 Aug 2011 19:20:33 -0700 (PDT) Subject: [omaha] Python for Android In-Reply-To: Message-ID: <1313893233.44904.YahooMailClassic@web112807.mail.gq1.yahoo.com> +1 Joe Gulizia --- On Sat, 8/20/11, Steve Young wrote: > From: Steve Young > Subject: [omaha] Python for Android > To: "Omaha Python Users Group" > Date: Saturday, August 20, 2011, 11:54 AM > Here is an article on using python on > Android devices: > http://www.linuxjournal.com/article/10940 > > Any +1 for walking thru this as a group on our phones & > tablets at the next > meeting? > > -- > Steve Young > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > http://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org >