fork download
  1. C:\Users\IvanIvan>python
  2. Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32
  3. Type "help", "copyright", "credits" or "license" for more information.
  4. >>> import requests
  5. >>> response = requests.get('https://r...content-available-to-author-only...a.org/w/api.php?action=query&list=backlinks&bltitle=%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0&bllimit=10&blfilterredir=redirects&format=json').json()
  6. >>> print(str(response))
  7. Traceback (most recent call last):
  8. File "<stdin>", line 1, in <module>
  9. File "C:\Python34\lib\encodings\cp866.py", line 19, in encode
  10. return codecs.charmap_encode(input,self.errors,encoding_map)[0]
  11. UnicodeEncodeError: 'charmap' codec can't encode character '\xd0' in position 549: character maps to <undefined>
  12. >>>
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/py_compile.py", line 117, in compile
    raise py_exc
py_compile.PyCompileError:   File "prog.py", line 1
    C:\Users\IvanIvan>python
     ^
SyntaxError: invalid syntax

stdout
Standard output is empty