On Fri, Apr 20, 2018 at 10:23:37AM +0530, D.V.N.Sarma డి.వి.ఎన్.శర్మ wrote: > I have a situation in which the same code gives an error in idle but works > in qtconsole Probably different versions of Python running. What does this say in each of them? import sys print (sys.version) print (sys.executable) -- Steve