From admin.dslcomputer at gmail.com Wed Jul 8 19:42:18 2015 From: admin.dslcomputer at gmail.com (admin.dslcomputer at gmail.com) Date: Wed, 8 Jul 2015 17:42:18 +0000 Subject: [Baypiggies] =?utf-8?q?Maximum_to_the_Minimum?= Message-ID: <559d618a.03a1440a.4222.ffff8459@mx.google.com> Hi Everyone: How do I rewrite the python script, below, to get a printout from the Maximum to the Minimum, and to convert a string into a number? largest = None smallest = None while True: num = raw_input("Enter a number") if num == "done" : break print num try: inp=raw_input("enter a number:") num = float(inp) except: print "Invalid Input" continue if smallest is None: smallest = value elif value < smallest: smallest = value elif largest is None: largest = value elif value > largest: largest = value print "Maximum is", largest print "Minimum is", smallest Regards, Hal -------------- next part -------------- An HTML attachment was scrubbed... URL: From admin.dslcomputer at gmail.com Thu Jul 9 00:26:37 2015 From: admin.dslcomputer at gmail.com (admin.dslcomputer at gmail.com) Date: Wed, 8 Jul 2015 22:26:37 +0000 Subject: [Baypiggies] =?utf-8?b?4oCYTWF4aW11bSBpcyBOb25lIGFuZCB0aGUg4oCY?= =?utf-8?q?Minimum_is_None=E2=80=99?= Message-ID: <559da4f6.2a80460a.43eb.ffff9d69@mx.google.com> Hi Everyone: When the user enters a series of number integers, the output reads: ?Maximum is None and the ?Minimum is None? What is the source of the syntax Error, below: largest = None smallest = None while True: num = raw_input("Enter a number: ") if (num == "done") : break try: value = float(num) except ValueError: print "Invalid input" continue if smallest is None: smallest = value elif value < smallest: smallest = value print smallest, value if largest is None: largest = value elif value > largest: largest = value print largest, largest print "Maximum is", largest print "Minimum is", smallest Regards, Hal Sent from Surface -------------- next part -------------- An HTML attachment was scrubbed... URL: From simeonf at gmail.com Thu Jul 9 00:55:23 2015 From: simeonf at gmail.com (Simeon Franklin) Date: Wed, 8 Jul 2015 15:55:23 -0700 Subject: [Baypiggies] =?utf-8?b?4oCYTWF4aW11bSBpcyBOb25lIGFuZCB0aGUg4oCY?= =?utf-8?q?Minimum_is_None=E2=80=99?= In-Reply-To: <559da4f6.2a80460a.43eb.ffff9d69@mx.google.com> References: <559da4f6.2a80460a.43eb.ffff9d69@mx.google.com> Message-ID: It looks like you have an indentation error on lines 10 and 14. Large code samples don't work well in email - you might try formatting your code blocks as fixed width in your email or better yet - make a gist ( https://gist.github.com/) and link to it. More generally you have a few errors - take a look a stepping line by line through your code (thanks to pythontutor.com) at http://goo.gl/Zkt3SJ If you'd like to take this offline so the whole group doesn't read it I'd be happy to debug with you a bit. Just reply to me without baypiggies at python.org in the email... -regards Simeon Franklin On Wed, Jul 8, 2015 at 3:26 PM, wrote: > Hi Everyone: > > When the user enters a series of number integers, the output reads: > ?Maximum is None and the ?Minimum is None? > > What is the source of the syntax Error, below: > > largest = None > smallest = None > while True: > num = raw_input("Enter a number: ") > if (num == "done") : break > try: > value = float(num) > except ValueError: > print "Invalid input" > continue > if smallest is None: > smallest = value > elif value < smallest: > smallest = value > print smallest, value > if largest is None: > largest = value > elif value > largest: > largest = value > print largest, largest > print "Maximum is", largest > print "Minimum is", smallest > > > > Regards, > Hal > Sent from Surface > > > _______________________________________________ > 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 jrodman at baypiggies.spamportal.net Thu Jul 9 00:57:02 2015 From: jrodman at baypiggies.spamportal.net (Joshua Rodman) Date: Wed, 8 Jul 2015 15:57:02 -0700 Subject: [Baypiggies] =?utf-8?b?4oCYTWF4aW11bSBpcyBOb25lIGFuZCB0aGUg4oCY?= =?utf-8?q?Minimum_is_None=E2=80=99?= In-Reply-To: <559da4f6.2a80460a.43eb.ffff9d69@mx.google.com> References: <559da4f6.2a80460a.43eb.ffff9d69@mx.google.com> Message-ID: <20150708225702.GG20303@joshbook.splunk.com> On Wed, Jul 08, 2015 at 10:26:37PM +0000, admin.dslcomputer at gmail.com wrote: > Hi Everyone: > > > When the user enters a series of number integers, the output reads: ?Maximum is None and the ?Minimum is None? > > > What is the source of the syntax Error, below: > > > largest = None > smallest = None > while True: > num = raw_input("Enter a number: ") > if (num == "done") : break > try: > value = float(num) > except ValueError: > print "Invalid input" > continue This 'continue' line is not indendent, so the rest of the loop never runs. > if smallest is None: > smallest = value > elif value < smallest: > smallest = value Also this line is not correctly indented, so it will not work right either. > print smallest, value > if largest is None: > largest = value > elif value > largest: > largest = value > print largest, largest > print "Maximum is", largest > print "Minimum is", smallest > > > > > > > Regards, > > Hal > > > Sent from Surface > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > https://mail.python.org/mailman/listinfo/baypiggies -- JRod -- Splunk Supportability Engineering _ /^\ |-| | | Blast off to |S| Powerful Data |P| Analysis!!!1 |L| |U| Splunk: Earth, /|N|\ And beyond. / |K| \ | | | | `-"""-` From admin.dslcomputer at gmail.com Thu Jul 9 01:15:16 2015 From: admin.dslcomputer at gmail.com (admin.dslcomputer at gmail.com) Date: Wed, 8 Jul 2015 23:15:16 +0000 Subject: [Baypiggies] =?utf-8?b?4oCYTWF4aW11bSBpcyBOb25lIGFuZCB0aGUg4oCY?= =?utf-8?q?Minimum_is_None=E2=80=99?= In-Reply-To: <20150708225702.GG20303@joshbook.splunk.com> References: <559da4f6.2a80460a.43eb.ffff9d69@mx.google.com>, <20150708225702.GG20303@joshbook.splunk.com> Message-ID: <559db067.e266460a.d3c99.ffffa41d@mx.google.com> Hi Joshua, I posted a copy of the raw code on Codepad?s website at http://codepad.org/Sq0mitAG This 'continue' line is not indendent, so the rest of the loop never runs. > I made an indention Also this line is not correctly indented, so it will not work right either. > please, explain in detail Thanks, Hal -------------- next part -------------- An HTML attachment was scrubbed... URL: From Irv at furrypants.com Fri Jul 10 02:03:13 2015 From: Irv at furrypants.com (Irv Kalb) Date: Thu, 9 Jul 2015 17:03:13 -0700 Subject: [Baypiggies] Python for Beginners course at UCSC Extension In-Reply-To: <20150708225702.GG20303@joshbook.splunk.com> References: <559da4f6.2a80460a.43eb.ffff9d69@mx.google.com> <20150708225702.GG20303@joshbook.splunk.com> Message-ID: <55AF681F-4C40-4FB3-8D2C-990BA087344F@furrypants.com> I will be teaching a course called ?Python Programming for Beginners? at UCSC-Extension in Santa Clara. While this course is probably not appropriate for most of the people on this list, perhaps a friend or co-worker might be interested. The course is designed for people with no programming experience and uses Python to teach basic programming concepts. The course will meet on Thursday nights from 6:30 to 9:30, starts on July 16th, and goes for six weeks. Sign ups are open to the general public, and there is still time to register. The course fee is $580. More details are available at: http://course.ucsc-extension.edu/modules/shop/index.html?action=section&OfferingID=3576274&SectionID=5276835 If you have any questions, free to contact me directly at Irv at furrypants.com Irv -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Mon Jul 20 18:14:34 2015 From: aahz at pythoncraft.com (Aahz) Date: Mon, 20 Jul 2015 09:14:34 -0700 Subject: [Baypiggies] Write Better Docs Message-ID: <20150720161434.GA27224@panix.com> Targeted specifically at the why and how of better Open Source documentation: http://opensource.com/business/15/5/write-better-docs (He notes some issues with the Python documentation. ;-) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Think of it as evolution in action." --Tony Rand From admin.dslcomputer at gmail.com Tue Jul 21 20:24:51 2015 From: admin.dslcomputer at gmail.com (admin.dslcomputer at gmail.com) Date: Tue, 21 Jul 2015 18:24:51 +0000 Subject: [Baypiggies] =?utf-8?q?String_Error_Message?= Message-ID: <55ae8f94.2558460a.6358.ffffdd79@mx.google.com> Hi Everyone: I'm trying to write a python program that prompts for a file name, then opens that file and reads through the file, looking for lines of the form: X-DSPAM-Confidence: 0.8475 The program is designed to Count these lines and extract the floating point values from each of the lines and compute the average of those values and produce an output as shown below. However, line 10 displays the following string syntax error: SyntaxError: invalid syntax (, line 10) The raw URL link to the code is available at http://tinyurl.com/oa7cppq You can download the sample data at http://www.pythonlearn.com/code/mbox-short.txt Regards, Hal Sent from Surface -------------- next part -------------- An HTML attachment was scrubbed... URL: From simeonf at gmail.com Tue Jul 21 21:24:08 2015 From: simeonf at gmail.com (Simeon Franklin) Date: Tue, 21 Jul 2015 12:24:08 -0700 Subject: [Baypiggies] String Error Message In-Reply-To: <55ae8f94.2558460a.6358.ffffdd79@mx.google.com> References: <55ae8f94.2558460a.6358.ffffdd79@mx.google.com> Message-ID: Hey Hal - I *strongly encourage* you not to spam many mailing lists simultaneously with syntax questions. I'm guessing the 2015 Summer of Code mailing list in particular is not an appropriate venue. You might check out the https://mail.python.org/mailman/listinfo/tutor if you want a list to ask questions on or try emailing individuals directly - I'm happy to try to answer your python questions when I can. In this case your for loop on line 10 needs a colon ":" at the end just like like the one on line 4. Line 11 needs to be indented to be the body of the for loop - just like you have an indented block starting on line 5. -regards Simeon On Tue, Jul 21, 2015 at 11:24 AM, wrote: > > Hi Everyone: > > I'm trying to write a python program that prompts for a file name, then > opens that file and reads through the file, looking for lines of the form: > X-DSPAM-Confidence: 0.8475 > > The program is designed to Count these lines and extract the floating > point values from each of the lines and compute the average of those values > and produce an output as shown below. > > > > However, line 10 displays the following string syntax error: > > SyntaxError: invalid syntax (, line 10) > > The raw URL link to the code is available at > http://tinyurl.com/oa7cppq > > You can download the sample data at > http://www.pythonlearn.com/code/mbox-short.txt > > Regards, > Hal > > Sent from Surface > > > _______________________________________________ > 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 admin.dslcomputer at gmail.com Wed Jul 22 02:11:32 2015 From: admin.dslcomputer at gmail.com (admin.dslcomputer at gmail.com) Date: Wed, 22 Jul 2015 00:11:32 +0000 Subject: [Baypiggies] =?utf-8?q?String_Utility_Question?= Message-ID: <55aedffa.6937460a.beeb.1d7a@mx.google.com> Hi Everyone: Where can I find documentation on "line.split()" The Python online documentation site contains no available search term for "line.split()",i.e., URL link at https://www.python.org/downloads/release/python-279/ Moreover, the Python Library Reference refers to the utility function as an ArgumentParser: "def convert_arg_line_to_args(self, arg_line): return arg_line.split()", i.e., The Python Library Reference, Release 2.7.10; 15.4. argparse ? Parser for command-line options, arguments and sub-commands p. 475. Likewise, the Python Tutorial refers to the utility function as a Generator Expressions: "unique_words = set(word for line in page for word in line.split())?,i.e., Python Tutorial, Release 2.7.10; 9.11. Generator Expressions p. 75 Regards, Hal Sent from Surface -------------- next part -------------- An HTML attachment was scrubbed... URL: From simeonf at gmail.com Wed Jul 22 02:52:55 2015 From: simeonf at gmail.com (Simeon Franklin) Date: Tue, 21 Jul 2015 17:52:55 -0700 Subject: [Baypiggies] String Utility Question In-Reply-To: <55aedffa.6937460a.beeb.1d7a@mx.google.com> References: <55aedffa.6937460a.beeb.1d7a@mx.google.com> Message-ID: The split() method exists on several different kinds of objects, modules etc. You have to know what kind of thing you have in order to find its documentation. In your examples it looks like you're splitting a string. Python docs are available at https://docs.python.org/2/library/string.html?highlight=split#string.split but a really important skill is learning to access the built-in help from the interactive Python shell. For example if you know that "str" is the built in string type you could use the help function like so: $ python Python 2.7.9 (default, Apr 1 2015, 12:47:56) Type "help", "copyright", "credits" or "license" for more information. >>> help(str.split) # I'm asking for help on the str.split method split(...) S.split([sep [,maxsplit]]) -> list of strings Return a list of the words in the string S, using sep as the delimiter string. If maxsplit is given, at most maxsplit splits are done. If sep is not specified or is None, any whitespace string is a separator and empty strings are removed from the result. On Tue, Jul 21, 2015 at 5:11 PM, wrote: > Hi Everyone: > > Where can I find documentation on "line.split()" > > The Python online documentation site contains no available search term for > "line.split()",i.e., URL link at > https://www.python.org/downloads/release/python-279/ > > Moreover, the Python Library Reference refers to the utility function as > an ArgumentParser: "def convert_arg_line_to_args(self, arg_line): return > arg_line.split()", i.e., The Python Library Reference, Release 2.7.10; > 15.4. argparse ? Parser for command-line options, arguments and > sub-commands p. 475. > > Likewise, the Python Tutorial refers to the utility function as a > Generator Expressions: "unique_words = set(word for line in page for word > in line.split())?,i.e., Python Tutorial, Release 2.7.10; 9.11. Generator > Expressions p. 75 > > Regards, > Hal > > Sent from Surface > > > _______________________________________________ > 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 ltc.hotspot at gmail.com Tue Jul 28 22:14:22 2015 From: ltc.hotspot at gmail.com (ltc.hotspot at gmail.com) Date: Tue, 28 Jul 2015 20:14:22 +0000 Subject: [Baypiggies] =?utf-8?q?line_error_on_no=2E_7?= Message-ID: <55b7e31f.e67c460a.1bb8.255c@mx.google.com> Hi Everyone, I'm writing python code to read a data text file, split the file into a list of words using the split(function) and to print the results in alphabetical order. The raw python code is located at http://tinyurl.com/oua9uqx The sample data is located at http://tinyurl.com/odt9nhe Desired Output: ['Arise', 'But', 'It', 'Juliet', 'Who', 'already', 'and', 'breaks', 'east', 'envious', 'fair', 'grief', 'is', 'kill', 'light', 'moon', 'pale', 'sick', 'soft', 'sun', 'the', 'through', 'what', 'window', 'with', 'yonder'] There is a line error on no. 7 What is the cause of this error? Regards, Hal Sent from Surface -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin at falatic.com Tue Jul 28 22:55:36 2015 From: martin at falatic.com (Martin Falatic) Date: Tue, 28 Jul 2015 13:55:36 -0700 (PDT) Subject: [Baypiggies] line error on no. 7 In-Reply-To: <55b7e31f.e67c460a.1bb8.255c@mx.google.com> References: <55b7e31f.e67c460a.1bb8.255c@mx.google.com> Message-ID: <7267.24.7.60.89.1438116936.squirrel@martin-wwwss5.ssl.supercp.com> First of all, you can't use split() on a list. Second, you have lots of typos... you're calling things like "append" on the data type, not the variable you created (list.append versus lst.append(something). Read the man pages... e.g., https://docs.python.org/2/tutorial/datastructures.html - Marty On Tue, July 28, 2015 13:14, ltc.hotspot at gmail.com wrote: > Hi Everyone, > > > > I'm writing python code to read a data text file, split the file into a > list of words using the split(function) and to print the results in > alphabetical order. > > > The raw python code is located at http://tinyurl.com/oua9uqx > > > > The sample data is located at > http://tinyurl.com/odt9nhe > > > > > Desired Output: ['Arise', 'But', 'It', 'Juliet', 'Who', 'already', 'and', > 'breaks', 'east', 'envious', 'fair', 'grief', 'is', 'kill', 'light', > 'moon', 'pale', 'sick', 'soft', 'sun', 'the', 'through', 'what', > 'window', 'with', 'yonder'] > > > > There is a line error on no. 7 > What is the cause of this error? > > > > > Regards, > Hal > > > > > > > > Sent from Surface_______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > https://mail.python.org/mailman/listinfo/baypiggies From martin at falatic.com Wed Jul 29 00:00:04 2015 From: martin at falatic.com (Martin Falatic) Date: Tue, 28 Jul 2015 15:00:04 -0700 (PDT) Subject: [Baypiggies] line error on no. 7 In-Reply-To: <55b7f47e.2f83460a.bbf2.3ac4@mx.google.com> References: <55b7e31f.e67c460a.1bb8.255c@mx.google.com>, <7267.24.7.60.89.1438116936.squirrel@martin-wwwss5.ssl.supercp.com> <55b7f47e.2f83460a.bbf2.3ac4@mx.google.com> Message-ID: <8595.24.7.60.89.1438120804.squirrel@martin-wwwss5.ssl.supercp.com> (Keeping replies on the mailing list.) I'm referring to the list data structure and its methods, like append() (but *not* including split()). I'm sure lst.append isn't doing much either without an argument. What's the goal of this exercise? That will help illuminate what you're trying to accomplish. Based on the original pastebin (http://tinyurl.com/oua9uqx) this is what's happening: fname = raw_input("Enter file name: ") fh = open(fname) # Open a file lst = list() # Create a new list for line in fh: # For each line in the file... if fh == list: continue # Eh?? list.split() # Illegal (can't do this to a list and it's on a type anyway) list.append # Not appending anything, and it's on a type not a var too sorted("fh") # You've sorted the string "fh" and assigned result to nothing print line.rstrip() # Finally, we only print the very last line we read. I don't think that's the plan, but that's how the code parses so far. - Marty On Tue, July 28, 2015 14:25, ltc.hotspot at gmail.com wrote: > Marty, > > > Are you referring under 5.1. Using Lists as Queues? > > > > 1st.append produced a new error message. > > > > Hal > > > > Sent from Surface > > > > > > > From: Martin Falatic > Sent: ???Tuesday???, ???July??? ???28???, ???2015 ???1???:???55??? ???PM > To: ltc.hotspot at gmail.com > Cc: baypiggies at python.org > > > > > > > First of all, you can't use split() on a list. > > > Second, you have lots of typos... you're calling things like "append" on > the data type, not the variable you created (list.append versus > lst.append(something). Read the man pages... e.g., > https://docs.python.org/2/tutorial/datastructures.html > > > - Marty From simeonf at gmail.com Wed Jul 29 00:40:31 2015 From: simeonf at gmail.com (Simeon Franklin) Date: Tue, 28 Jul 2015 15:40:31 -0700 Subject: [Baypiggies] line error on no. 7 In-Reply-To: <55b7e31f.e67c460a.1bb8.255c@mx.google.com> References: <55b7e31f.e67c460a.1bb8.255c@mx.google.com> Message-ID: Hey Hal - The errors in your code seem to me to come from trying to run before you can walk. Let me give you one example of what should be going through your head: >>> list.split() Why doesn't this work? Well - you have to understand every individual piece of this statement. Start with "list" - that's a builtin data type in Python. The builtins are the things you automatically have access to without importing. If you open a brand new python shell and type list you'll see that list is already there! $ python >>> list Next is the "." character. The dot is the attribute operator which allows you to look inside the thing on the left for the thing on the right. The thing on the left is the list type and the thing on the right is named split. Lastly the line has parens "()" which is the call operator. This implies that "split" is a thing in list and the kind of thing is something you can call - a function or a method. If I try to run this line of code I get an error: >>> list.split() Traceback (most recent call last): File "", line 1, in AttributeError: type object 'list' has no attribute 'split' What this is telling me is that the list type has no attribute called split. I could retrieve all the attributes by using another builtin "dir" to verify that this is so: >>> dir(list) [... a bunch of __ugly__ attributes and then... 'append', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort'] Aha! The list type has append, count, extend, index, insert, pop, remove, reverse, sort methods. There is no split method on lists and that's why this line of code crashes... You might already know all this stuff but my impression is you are trying to debug a program without understanding the basics - you don't know how to solve your own problems yet because you don't have a firm understanding of the basic syntax and concepts in python. Don't feel bad! Everybody is there when they are learning a new language - when I read Haskell code I spend a lot of time saying "I don't know have any idea what this piece of punctuation even means!" But if you're not an experienced developer it helps a lot to get a grounding in the basics of a language before you try to solve problems with it. I'd really recommend you try something like Learn Python the Hard Way - see http://learnpythonthehardway.org/book/ for the free book. Work through each chapter and don't skip any of the exercises. By the time you hit chapter 10 you ought to be able to complete the exercise you're working on right now and understand each and every line... I know it feels like a step back to review basic material instead of working on your problem. But it might be more efficient in the long run - I'm sure it feels frustrating to be blocked and waiting for email responses from the list... On Tue, Jul 28, 2015 at 1:14 PM, wrote: > Hi Everyone, > > I'm writing python code to read a data text file, split the file into a > list of words using the split(function) and to print the results in > alphabetical order. > > The raw python code is located at http://tinyurl.com/oua9uqx > > The sample data is located at > http://tinyurl.com/odt9nhe > > > Desired Output: ['Arise', 'But', 'It', 'Juliet', 'Who', 'already', 'and', > 'breaks', 'east', 'envious', 'fair', 'grief', 'is', 'kill', 'light', > 'moon', 'pale', 'sick', 'soft', 'sun', 'the', 'through', 'what', 'window', > 'with', 'yonder'] > > There is a line error on no. 7 > What is the cause of this error? > > > Regards, > Hal > > Sent from Surface > > > _______________________________________________ > 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 ltc.hotspot at gmail.com Wed Jul 29 01:39:03 2015 From: ltc.hotspot at gmail.com (ltc.hotspot at gmail.com) Date: Tue, 28 Jul 2015 23:39:03 +0000 Subject: [Baypiggies] =?utf-8?q?String_Attribute?= Message-ID: <55b812cd.0365420a.1f43.532f@mx.google.com> Hi Everyone: What is the source of the syntax error to the String Attribute? Go to the following URL links and view a copy of the raw data file code and sample data: 1.) http://tinyurl.com/p2xxxhl 2.) http://tinyurl.com/nclg6pq Here is the desired output: stephen.marquard at uct.ac.za louis at media.berkeley.edu .... Hal Sent from Surface -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin at falatic.com Wed Jul 29 01:59:50 2015 From: martin at falatic.com (Martin Falatic) Date: Tue, 28 Jul 2015 16:59:50 -0700 Subject: [Baypiggies] String Attribute In-Reply-To: <55b812cd.0365420a.1f43.532f@mx.google.com> References: <55b812cd.0365420a.1f43.532f@mx.google.com> Message-ID: <3709B926-7F01-4FD9-B510-5183CE433156@falatic.com> I'm confused as to why you are now opening the file after evidently processing the filename as the whole input string. Check your logic here... Perhaps rename your variables more verbosely to help clarify for yourself what they are meant to be doing as you go along. Marty On July 28, 2015 4:39:03 PM PDT, ltc.hotspot at gmail.com wrote: > > > >Hi Everyone: > > >What is the source of the syntax error to the String Attribute? > > > >Go to the following URL links and view a copy of the raw data file code >and sample data: > > >1.) http://tinyurl.com/p2xxxhl >2.) http://tinyurl.com/nclg6pq > > >Here is the desired output: > > >stephen.marquard at uct.ac.za >louis at media.berkeley.edu >.... > > > >Hal > > > > > > >Sent from Surface > >------------------------------------------------------------------------ > >_______________________________________________ >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 simeonf at gmail.com Wed Jul 29 02:11:40 2015 From: simeonf at gmail.com (Simeon Franklin) Date: Tue, 28 Jul 2015 17:11:40 -0700 Subject: [Baypiggies] String Attribute In-Reply-To: <55b812cd.0365420a.1f43.532f@mx.google.com> References: <55b812cd.0365420a.1f43.532f@mx.google.com> Message-ID: Same deal. Your code crashes with: AttributeError: 'str' object has no attribute 'startwith' and when I investigate I see that the problem is that your code has a typo. See it? $ python >>> dir(str) # what are the attributes of str? [... omitting some output... 'split', 'splitlines', 'start*s*with', 'strip', 'swapcase', 'title', 'translate', 'upper', 'zfill'] I made a video explanation as well - https://youtu.be/GJtj7Mg6jNU On Tue, Jul 28, 2015 at 4:39 PM, wrote: > > > Hi Everyone: > > What is the source of the syntax error to the String Attribute? > > > Go to the following URL links and view a copy of the raw data file code > and sample data: > > 1.) http://tinyurl.com/p2xxxhl > 2.) http://tinyurl.com/nclg6pq > > Here is the desired output: > > stephen.marquard at uct.ac.za > louis at media.berkeley.edu > .... > > > Hal > > Sent from Surface > > > _______________________________________________ > 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 stan at powwowenergy.com Wed Jul 29 02:12:03 2015 From: stan at powwowenergy.com (Stan Knutson) Date: Wed, 29 Jul 2015 00:12:03 +0000 Subject: [Baypiggies] Job opening for experienced Python/Django developer - come to help save water and improve agriculture at PowWow Energy Message-ID: We are looking for an experienced and passionate developer committed to making a difference in the world by helping farmers reduce their water usage by up to 20%. We are a leading AgTech startup and winner of the National Cleantech Open in 2013. We just closed our funding, including getting a state grant. Full job description is below. If you have at least 5 years' experience, please send you resume to jobs at powwowenergy.com. Stan Knutson VP Software Development PowWow Energy Redwood City, CA The full description: We are looking for a talented full stack developer to join an award winning start-up. You'd be joining an experienced entrepreneurial team in creating software that delivers answers to farmers in the field to assist them in their daily operation, and as a by-product save significant water and energy. You should be a team player with demonstrated ability to build applications. As a member of the software development team, you must be self-starting with the ability to help figure out what we need to do, then do it with a positive attitude. Our current software stack is JQuery and Google Maps on the client side, with Python / Django on the server side, using PostGIS as the database. Required skills: * Python and Linux (Ubuntu) experience * Relational database and SQL experience, ideally with Postgres * Minimum 7 years working professionally as developer, preferably with a SaaS product * Significant Javascript/CSS3/HTML5 experience, preferably with JQuery and Bootstrap * B.S. in software engineering or computer science Highly desired skills: * Experience scaling an application to large data sets * Experience with GIS implementations systems like PostGIS * Operational experience with AWS * Experience working with Google Maps API or similar mapping tools * M.S. in computer science or experience as software lead in a VC-backed start-up What's in it for you? * Join an award winning start-up at an early-stage * Have an impact on agriculture and water sector * Becoming part of an experienced entrepreneurial team * Room for growth and ability to help define the culture of the company PRODUCT PowWow Energy (www.powwowenergy.com) is a SaaS company that leverages its Big Data platform to help growers in their daily operations, and save water and energy. Unlike existing solutions that use expensive hardware devices or require tedious work from consultants, our cloud-based machine learning platform provides simple answers to farmers with no up-front capital costs. We provide an integrated water and crop management solution for up to $50 per acre. Our suite of applications includes the Pump Monitor(tm), which provides automated water records by leveraging existing smart meters from power utilities. It protects farmers from the operational downsides of anomalies such as leaks or falling water tables. The Irrigation Advisor(tm) simplifies irrigation scheduling solution by integrating data from the cloud (weather data and aerial images) and from local farm records (nutrient application and on-site sensors). Growers receive simple text messages in the field, not more data at the office. WHY US? Our team of experienced entrepreneurs won the 2013 Clean Tech Open over 400 other startups, and closed first revenue in less than a year with Central Valley farmers. If you like working hard on a big problem and love food... don't look further! You are home. We are developing a Machine Learning platform that combines energy data, sensor data, and aerial imagery to deliver answers to farmers so they can improve yield and save water. A typical month will take you from Silicon Valley (software development in collaborative team) to a field in Central Valley or on the coast (our growers are awesome and have a big impact on their community). We are working on one of the big problems that the world faces today: produce food for 9 billion people with less water by 2050. It is a daunting task that will take the expertise of agriculture ("Ag"), and the best of technology (Tech). Hence AgTech. It is the fastest growing segment in venture funding, and we are on a mission because our customers depend on us. From bdbaddog at gmail.com Wed Jul 29 06:43:19 2015 From: bdbaddog at gmail.com (William Deegan) Date: Tue, 28 Jul 2015 21:43:19 -0700 Subject: [Baypiggies] String Attribute In-Reply-To: References: <55b812cd.0365420a.1f43.532f@mx.google.com> Message-ID: Clearly this guy is trying to use the mailing list as a tutor instead of actually reading tutorials and working through them online. He was on before with a different email address doing the same thing... On Tue, Jul 28, 2015 at 5:11 PM, Simeon Franklin wrote: > Same deal. Your code crashes with: > > AttributeError: 'str' object has no attribute 'startwith' > > > and when I investigate I see that the problem is that your code has a > typo. See it? > $ python > >>> dir(str) # what are the attributes of str? > [... omitting some output... 'split', 'splitlines', 'start*s*with', > 'strip', 'swapcase', 'title', 'translate', 'upper', 'zfill'] > > I made a video explanation as well - https://youtu.be/GJtj7Mg6jNU > > > On Tue, Jul 28, 2015 at 4:39 PM, wrote: > >> >> >> Hi Everyone: >> >> What is the source of the syntax error to the String Attribute? >> >> >> Go to the following URL links and view a copy of the raw data file code >> and sample data: >> >> 1.) http://tinyurl.com/p2xxxhl >> 2.) http://tinyurl.com/nclg6pq >> >> Here is the desired output: >> >> stephen.marquard at uct.ac.za >> louis at media.berkeley.edu >> .... >> >> >> Hal >> >> Sent from Surface >> >> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> https://mail.python.org/mailman/listinfo/baypiggies >> > > > _______________________________________________ > 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 ltc.hotspot at gmail.com Wed Jul 29 06:49:08 2015 From: ltc.hotspot at gmail.com (ltc.hotspot at gmail.com) Date: Wed, 29 Jul 2015 04:49:08 +0000 Subject: [Baypiggies] =?utf-8?q?String_Attribute?= In-Reply-To: References: <55b812cd.0365420a.1f43.532f@mx.google.com> , Message-ID: <55b85cc6.6433460a.7f0e8.764c@mx.google.com> Hi Everyone, Let me put an end to the birther conspiracy movement. There is nothing nefarious, a listed subscribers sent the following message: ?* You usually end up in my spam folder because your e-mail address has "admin" in it; I doubt I'm the only one with spam filters set that way. You might want to fix that, but of course that would result in the inconvenience of telling everyone that your address has changed.? >>Clearly this guy is trying to use the mailing list as a tutor instead of actually reading tutorials and working through them online. I?m sorry, I don?t have a 120 IQ level. Regards, Hal Sent from Surface From: William Deegan Sent: ?Tuesday?, ?July? ?28?, ?2015 ?9?:?43? ?PM To: Simeon Franklin Cc: ltc.hotspot at gmail.com, baypiggies at python.org Clearly this guy is trying to use the mailing list as a tutor instead of actually reading tutorials and working through them online. He was on before with a different email address doing the same thing... -------------- next part -------------- An HTML attachment was scrubbed... URL: From bdbaddog at gmail.com Wed Jul 29 07:21:24 2015 From: bdbaddog at gmail.com (William Deegan) Date: Tue, 28 Jul 2015 22:21:24 -0700 Subject: [Baypiggies] String Attribute In-Reply-To: <55b85cc6.6433460a.7f0e8.764c@mx.google.com> References: <55b812cd.0365420a.1f43.532f@mx.google.com> <55b85cc6.6433460a.7f0e8.764c@mx.google.com> Message-ID: Hal, I recommend using something like this for learning python: http://www.learnpython.org/ It's pretty good and will give you feedback when you make mistakes. -Bill On Tue, Jul 28, 2015 at 9:49 PM, wrote: > Hi Everyone, > > Let me put an end to the birther conspiracy movement. > > There is nothing nefarious, a listed subscribers sent the following > message: > > ?* You usually end up in my spam folder because your e-mail address has > "admin" in it; I doubt I'm the only one with spam filters set that way. > You might want to fix that, but of course that would result in the > inconvenience of telling everyone that your address has changed.? > > >>Clearly this guy is trying to use the mailing list as a tutor instead of > actually reading tutorials and working through them online. > > I?m sorry, I don?t have a 120 IQ level. > > Regards, > Hal > > Sent from Surface > > *From:* William Deegan > *Sent:* ?Tuesday?, ?July? ?28?, ?2015 ?9?:?43? ?PM > *To:* Simeon Franklin > *Cc:* ltc.hotspot at gmail.com, baypiggies at python.org > > Clearly this guy is trying to use the mailing list as a tutor instead of > actually reading tutorials and working through them online. > > He was on before with a different email address doing the same thing... > > > >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.francis at mail.mcgill.ca Wed Jul 29 17:40:34 2015 From: andrew.francis at mail.mcgill.ca (Andrew Francis) Date: Wed, 29 Jul 2015 15:40:34 +0000 Subject: [Baypiggies] line error on no. 7 (ltc.hotspot@gmail.com) In-Reply-To: References: Message-ID: Hi Hal: I took a look at your code. Reading a line (which is a string) at a time from the file is okay. However you want to do a strip() to get rid of line breaks, then do a split() to get the parsed word list. After than you want to add the parsed list to a list of all the words. Keeping with the spirit of what you are doing, here is a sketch: my_list = [] with open(some_file_name) as f: for line in f: my_list.extend(line.strip().split(" ")) my_list.sort() print my_list Cheers, Andrew Message: 1 Date: Tue, 28 Jul 2015 20:14:22 +0000 From: To: "=?utf-8?Q?baypiggies at python.org?=" Subject: [Baypiggies] line error on no. 7 Message-ID: <55b7e31f.e67c460a.1bb8.255c at mx.google.com> Content-Type: text/plain; charset="utf-8" Hi Everyone, I'm writing python code to read a data text file, split the file into a list of words using the split(function) and to print the results in alphabetical order. The raw python code is located at http://tinyurl.com/oua9uqx The sample data is located at http://tinyurl.com/odt9nhe Desired Output: ['Arise', 'But', 'It', 'Juliet', 'Who', 'already', 'and', 'breaks', 'east', 'envious', 'fair', 'grief', 'is', 'kill', 'light', 'moon', 'pale', 'sick', 'soft', 'sun', 'the', 'through', 'what', 'window', 'with', 'yonder'] There is a line error on no. 7 What is the cause of this error? Regards, Hal Sent from Surface -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ Message: 2 Date: Tue, 28 Jul 2015 13:55:36 -0700 (PDT) From: "Martin Falatic" To: ltc.hotspot at gmail.com Cc: "baypiggies at python.org" Subject: Re: [Baypiggies] line error on no. 7 Message-ID: <7267.24.7.60.89.1438116936.squirrel at martin-wwwss5.ssl.supercp.com> Content-Type: text/plain;charset=iso-8859-1 First of all, you can't use split() on a list. Second, you have lots of typos... you're calling things like "append" on the data type, not the variable you created (list.append versus lst.append(something). Read the man pages... e.g., https://docs.python.org/2/tutorial/datastructures.html - Marty On Tue, July 28, 2015 13:14, ltc.hotspot at gmail.com wrote: > Hi Everyone, > > > > I'm writing python code to read a data text file, split the file into a > list of words using the split(function) and to print the results in > alphabetical order. > > > The raw python code is located at http://tinyurl.com/oua9uqx > > > > The sample data is located at > http://tinyurl.com/odt9nhe > > > > > Desired Output: ['Arise', 'But', 'It', 'Juliet', 'Who', 'already', 'and', > 'breaks', 'east', 'envious', 'fair', 'grief', 'is', 'kill', 'light', > 'moon', 'pale', 'sick', 'soft', 'sun', 'the', 'through', 'what', > 'window', 'with', 'yonder'] > > > > There is a line error on no. 7 > What is the cause of this error? > > > > > Regards, > Hal > > > > > > > > Sent from Surface_______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > https://mail.python.org/mailman/listinfo/baypiggies ------------------------------ Message: 3 Date: Tue, 28 Jul 2015 15:00:04 -0700 (PDT) From: "Martin Falatic" To: ltc.hotspot at gmail.com Cc: baypiggies at python.org Subject: Re: [Baypiggies] line error on no. 7 Message-ID: <8595.24.7.60.89.1438120804.squirrel at martin-wwwss5.ssl.supercp.com> Content-Type: text/plain;charset=iso-8859-1 (Keeping replies on the mailing list.) I'm referring to the list data structure and its methods, like append() (but *not* including split()). I'm sure lst.append isn't doing much either without an argument. What's the goal of this exercise? That will help illuminate what you're trying to accomplish. Based on the original pastebin (http://tinyurl.com/oua9uqx) this is what's happening: fname = raw_input("Enter file name: ") fh = open(fname) # Open a file lst = list() # Create a new list for line in fh: # For each line in the file... if fh == list: continue # Eh?? list.split() # Illegal (can't do this to a list and it's on a type anyway) list.append # Not appending anything, and it's on a type not a var too sorted("fh") # You've sorted the string "fh" and assigned result to nothing print line.rstrip() # Finally, we only print the very last line we read. I don't think that's the plan, but that's how the code parses so far. - Marty On Tue, July 28, 2015 14:25, ltc.hotspot at gmail.com wrote: > Marty, > > > Are you referring under 5.1. Using Lists as Queues? > > > > 1st.append produced a new error message. > > > > Hal > > > > Sent from Surface > > > > > > > From: Martin Falatic > Sent: ???Tuesday???, ???July??? ???28???, ???2015 ???1???:???55??? ???PM > To: ltc.hotspot at gmail.com > Cc: baypiggies at python.org > > > > > > > First of all, you can't use split() on a list. > > > Second, you have lots of typos... you're calling things like "append" on > the data type, not the variable you created (list.append versus > lst.append(something). Read the man pages... e.g., > https://docs.python.org/2/tutorial/datastructures.html > > > - Marty ------------------------------ Message: 4 Date: Tue, 28 Jul 2015 15:40:31 -0700 From: Simeon Franklin To: ltc.hotspot at gmail.com Cc: "baypiggies at python.org" Subject: Re: [Baypiggies] line error on no. 7 Message-ID: Content-Type: text/plain; charset="utf-8" Hey Hal - The errors in your code seem to me to come from trying to run before you can walk. Let me give you one example of what should be going through your head: >>> list.split() Why doesn't this work? Well - you have to understand every individual piece of this statement. Start with "list" - that's a builtin data type in Python. The builtins are the things you automatically have access to without importing. If you open a brand new python shell and type list you'll see that list is already there! $ python >>> list Next is the "." character. The dot is the attribute operator which allows you to look inside the thing on the left for the thing on the right. The thing on the left is the list type and the thing on the right is named split. Lastly the line has parens "()" which is the call operator. This implies that "split" is a thing in list and the kind of thing is something you can call - a function or a method. If I try to run this line of code I get an error: >>> list.split() Traceback (most recent call last): File "", line 1, in AttributeError: type object 'list' has no attribute 'split' What this is telling me is that the list type has no attribute called split. I could retrieve all the attributes by using another builtin "dir" to verify that this is so: >>> dir(list) [... a bunch of __ugly__ attributes and then... 'append', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort'] Aha! The list type has append, count, extend, index, insert, pop, remove, reverse, sort methods. There is no split method on lists and that's why this line of code crashes... You might already know all this stuff but my impression is you are trying to debug a program without understanding the basics - you don't know how to solve your own problems yet because you don't have a firm understanding of the basic syntax and concepts in python. Don't feel bad! Everybody is there when they are learning a new language - when I read Haskell code I spend a lot of time saying "I don't know have any idea what this piece of punctuation even means!" But if you're not an experienced developer it helps a lot to get a grounding in the basics of a language before you try to solve problems with it. I'd really recommend you try something like Learn Python the Hard Way - see http://learnpythonthehardway.org/book/ for the free book. Work through each chapter and don't skip any of the exercises. By the time you hit chapter 10 you ought to be able to complete the exercise you're working on right now and understand each and every line... I know it feels like a step back to review basic material instead of working on your problem. But it might be more efficient in the long run - I'm sure it feels frustrating to be blocked and waiting for email responses from the list... On Tue, Jul 28, 2015 at 1:14 PM, wrote: > Hi Everyone, > > I'm writing python code to read a data text file, split the file into a > list of words using the split(function) and to print the results in > alphabetical order. > > The raw python code is located at http://tinyurl.com/oua9uqx > > The sample data is located at > http://tinyurl.com/odt9nhe > > > Desired Output: ['Arise', 'But', 'It', 'Juliet', 'Who', 'already', 'and', > 'breaks', 'east', 'envious', 'fair', 'grief', 'is', 'kill', 'light', > 'moon', 'pale', 'sick', 'soft', 'sun', 'the', 'through', 'what', 'window', > 'with', 'yonder'] > > There is a line error on no. 7 > What is the cause of this error? > > > Regards, > Hal > > Sent from Surface > > > _______________________________________________ > 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: ------------------------------ 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 117, Issue 6 ****************************************** From simeonf at gmail.com Wed Jul 29 18:21:43 2015 From: simeonf at gmail.com (Simeon Franklin) Date: Wed, 29 Jul 2015 09:21:43 -0700 Subject: [Baypiggies] String Attribute In-Reply-To: <55b85cc6.6433460a.7f0e8.764c@mx.google.com> References: <55b812cd.0365420a.1f43.532f@mx.google.com> <55b85cc6.6433460a.7f0e8.764c@mx.google.com> Message-ID: Hey Hal - I think Bill is just suggesting that the mailing list doesn't make a very good tutor - at the best you have to wait for emails every time you make a syntax error (and there are always lots of those in the beginning). I spend a lot of effort trying to make sure that the Python community I'm involved with is welcoming to beginners so I'm not at all going to tell you to go away. I would encourage you to email me your syntax errors directly instead of going to the whole list - it's a low traffic list and most subscribers probably don't want a bunch of emails all of which are essentially just helping you debug your program. I'd also encourage you to come out to the "Project Night" SF Python Meetup hosts on the 3rd Wednesday of each month. We have many mentors happy to answer your questions in person and you'll make progress fast that way. We don't have the next event posted yet but keep an eye open for a Project Night announcement on http://sfpythonmeetup.com. Finally when I recommend doing "Learn Python the Hard Way" or Bill recommends http://www.learnppython.org it isn't because we're trying to get rid of you or expect you to be a self-taught genius. Those are resources talented people have put a lot of effort into to make it as *easy as possible* for you to learn to program in Python. It does seem like more fun to strike out on your own and try to solve problems - and it is more fun if you can actually make progress. I bet you'd have more fun and make faster progress if you spent some time in one of these excellent online tutorials. - best Simeon -------------- next part -------------- An HTML attachment was scrubbed... URL: From psam1304 at gmail.com Wed Jul 29 21:01:12 2015 From: psam1304 at gmail.com (Phu Sam) Date: Wed, 29 Jul 2015 12:01:12 -0700 Subject: [Baypiggies] String Attribute In-Reply-To: <1438127743513.656239125@boxbe> References: <1438127743513.656239125@boxbe> Message-ID: Line 7 to 9 in your code do not make sense. For example in line 7, you cannot split 'list' as it is a keyword Try this: fh=open(file,'r') lst = list() for line in fh: lst.append(line.split()) # Merge list of lists slist=[item for sublist in lst for item in sublist] # Sort list slist.sort() print line.rstrip() fh.close() Phu On Tue, Jul 28, 2015 at 4:39 PM, wrote: > [image: Boxbe] This message is eligible > for Automatic Cleanup! (ltc.hotspot at gmail.com) Add cleanup rule > > | More info > > > > > Hi Everyone: > > What is the source of the syntax error to the String Attribute? > > > Go to the following URL links and view a copy of the raw data file code > and sample data: > > 1.) http://tinyurl.com/p2xxxhl > 2.) http://tinyurl.com/nclg6pq > > Here is the desired output: > > stephen.marquard at uct.ac.za > louis at media.berkeley.edu > .... > > > Hal > > Sent from Surface > > > _______________________________________________ > 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 psam1304 at gmail.com Wed Jul 29 21:05:12 2015 From: psam1304 at gmail.com (Phu Sam) Date: Wed, 29 Jul 2015 12:05:12 -0700 Subject: [Baypiggies] String Attribute In-Reply-To: References: <1438127743513.656239125@boxbe> Message-ID: Correction from my last reply (print statement near the end) fh=open(file,'r') lst = list() for line in fh: lst.append(line.split()) # Merge list of lists slist=[item for sublist in lst for item in sublist] # Sort list slist.sort() print slist #### correction from last post fh.close() Phu On Wed, Jul 29, 2015 at 12:01 PM, Phu Sam wrote: > Line 7 to 9 in your code do not make sense. > For example in line 7, you cannot split 'list' as it is a keyword > > Try this: > > fh=open(file,'r') > lst = list() > for line in fh: > lst.append(line.split()) > > # Merge list of lists > slist=[item for sublist in lst for item in sublist] > # Sort list > slist.sort() > print line.rstrip() > fh.close() > > > Phu > > On Tue, Jul 28, 2015 at 4:39 PM, wrote: > >> [image: Boxbe] This message is >> eligible for Automatic Cleanup! (ltc.hotspot at gmail.com) Add cleanup rule >> >> | More info >> >> >> >> >> Hi Everyone: >> >> What is the source of the syntax error to the String Attribute? >> >> >> Go to the following URL links and view a copy of the raw data file code >> and sample data: >> >> 1.) http://tinyurl.com/p2xxxhl >> 2.) http://tinyurl.com/nclg6pq >> >> Here is the desired output: >> >> stephen.marquard at uct.ac.za >> louis at media.berkeley.edu >> .... >> >> >> Hal >> >> Sent from Surface >> >> >> _______________________________________________ >> 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: