From kelleynnn at gmail.com Wed Jul 2 08:02:16 2014 From: kelleynnn at gmail.com (Kelley Nielsen) Date: Tue, 1 Jul 2014 23:02:16 -0700 Subject: [Baypiggies] Baypiggies Digest, Vol 104, Issue 17 In-Reply-To: References: Message-ID: I could give it a try if there are no other takers. I'd have to learn, but I'm doing PR for one of my Toastmasters clubs now, so I need to learn anyway. On Mon, Jun 30, 2014 at 3:00 AM, wrote: > Send Baypiggies mailing list submissions to > baypiggies at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/baypiggies > or, via email, send a message with subject or body 'help' to > baypiggies-request at python.org > > You can reach the person managing the list at > baypiggies-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Baypiggies digest..." > > > Today's Topics: > > 1. BayPiggies AV (audio/video) Person (James Nicholson) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 29 Jun 2014 18:36:11 -0700 > From: James Nicholson > To: Baypiggies > Subject: [Baypiggies] BayPiggies AV (audio/video) Person > Message-ID: > oco9_k7TE-nnGPBw at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hey everyone, > > I brought this up at our meeting on Thursday, but wanted to get a > conversation started here as well. > > I'm working in San Francisco now and won't be able to consistently be at > LinkedIn in Mountain View by 7:30pm to record our talks. > > Here are a few of the perks of being the BayPiggies AV person: > > - Increased exposure at meetings (good for networking) > - Interaction with our speakers > - Learning a marketable skill (recording and archiving tech talks) > - Resume builder and good discussion topic for interviews > > > There are two methods I've used to record/archive our talks these past nine > months: > > 1. Record video/audio with the group's camcorder (I have it currently), > transfer the file to my laptop, then upload it to our YouTube channel > . > > 2. Using a Google Hangout on Air > to record the > screen > and voice of the presenting laptop (which automatically uploads to our > YouTube channel). > > Method two is much easier, and allows us to live stream the talks. > > Can anyone volunteer to help out with this moving forward? > > > -James > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/baypiggies/attachments/20140629/1ad31c92/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > https://mail.python.org/mailman/listinfo/baypiggies > > ------------------------------ > > End of Baypiggies Digest, Vol 104, Issue 17 > ******************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjinux at gmail.com Fri Jul 4 03:10:57 2014 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Thu, 3 Jul 2014 18:10:57 -0700 Subject: [Baypiggies] Fwd: jobs listing link on https://mail.python.org/mailman/listinfo/baypiggies should point to http://baypiggies.net/job-listings In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: Hunter Blanks Date: Thu, Jul 3, 2014 at 11:33 AM Subject: jobs listing link on https://mail.python.org/mailman/listinfo/baypiggies should point to http://baypiggies.net/job-listings To: baypiggies-owner at python.org Hi, I was just getting ready to post a job posting to the BayPiggies list when I realized that the policy link on the mailing list page, as viewed at: https://mail.python.org/mailman/listinfo/baypiggies includes an extraneous index_html segment: http://baypiggies.net/index_html/job-listings It seems like the right link is: http://baypiggies.net/job-listings Thanks much! -HJB -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicholsonjf at gmail.com Fri Jul 4 03:25:37 2014 From: nicholsonjf at gmail.com (James Nicholson) Date: Thu, 3 Jul 2014 18:25:37 -0700 Subject: [Baypiggies] Baypiggies Digest, Vol 104, Issue 17 In-Reply-To: References: Message-ID: Cool! Are you free to meet sometime over the next couple weeks in Mountain View, and do you have a laptop you can use for this? I can show you how to setup a Hangout and start a broadcast. James Nicholson nicholsonjf.com On Tue, Jul 1, 2014 at 11:02 PM, Kelley Nielsen wrote: > I could give it a try if there are no other takers. I'd have to learn, but > I'm doing PR for one of my Toastmasters clubs now, so I need to learn > anyway. > > > On Mon, Jun 30, 2014 at 3:00 AM, wrote: > >> Send Baypiggies mailing list submissions to >> baypiggies at python.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://mail.python.org/mailman/listinfo/baypiggies >> or, via email, send a message with subject or body 'help' to >> baypiggies-request at python.org >> >> You can reach the person managing the list at >> baypiggies-owner at python.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Baypiggies digest..." >> >> >> Today's Topics: >> >> 1. BayPiggies AV (audio/video) Person (James Nicholson) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Sun, 29 Jun 2014 18:36:11 -0700 >> From: James Nicholson >> To: Baypiggies >> Subject: [Baypiggies] BayPiggies AV (audio/video) Person >> Message-ID: >> > oco9_k7TE-nnGPBw at mail.gmail.com> >> Content-Type: text/plain; charset="utf-8" >> >> Hey everyone, >> >> I brought this up at our meeting on Thursday, but wanted to get a >> conversation started here as well. >> >> I'm working in San Francisco now and won't be able to consistently be at >> LinkedIn in Mountain View by 7:30pm to record our talks. >> >> Here are a few of the perks of being the BayPiggies AV person: >> >> - Increased exposure at meetings (good for networking) >> - Interaction with our speakers >> - Learning a marketable skill (recording and archiving tech talks) >> - Resume builder and good discussion topic for interviews >> >> >> There are two methods I've used to record/archive our talks these past >> nine >> months: >> >> 1. Record video/audio with the group's camcorder (I have it currently), >> transfer the file to my laptop, then upload it to our YouTube channel >> . >> >> 2. Using a Google Hangout on Air >> to record the >> screen >> and voice of the presenting laptop (which automatically uploads to our >> YouTube channel). >> >> Method two is much easier, and allows us to live stream the talks. >> >> Can anyone volunteer to help out with this moving forward? >> >> >> -James >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: < >> http://mail.python.org/pipermail/baypiggies/attachments/20140629/1ad31c92/attachment-0001.html >> > >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> https://mail.python.org/mailman/listinfo/baypiggies >> >> ------------------------------ >> >> End of Baypiggies Digest, Vol 104, Issue 17 >> ******************************************* >> > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > https://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hunter at napofearth.com Thu Jul 3 20:55:11 2014 From: hunter at napofearth.com (Hunter Blanks) Date: Thu, 3 Jul 2014 11:55:11 -0700 Subject: [Baypiggies] Backend Software Engineer - Berkeley Message-ID: Hi all, I work as the backend engineer for an offshoot of Will Wright's Stupid Fun Club in Berkeley, and I'm looking for a second backend engineer. Details can be found here: http://stupidfunclub.com/jobs.html So far as numbers go, our business is just over a dozen employees right now, with a consumer beta starting near summer's end. The two frontends are implemented against WebGL & iOS. All of our backend and operations automation is in Python. If you're interested or have any questions, please feel free to write me at hunter at napofearth.com. HJB -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdavis2 at ucsc.edu Sat Jul 5 20:15:01 2014 From: mdavis2 at ucsc.edu (Marilyn Davis) Date: Sat, 5 Jul 2014 11:15:01 -0700 Subject: [Baypiggies] Saturday Python Class and more Message-ID: Hello Python People, We are starting a Saturday Python class for programmers (experienced in any other language) at UCSC-Extension Silicon Valley's labs in Santa Clara, right across 101 from the Great America sign. http://course.ucsc-extension.edu/modules/shop/index.html?action=section&OfferingID=1531625&SectionID=5275735 It will be 5 Saturdays and give students experience in all core concepts of Python. The course is low-pressure, but fast-paced, where students learn and practice core concepts and Pythonic thinking. To join this class, you should be well-practiced at programming in some other language. No beginning programmers please, but you can certainly be new to Python. If you are beginner, please find your class below under "NOVICES". ONLINE CLASS: If you would prefer an online class, you will enjoy: http://course.ucsc-extension.edu/modules/shop/index.html?action=section&OfferingID=1531625&SectionID=5274871 The online site for this course is open now and new enrollments will be accepted until July 15. If you would prefer more time with the online materials, and with me and our online assistant instructor, Casey The, then you might like to wait and join the class that opens August 5: http://course.ucsc-extension.edu/modules/shop/index.html?action=section&OfferingID=1531625&SectionID=5274872 FOR NOVICES For 6 Thursday evenings, starting July 10, we will hold the "Introduction To Programming For Beginners, Using Python" class which prepares programming novices to take the Python For Programmers' class: http://course.ucsc-extension.edu/modules/shop/index.html?action=section&OfferingID=3576274&SectionID=5274926 which is 6 nights of acquiring basic programming skills in python and prepares you for the next programmers class If you have programming experience in any language skip the Beginners class listed above and join a Programmers' class. ---- All our Python courses are hands-on with short lectures, and lots of exercises where we study the solutions after some lab time. Questions are always welcome; discussion and pair-programming are encouraged. Please come, and send students! --- And, the first quarter of the professional course is available for $20 at Udemy.Com! I'm so busy that I can't say when the rest of the course will be there, but I'm working on it. https://www.udemy.com/pythonic-python-part-i-the-basics/ I hope you find one of these classes useful to your schedule and your taste. Marilyn Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Tue Jul 8 21:55:30 2014 From: aahz at pythoncraft.com (Aahz) Date: Tue, 8 Jul 2014 12:55:30 -0700 Subject: [Baypiggies] FWD: We're number one! Message-ID: <20140708195530.GA14749@panix.com> Python is now the most popular introductory teaching language at top U.S. universities: http://m.cacm.acm.org/blogs/blog-cacm/176450-python-is-now-the-most-popular-introductory-teaching-language-at-top-us-universities/fulltext -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ Question authority: ask me anything! From guido at python.org Tue Jul 8 21:57:53 2014 From: guido at python.org (Guido van Rossum) Date: Tue, 8 Jul 2014 12:57:53 -0700 Subject: [Baypiggies] FWD: We're number one! In-Reply-To: <20140708195530.GA14749@panix.com> References: <20140708195530.GA14749@panix.com> Message-ID: Also check out the author's pythontutor.com! On Tue, Jul 8, 2014 at 12:55 PM, Aahz wrote: > Python is now the most popular introductory teaching language at top U.S. > universities: > > > http://m.cacm.acm.org/blogs/blog-cacm/176450-python-is-now-the-most-popular-introductory-teaching-language-at-top-us-universities/fulltext > -- > Aahz (aahz at pythoncraft.com) <*> > http://www.pythoncraft.com/ > > Question authority: ask me anything! > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > https://mail.python.org/mailman/listinfo/baypiggies > -- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: From yousuffauzan at gmail.com Tue Jul 8 22:19:43 2014 From: yousuffauzan at gmail.com (Yousuf Fauzan) Date: Tue, 8 Jul 2014 13:19:43 -0700 Subject: [Baypiggies] FWD: We're number one! In-Reply-To: References: <20140708195530.GA14749@panix.com> Message-ID: +1 for pythontutor.com -- Yousuf CodeBunk On Tue, Jul 8, 2014 at 12:57 PM, Guido van Rossum wrote: > Also check out the author's pythontutor.com! > > > On Tue, Jul 8, 2014 at 12:55 PM, Aahz wrote: > >> Python is now the most popular introductory teaching language at top U.S. >> universities: >> >> >> http://m.cacm.acm.org/blogs/blog-cacm/176450-python-is-now-the-most-popular-introductory-teaching-language-at-top-us-universities/fulltext >> -- >> Aahz (aahz at pythoncraft.com) <*> >> http://www.pythoncraft.com/ >> >> Question authority: ask me anything! >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> https://mail.python.org/mailman/listinfo/baypiggies >> > > > > -- > --Guido van Rossum (python.org/~guido) > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > https://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wescpy at gmail.com Fri Jul 18 18:28:20 2014 From: wescpy at gmail.com (wesley chun) Date: Fri, 18 Jul 2014 09:28:20 -0700 Subject: [Baypiggies] ANN: Intro+Intermediate Python, San Francisco, Jul 30-31, Aug 1 In-Reply-To: References: Message-ID: Hey everyone, Just a quick final reminder about my 3-day Python course coming up in a few weeks (Jul 30-Aug 1). To recap, my audience isn't the absolute newbie to coding... it *is* geared towards the following audiences: 1. Those who already know how to code in another high-level language (C/C++, Java, PHP, Ruby) looking to get a strong introduction to Python 2. Those who already know Python syntax, i.e., either by tinkering on their own, via a study group, have taken courses from Udacity, Coursera, Marilyn - UC Santa Cruz or any other local college, or have completed "Learn Python the Hard Way"... they want to know more and take their skills to the next level plus learn good Python practices along the way. 3. Those who know Python well and use it often but want to fill-in gaps in their knowledge or have run into hard-to-explain bugs with their code even if it appears to all be syntactically correct. The course takes place near the SFO airport (free shuttle for those flying in). It's across the street from the San Bruno BART station (and up the road from CalTrain), and there's easy freeway access (101/380/280) along with free parking. The fee is $1495 (covers all lectures, codelabs, course materials, textbook) -- bring a friend or colleague, and you'll both get a discount! (Contact me privately for details.) Here's the public ad: http://goo.gl/pyJseQ. Go to http://corepython.com and click the "Training" link in the lower right-hand corner. There are links to the course and registration. You can also watch a 5-minute video to get an idea of my teaching style and classroom interaction. A 1-pager/flyer (PDF) can be downloaded at http://cyberwebconsulting.com/flyerPP1.pdf Hope to meet some of you in a few weeks! --Wesley On Tue, May 13, 2014 at 11:59 AM, wesley chun wrote: > it was great seeing some of you at the last BayPIGgies meeting and few > weeks ago. some of you came up to inquire about my next Python course, so i > wanted to hand out the formal info to you below. feel free to forward to > anyone you know who may be interested, and let me know if you have any > questions! > > cheers, > --wesley > ------------------- > > Greetings! > > I'll be offering another hardcore Python course this summer near the > San Francisco airport. If you're somewhat new to or have some Python > experience under your belt already but want to fill-in the holes, > this course is for you. Why take a real course when you can learn > Python online or by reading books? > > Well, my goal isn't to teach Python syntax, which you can from any > teacher, live or online, or from giant books. My job is to create > great Python developers and removing the roadblocks that impede > your path to getting there. This intensive course is based on my > "Core Python" (http://corepython.com) books and is made up of 3 > full days complete with lectures and several hands-on coding labs > per day. t's also a great excuse to coming to beautiful Northern > California for a summer vacation! > > Groups and development teams are welcome as well as individuals. I do > more private gigs and fewer of these public courses lately, so please > come join if you can... my next public intro/intermediate course may > not be for awhile, so I'm hoping to meet some of you this time around! > > Sign up soon... there's a special earlybird rate for the rest of this > month before going up to the regular rate after that. More details and > registration at http://cyberwebconsulting.com as well as in the ad: > http://goo.gl/pyJseQ > > I'm no fan of spam, so I'll only send out one last reminder as the > date gets closer... say around the end of June. > > Cheers, > -- Wesley > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > "A computer never does what you want... only what you tell it." > +wesley chun : wescpy at gmail : > @wescpy > Python training & consulting : http://CyberwebConsulting.com > "Core Python" books : http://CorePython.com > Python blog: http://wescpy.blogspot.com > > -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "A computer never does what you want... only what you tell it." +wesley chun : wescpy at gmail : @wescpy Python training & consulting : http://CyberwebConsulting.com "Core Python" books : http://CorePython.com Python blog: http://wescpy.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Wed Jul 23 20:41:42 2014 From: glen at glenjarvis.com (Glen Jarvis) Date: Wed, 23 Jul 2014 11:41:42 -0700 Subject: [Baypiggies] It's that time again :) Message-ID: It's tomorrow :) Welcome To BayPIGgies We are the Silicon Valley-San Francisco Bay Area Python Interest Group. No membership is required, and beginners are welcome! Next Meeting: July 24, 2014 @ LinkedIn, Mtn. View Main Presentation *Speaker: Eli Bressert* Topic: Python For Science Python plays a pivotal role in the data science and academic communities. This is largely due to Python?s capabilities in terms of flexibility, simplicity, readability, and most importantly a strong basis of numerical libraries. The powerhouse libraries for numerical analysis are NumPy, SciPy, and Pandas and almost all higher level libraries, such Scikit-Learn, are built on top of them. In this presentation, I?ll cover the strengths of Python?s numerical tools and how to best use them. We will cover basic statistics, optimization, data modeling, and basic machine learning practices. Industry and academic examples will be covered via IPython Notebook to demonstrate where the tools shine *Speaker: * Bio === Eli is a data scientist at Stitch Fix, a board member and consultant for Authorea, and author of the O?Reilly book, ?SciPy and NumPy?. He was a data scientist at Jawbone and a fellow at the Insight Data Science program in Silicon Valley. Previously, he received a post-doc fellowship in Australia investigating star-formation and young stellar clusters. Eli is one of the founding developers for two well-known astrophysics Python packages ATpy and APLpy. -- "You grab mindshare by being there." -- Alex Martelli Bay Area Python Interest Group Talk 24-Oct, 2013 -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin at falatic.com Fri Jul 25 20:14:21 2014 From: martin at falatic.com (Martin Falatic) Date: Fri, 25 Jul 2014 11:14:21 -0700 (PDT) Subject: [Baypiggies] The correct / consistent way to work with class attributes Message-ID: <37211.64.102.254.33.1406312061.squirrel@martin-wwwss5.ssl.supercp.com> My question on Stack Overflow is getting a lot of traffic but little love: http://stackoverflow.com/questions/24923749/ Perhaps the more exact question after all that discussion is, what's the best (Pythonic and consistent) way to work with class attributes from within a given (new-style) class? type(self), self.__class__, the explicit class name, something else? It seems to me that putting the explicit class name into a class is redundant, and I was told meta-classes can cause issues with using type() when considering how Python 2.7 works versus 3.4 (I'm not as well versed on meta-classes yet so I'm not sure what the specific difference is supposed to be there - but I'd like to understand it). Thoughts? - Marty From jwegis at gmail.com Fri Jul 25 21:10:21 2014 From: jwegis at gmail.com (John Wegis) Date: Fri, 25 Jul 2014 12:10:21 -0700 Subject: [Baypiggies] Full-Stack Software Engineer - San Francisco Message-ID: Hello Baypiggies! The company I work for PresenceLearning is looking to hire another software engineer. Our four person product/dev team designs and writes code that helps deliver therapy online to kids with special needs. Our main dev stack is Python/Django, MySQL, AngularJS and HTML/CSS. Full details can be found here: http://www.jobscore.com/jobs2/presencelearning/job-default/c-FZwse5Wr5kv_iGakhP3Q Feel free to reach out to me directly at: john at presencelearning.com or via gmail. Cheers! john -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjinux at gmail.com Sat Jul 26 02:12:43 2014 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Fri, 25 Jul 2014 17:12:43 -0700 Subject: [Baypiggies] The correct / consistent way to work with class attributes In-Reply-To: <37211.64.102.254.33.1406312061.squirrel@martin-wwwss5.ssl.supercp.com> References: <37211.64.102.254.33.1406312061.squirrel@martin-wwwss5.ssl.supercp.com> Message-ID: Is there any case that using self.__class__.attribute doesn't address? On Fri, Jul 25, 2014 at 11:14 AM, Martin Falatic wrote: > My question on Stack Overflow is getting a lot of traffic but little love: > http://stackoverflow.com/questions/24923749/ > > Perhaps the more exact question after all that discussion is, what's the > best (Pythonic and consistent) way to work with class attributes from > within a given (new-style) class? type(self), self.__class__, the explicit > class name, something else? > > It seems to me that putting the explicit class name into a class is > redundant, and I was told meta-classes can cause issues with using type() > when considering how Python 2.7 works versus 3.4 (I'm not as well versed > on meta-classes yet so I'm not sure what the specific difference is > supposed to be there - but I'd like to understand it). > > Thoughts? > > - Marty > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > https://mail.python.org/mailman/listinfo/baypiggies > -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkpp1233 at gmail.com Sat Jul 26 02:30:58 2014 From: pkpp1233 at gmail.com (Paul Katsen) Date: Fri, 25 Jul 2014 19:30:58 -0500 Subject: [Baypiggies] Instant API for Python scripts Message-ID: Hi all, A few people asked me to post my project to the mailing list after yesterday's meetup. Here's the simple pandas k-means clustering example I was calling from my d3 visualization via ajax, without setting up any backend. And here's the main page link: https://forms.blockspring.com/blocks */*. Just a reminder - the project's purpose is to make python scripts really accessible. I provide you with a form and an API endpoint to execute your script. The form makes it easy to share your work with non-engineers, and the API makes it easy to execute your script via http. Please feel free to email or call me with feedback, ideas, or questions. Excited to see all the different use cases for this. Best, Paul Katsen Blockspring.com 312.834.7265 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wescpy at gmail.com Sat Jul 26 04:06:14 2014 From: wescpy at gmail.com (wesley chun) Date: Fri, 25 Jul 2014 19:06:14 -0700 Subject: [Baypiggies] The correct / consistent way to work with class attributes In-Reply-To: References: <37211.64.102.254.33.1406312061.squirrel@martin-wwwss5.ssl.supercp.com> Message-ID: I prefer self.__class__.attribute the most, followed by using the class name. -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin at falatic.com Sat Jul 26 05:35:20 2014 From: martin at falatic.com (Martin Falatic) Date: Fri, 25 Jul 2014 20:35:20 -0700 (PDT) Subject: [Baypiggies] The correct / consistent way to work with class attributes In-Reply-To: References: <37211.64.102.254.33.1406312061.squirrel@martin-wwwss5.ssl.supercp.com> Message-ID: <9119.24.23.181.240.1406345720.squirrel@martin-wwwss5.ssl.supercp.com> Well, when I went poking around for it I stumbled on type(self) first and thought that was the done thing, but that was apparently a blind alley for this purpose. I like self.__class__ more than the explicit class name so I'm keep that in mind when I need to do that. :-) I didn't like either answer on S.O.... neither suggested (as one commenter did) the use of self.__class__, which is pretty much what I was looking for. Thanks again! - Marty On Fri, July 25, 2014 19:06, wesley chun wrote: > I prefer self.__class__.attribute the most, followed by using the class > name. On Fri, July 25, 2014 17:12, Shannon -jj Behrens wrote: > Is there any case that using self.__class__.attribute doesn't address? > > > On Fri, Jul 25, 2014 at 11:14 AM, Martin Falatic > wrote: > > >> My question on Stack Overflow is getting a lot of traffic but little >> love: >> http://stackoverflow.com/questions/24923749/ >> >> >> Perhaps the more exact question after all that discussion is, what's >> the best (Pythonic and consistent) way to work with class attributes >> from within a given (new-style) class? type(self), self.__class__, the >> explicit class name, something else? >> >> It seems to me that putting the explicit class name into a class is >> redundant, and I was told meta-classes can cause issues with using >> type() when considering how Python 2.7 works versus 3.4 (I'm not as well >> versed on meta-classes yet so I'm not sure what the specific difference >> is supposed to be there - but I'd like to understand it). >> >> Thoughts? >> >> >> - Marty >> >> >> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> https://mail.python.org/mailman/listinfo/baypiggies >> >> > > > > -- > In this life we cannot do great things. We can only do small things with > great love. -- Mother Teresa >