[Tutor] String Attribute
Steven D'Aprano
steve at pearwood.info
Wed Jul 29 16:42:11 CEST 2015
On Tue, Jul 28, 2015 at 11:33:53PM +0000, 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:
Please don't send people to URLs to view your code. Copy and paste it
into the body of your email.
> 1.) http://tinyurl.com/p2xxxhl
Running the code in the simulator, I get the following error on line 6:
AttributeError: 'str' object has no attribute 'startwith'
You misspelled "startswith" as "startwith" (missing the second "s").
--
Steve
More information about the Tutor
mailing list