Ubuntu Pastebin

Paste from tsimonq2 at Tue, 29 Mar 2016 00:08:00 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
simon@semantic:~/uwn$ python ./askubuntu/askubuntu.py
/usr/local/lib/python2.7/dist-packages/bs4/__init__.py:166: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html.parser"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.

To get rid of this warning, change this:

 BeautifulSoup([your markup])

to this:

 BeautifulSoup([your markup], "html.parser")

  markup_type=markup_type))
Traceback (most recent call last):
  File "./askubuntu/askubuntu.py", line 30, in <module>
    print output
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 236: ordinal not in range(128)
Download as text