From marvkausch at gmail.com Fri Oct 3 02:44:45 2014 From: marvkausch at gmail.com (Marv Kausch) Date: Thu, 2 Oct 2014 17:44:45 -0700 Subject: [Baypiggies] Hello. I'm a new subscriber. Would you please direct me to... Message-ID: Would you please direct me to assistance to get Python running on a 32 bit Vista laptop? Thank you. Marv -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at tcapp.com Fri Oct 3 03:00:23 2014 From: tony at tcapp.com (Tony Cappellini) Date: Thu, 2 Oct 2014 18:00:23 -0700 Subject: [Baypiggies] Hello. I'm a new subscriber. Would you please direct me to... In-Reply-To: References: Message-ID: Sorry, Marv. The browser made your name look like Mary to me. On Thu, Oct 2, 2014 at 5:44 PM, Marv Kausch wrote: > Would you please direct me to assistance to get Python running on a 32 bit > Vista laptop? > Thank you. > Marv > > _______________________________________________ > 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 tony at tcapp.com Fri Oct 3 02:59:06 2014 From: tony at tcapp.com (Tony Cappellini) Date: Thu, 2 Oct 2014 17:59:06 -0700 Subject: [Baypiggies] Hello. I'm a new subscriber. Would you please direct me to... In-Reply-To: References: Message-ID: Mary You will need to decide whether to install Python 2.7 or python 3.4.1 If you need to maintain compatibility with software running Python 2.7, then download the 32 bit installer for Python 2.7.8 If not, download and install the Python 3.4.1 installer. https://www.python.org/downloads/windows/ You may also want to consider installing the Python Win32 package, which gives you Python access to the Windows API, but it's not a requirement. http://sourceforge.net/projects/pywin32/files/pywin32/Build%20219/ You **may** need to run these installers as Administrator on Vista. On Thu, Oct 2, 2014 at 5:44 PM, Marv Kausch wrote: > Would you please direct me to assistance to get Python running on a 32 bit > Vista laptop? > Thank you. > Marv > > _______________________________________________ > 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 aahz at pythoncraft.com Sun Oct 5 03:01:28 2014 From: aahz at pythoncraft.com (Aahz) Date: Sat, 4 Oct 2014 18:01:28 -0700 Subject: [Baypiggies] who owns the new Meetup group? In-Reply-To: References: Message-ID: <20141005010128.GA25495@panix.com> On Wed, Sep 24, 2014, Glen Jarvis wrote: > > The answer is "BayPIGgies does." Basically, I have been donating space > and traffic from the Silicon Valley Meetup group. It seems hugely > successful. > > So, I opened this meetup account (group share credentials). And my > company, Glen Jarvis, LLC, donated six months of MeetUp fees for > BayPIGgies. Your donation is certainly welcome, but FYI I believe the PSF (Python Software Foundation) now covers MeetUp fees for groups if you ask. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "It is easier to optimize correct code than to correct optimized code." --Bill Harlan From lazhao123 at gmail.com Fri Oct 24 08:33:30 2014 From: lazhao123 at gmail.com (Lawrence Zhao) Date: Thu, 23 Oct 2014 23:33:30 -0700 Subject: [Baypiggies] Looking for Python study group Message-ID: Is there anyone interested in forming a study group for python in South/East bay? So we can discuss issues, code reviews or working on small projects together. I want to speed up the learning process. Please send me message if you are interested. Thanks Lawrence -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Wed Oct 29 05:34:43 2014 From: cappy2112 at gmail.com (Tony Cappellini) Date: Tue, 28 Oct 2014 21:34:43 -0700 Subject: [Baypiggies] Unusual unit test behavior on OSX Message-ID: Hello Everyone, When I ran this unit test that I wrote http://pastebin.com/YxZH4RHR I'm seeing some very unusual output that I can't explain. This is the output. Record # 1, ;180000FFEEDDCCBBAA0099887766554433221122334455667788990AFC Record # 2, ;180218778E4017203C02A20C8E4217A2318E4017203C02A20E8E420717 . ---------------------------------------------------------------------- Ran 1 test in 0.000s OK Record # 3, ;180230EA65ED65EE85E9A204B5E995EACA10F938E999B0E8A5EB290FE8 I only have one test method defined at the moment. It looks like two iterations are occurring as expected, and the last occurs much later. Why do all three iterations not happen before the unit test framework displays "Ran 1 test in 0.000s" ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From nanshu at gmail.com Wed Oct 29 06:02:40 2014 From: nanshu at gmail.com (Nanshu Chen) Date: Tue, 28 Oct 2014 22:02:40 -0700 Subject: [Baypiggies] Unusual unit test behavior on OSX In-Reply-To: References: Message-ID: Add sys.stdout.flush() after your print, or replace print with sys.stderr.write. On Tue, Oct 28, 2014 at 9:34 PM, Tony Cappellini wrote: > Hello Everyone, > > > When I ran this unit test that I wrote > > http://pastebin.com/YxZH4RHR > > I'm seeing some very unusual output that I can't explain. > > This is the output. > > Record # 1, ;180000FFEEDDCCBBAA0099887766554433221122334455667788990AFC > Record # 2, ;180218778E4017203C02A20C8E4217A2318E4017203C02A20E8E420717 > . > ---------------------------------------------------------------------- > Ran 1 test in 0.000s > > OK > Record # 3, ;180230EA65ED65EE85E9A204B5E995EACA10F938E999B0E8A5EB290FE8 > > > I only have one test method defined at the moment. > It looks like two iterations are occurring as expected, > and the last occurs much later. > > Why do all three iterations not happen before the unit test framework > displays "Ran 1 test in 0.000s" ? > > Thanks > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > https://mail.python.org/mailman/listinfo/baypiggies From cappy2112 at gmail.com Wed Oct 29 06:07:42 2014 From: cappy2112 at gmail.com (Tony Cappellini) Date: Tue, 28 Oct 2014 22:07:42 -0700 Subject: [Baypiggies] Unusual unit test behavior on OSX In-Reply-To: References: Message-ID: Thanks Nanshu. That does make the unit test output look like what I would expect. Record # 1, ;180000FFEEDDCCBBAA0099887766554433221122334455667788990AFC Record # 2, ;180218778E4017203C02A20C8E4217A2318E4017203C02A20E8E420717 Record # 3, ;180230EA65ED65EE85E9A204B5E995EACA10F938E999B0E8A5EB290FE8. ---------------------------------------------------------------------- Ran 1 test in 0.000s OK I've never had any issues like this with unit test before. On Tue, Oct 28, 2014 at 10:02 PM, Nanshu Chen wrote: > Add sys.stdout.flush() after your print, or replace print with > sys.stderr.write. > > > > On Tue, Oct 28, 2014 at 9:34 PM, Tony Cappellini > wrote: > > Hello Everyone, > > > > > > When I ran this unit test that I wrote > > > > http://pastebin.com/YxZH4RHR > > > > I'm seeing some very unusual output that I can't explain. > > > > This is the output. > > > > Record # 1, ;180000FFEEDDCCBBAA0099887766554433221122334455667788990AFC > > Record # 2, ;180218778E4017203C02A20C8E4217A2318E4017203C02A20E8E420717 > > . > > ---------------------------------------------------------------------- > > Ran 1 test in 0.000s > > > > OK > > Record # 3, ;180230EA65ED65EE85E9A204B5E995EACA10F938E999B0E8A5EB290FE8 > > > > > > I only have one test method defined at the moment. > > It looks like two iterations are occurring as expected, > > and the last occurs much later. > > > > Why do all three iterations not happen before the unit test framework > > displays "Ran 1 test in 0.000s" ? > > > > Thanks > > > > > > _______________________________________________ > > 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 guido at python.org Wed Oct 29 06:40:59 2014 From: guido at python.org (Guido van Rossum) Date: Tue, 28 Oct 2014 22:40:59 -0700 Subject: [Baypiggies] Unusual unit test behavior on OSX In-Reply-To: References: Message-ID: Hi Tony, It's because of the trailing comma in your print statement. Stdout only gets flushed when a \n is written. You probably didn't notice this because the print statement *starts* with \n. (Where did you pick up that habit?) --Guido On Tuesday, October 28, 2014, Tony Cappellini wrote: > Thanks Nanshu. > > That does make the unit test output look like what I would expect. > > Record # 1, ;180000FFEEDDCCBBAA0099887766554433221122334455667788990AFC > Record # 2, ;180218778E4017203C02A20C8E4217A2318E4017203C02A20E8E420717 > Record # 3, ;180230EA65ED65EE85E9A204B5E995EACA10F938E999B0E8A5EB290FE8. > ---------------------------------------------------------------------- > Ran 1 test in 0.000s > > OK > > I've never had any issues like this with unit test before. > > > On Tue, Oct 28, 2014 at 10:02 PM, Nanshu Chen > wrote: > >> Add sys.stdout.flush() after your print, or replace print with >> sys.stderr.write. >> >> >> >> On Tue, Oct 28, 2014 at 9:34 PM, Tony Cappellini > > wrote: >> > Hello Everyone, >> > >> > >> > When I ran this unit test that I wrote >> > >> > http://pastebin.com/YxZH4RHR >> > >> > I'm seeing some very unusual output that I can't explain. >> > >> > This is the output. >> > >> > Record # 1, ;180000FFEEDDCCBBAA0099887766554433221122334455667788990AFC >> > Record # 2, ;180218778E4017203C02A20C8E4217A2318E4017203C02A20E8E420717 >> > . >> > ---------------------------------------------------------------------- >> > Ran 1 test in 0.000s >> > >> > OK >> > Record # 3, ;180230EA65ED65EE85E9A204B5E995EACA10F938E999B0E8A5EB290FE8 >> > >> > >> > I only have one test method defined at the moment. >> > It looks like two iterations are occurring as expected, >> > and the last occurs much later. >> > >> > Why do all three iterations not happen before the unit test framework >> > displays "Ran 1 test in 0.000s" ? >> > >> > Thanks >> > >> > >> > _______________________________________________ >> > Baypiggies mailing list >> > Baypiggies at python.org >> >> > To change your subscription options or unsubscribe: >> > https://mail.python.org/mailman/listinfo/baypiggies >> > > -- --Guido van Rossum (on iPad) -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Wed Oct 29 06:48:49 2014 From: cappy2112 at gmail.com (Tony Cappellini) Date: Tue, 28 Oct 2014 22:48:49 -0700 Subject: [Baypiggies] Unusual unit test behavior on OSX In-Reply-To: References: Message-ID: Thanks for pointing that out Guido. >>Where did you pick up that habit? >From maintaining code (non-Python) that doesn't always print a trailing \n. We use several proprietary scripting languages where I work, and they all use different conventions. Some of my work habits follow me home, and creep into my personal projects. On Tue, Oct 28, 2014 at 10:40 PM, Guido van Rossum wrote: > Hi Tony, > > It's because of the trailing comma in your print statement. Stdout only > gets flushed when a \n is written. You probably didn't notice this because > the print statement *starts* with \n. (Where did you pick up that habit?) > > --Guido > > > On Tuesday, October 28, 2014, Tony Cappellini wrote: > >> Thanks Nanshu. >> >> That does make the unit test output look like what I would expect. >> >> Record # 1, ;180000FFEEDDCCBBAA0099887766554433221122334455667788990AFC >> Record # 2, ;180218778E4017203C02A20C8E4217A2318E4017203C02A20E8E420717 >> Record # 3, ;180230EA65ED65EE85E9A204B5E995EACA10F938E999B0E8A5EB290FE8. >> ---------------------------------------------------------------------- >> Ran 1 test in 0.000s >> >> OK >> >> I've never had any issues like this with unit test before. >> >> >> On Tue, Oct 28, 2014 at 10:02 PM, Nanshu Chen wrote: >> >>> Add sys.stdout.flush() after your print, or replace print with >>> sys.stderr.write. >>> >>> >>> >>> On Tue, Oct 28, 2014 at 9:34 PM, Tony Cappellini >>> wrote: >>> > Hello Everyone, >>> > >>> > >>> > When I ran this unit test that I wrote >>> > >>> > http://pastebin.com/YxZH4RHR >>> > >>> > I'm seeing some very unusual output that I can't explain. >>> > >>> > This is the output. >>> > >>> > Record # 1, >>> ;180000FFEEDDCCBBAA0099887766554433221122334455667788990AFC >>> > Record # 2, >>> ;180218778E4017203C02A20C8E4217A2318E4017203C02A20E8E420717 >>> > . >>> > ---------------------------------------------------------------------- >>> > Ran 1 test in 0.000s >>> > >>> > OK >>> > Record # 3, >>> ;180230EA65ED65EE85E9A204B5E995EACA10F938E999B0E8A5EB290FE8 >>> > >>> > >>> > I only have one test method defined at the moment. >>> > It looks like two iterations are occurring as expected, >>> > and the last occurs much later. >>> > >>> > Why do all three iterations not happen before the unit test framework >>> > displays "Ran 1 test in 0.000s" ? >>> > >>> > Thanks >>> > >>> > >>> > _______________________________________________ >>> > Baypiggies mailing list >>> > Baypiggies at python.org >>> > To change your subscription options or unsubscribe: >>> > https://mail.python.org/mailman/listinfo/baypiggies >>> >> >> > > -- > --Guido van Rossum (on iPad) > -------------- next part -------------- An HTML attachment was scrubbed... URL: