In Python 3.4, `quote, unquote` is moved to `urllib.parse`

```
>>>from urllib.parse import quote, unquote
>>>slug = quote('/profile/guido van')
>>>slug
'/profile/guido%20van'
>>>unquote(slug)
'/profile/guido van'
```



On Fri, Mar 20, 2015 at 10:56 PM, Gora Mohanty <g...@mimirtech.com> wrote:

> On 20 March 2015 at 22:11, Nimish Dalal <nimish.s.da...@gmail.com> wrote:
> >
> > I installed Anaconda version 2.1.0 python 3.4.1
> >
>
> Unfortunately, I am not really conversant with Python3, but I think that
> there
> you would need:
>    from urllib.parse import unquote
>
> Regards,
> Gora
> _______________________________________________
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>



-- 

*Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus
Torvaldshttp://kracekumar.com <http://kracekumar.com>*
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to