edlopez

url parse

Mar 20th, 2011
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1. $ python
  2. Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
  3. [GCC 4.4.5] on linux2
  4. Type "help", "copyright", "credits" or "license" for more information.
  5. >>> import urllib
  6. >>> urllib.parse.unquote('%E4%B8%80-order.gif', encoding='utf-8')
  7. Traceback (most recent call last):
  8.   File "<stdin>", line 1, in <module>
  9. AttributeError: 'module' object has no attribute 'parse'
Advertisement
Add Comment
Please, Sign In to add comment