[Baypiggies] String Attribute
simeonf at gmail.com
Wed Jul 29 02:11:40 CEST 2015
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.
>>> 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, <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
> Sent from Surface
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Baypiggies