Re: [BangPypers] ImportError: cannot import name 'unquote'

2015-03-20 Thread Nimish Dalal
Thanks. I should try with this and let you know if I succeed. On Fri, Mar 20, 2015 at 11:48 PM, kracekumar ramaraju < kracethekingma...@gmail.com> wrote: > In Python 3.4, `quote, unquote` is moved to `urllib.parse` > > ``` > >>>from urllib.parse import quote, unquote > >>>slug = quote('/profile/g

Re: [BangPypers] ImportError: cannot import name 'unquote'

2015-03-20 Thread kracekumar ramaraju
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 wrote: > On 20 March 2015 at

Re: [BangPypers] ImportError: cannot import name 'unquote'

2015-03-20 Thread Gora Mohanty
On 20 March 2015 at 22:11, Nimish Dalal 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 ___ Ba

Re: [BangPypers] ImportError: cannot import name 'unquote'

2015-03-20 Thread Nimish Dalal
I installed Anaconda version 2.1.0 python 3.4.1 On Fri, Mar 20, 2015 at 10:09 PM, Nitin Kumar wrote: > Which version of Python are you using. Older version (<2.6) of Python > urllib didn't had unquote. > > Nitin K > > On Fri, Mar 20, 2015 at 8:43 PM, Nimish Dalal > wrote: > > > Guys, I am new t

Re: [BangPypers] ImportError: cannot import name 'unquote'

2015-03-20 Thread Nitin Kumar
Which version of Python are you using. Older version (<2.6) of Python urllib didn't had unquote. Nitin K On Fri, Mar 20, 2015 at 8:43 PM, Nimish Dalal wrote: > Guys, I am new to python. > I am using ipython notebook on windows 7 platform. > > I get an error when I mention "from urllib import un

[BangPypers] ImportError: cannot import name 'unquote'

2015-03-20 Thread Nimish Dalal
Guys, I am new to python. I am using ipython notebook on windows 7 platform. I get an error when I mention "from urllib import unquote" ImportError: cannot import name 'unquote' Thank you in advance. ___ BangPypers mailing list BangPypers@python.org htt