Skip to content

str没有decode这个属性? #5

Open

Description

@chez314

AttributeError: 'str' object has no attribute 'decode'

Activity

  1. changed the title [-]是不是python3.6是utf-8编码,所以str没有decode这个属性?[/-] [+]str没有decode这个属性?[/+] on Jan 5, 2017
  2. ethan-funny commented on Jan 5, 2017

    @ethan-funny
    Owner

    Python3 字符串默认都是 Unicode 类型,不用 decode,也没有 decode 方法。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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