Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (12.7k points)
I'm currently setting up a Matlab-like environment so I downloaded the most recent adaptation/version of python(x,y) with every one of the modules that accompany it and downloaded python 3.4.1. Does python(x,y) not run the most recent variant of python?

I saw in the light of the fact that the python(x,y) shell doesn't auto-compute numerical tasks into floats which I read is a distinction between python 2.x and 3.x. Do I simply need to hang tight for another arrival of (x,y) or am I missing something here?

1 Answer

0 votes
by (26.4k points)

You can cause Python 2 to act equivalent to Python 3 w.r.t. division with the accompanying order; 

from __future__ import division

Imports from __future__ ought to be at the highest point of the document. There is presumably an approach to auto-load this expression (I realize it is conceivable in IPython) yet I'm curious about python(x,y).

Interested to learn python in detail? Come and Join the python course.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 30, 2020 in Python by laddulakshana (12.7k points)

Browse Categories

...