Alan Gauld via Tutor wrote:
> On 20/04/18 05:53, D.V.N.Sarma డి.వి.ఎన్.శర్మ wrote:
>> I have a situation in which the same code gives an error in idle but
>> works in qtconsole
>> regards,
>>
>> *in idle*
>> v = np.zeros(len(x))
>>
>> for i in range(len(x)):
>> if x[i] < 1.0:
>> v[i
On 20/04/18 05:53, D.V.N.Sarma డి.వి.ఎన్.శర్మ wrote:
> I have a situation in which the same code gives an error in idle but works
> in qtconsole
> regards,
>
> *in idle*
> v = np.zeros(len(x))
>
> for i in range(len(x)):
> if x[i] < 1.0:
> v[i] = 0
You don't give us any clue to what
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.ex