Skip to content

Errors in Python 3 #19

@cztaylor

Description

@cztaylor

I ran into some errors running buildPlayerDictionary in Python 3, and had to make some changes.

For example:

I changed print url to print(url)

and

I changed name_data = n.children.next() to name_data = next(n.children)

There were a few other changes I had to make as well. I am fairly new to Python, but my understanding is that the newer Python 3 syntax is also supported by Python 2, so would it make sense to update the syntax to what works for both?

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