Skip to content

第9单元中, file=sys.err 引发语法错误 #2

@ziyuanjun

Description

@ziyuanjun

语句提示存在语法错误:

print("Could not open %s" % doc, file=sys.err)

目前修改为:

print("Could not open %s" % doc,  sys.err)

参考:
https://github.com/ziyuanjun/PythonDataScience/blob/master/chapter2/u9_urlopen.py

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