Skip to content

chapter 2 nameList got problem: NoneType object is not callable #69

@EmmaYuan1994

Description

@EmmaYuan1994

hey i type the same code as the book says, and i got this error:

Traceback (most recent call last):
File "C:\Users\hongy\AppData\Local\Programs\Python\Python36\nameList.py", line 5, in
nameList = bsObj.findall('span', {'class':'green'})
TypeError: 'NoneType' object is not callable

im new to python, and cant figure it out by searching google. could you help me with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions