Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lijin-THU/notes-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
Loading
...
head repository: dou3516/notes-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 1 file changed
  • 1 contributor

Commits on Feb 16, 2019

  1. Add encoding='utf-8' for open function

    Windows takes 'gbk' as default, which lead to error ''gbk' codec can't encode character '. Add encoding='utf-8' for open function.
    dou3516 authored Feb 16, 2019
    Configuration menu
    Copy the full SHA
    ea8c963 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from dou3516/dou3516-patch-1

    Add encoding='utf-8' for open function
    dou3516 authored Feb 16, 2019
    Configuration menu
    Copy the full SHA
    a1f97d5 View commit details
    Browse the repository at this point in the history
  3. Delete .encode(\"utf-8\") for str

    Keep str rather than bytes, encode will convert str to bytes, which will lead to error.
    dou3516 authored Feb 16, 2019
    Configuration menu
    Copy the full SHA
    64082d4 View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.