Re: ImportError: No module named 'exceptions' - Python3

2013-08-12 Thread Mike Dewhirst
On 12/08/2013 3:21pm, abhijeet shete wrote: Hi Folks, I ported my project from python2.7 to python3 using 2to3 module. One of my class is inherited from Exception class, but after porting to python3 i am getting *No module named 'exceptions' *error. My class looks something like this

Re: ImportError: No module named 'exceptions' - Python3

2013-08-12 Thread Jani Tiainen
Hi, In Python 3 exceptions module was removed and all standard exceptions were moved to builtin module. Thus meaning that there is no more need to do explicit import of any standard exceptions. On Mon, 12 Aug 2013 10:51:32 +0530 abhijeet shete wrote: > Hi Folks,

ImportError: No module named 'exceptions' - Python3

2013-08-11 Thread abhijeet shete
Hi Folks, I ported my project from python2.7 to python3 using 2to3 module. One of my class is inherited from Exception class, but after porting to python3 i am getting *No module named 'exceptions' *error. My class looks something like this :- *from exceptions import Exception* *class