[Baypiggies] String Attribute

William Deegan bdbaddog at gmail.com
Wed Jul 29 06:43:19 CEST 2015


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 <simeonf at gmail.com> 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, <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
>>
>
>
> _______________________________________________
> 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: <http://mail.python.org/pipermail/baypiggies/attachments/20150728/b379e589/attachment.html>


More information about the Baypiggies mailing list