# Is it possible to update the Sage Python?

I noticed Sage can run a Python notebook, but it's 2.7 when I'm used to using 3.x. It is possible to update the Python in Sage? Also I'm on Windows so I'm using the Sage Virtualbox appliance, which might make it impossible. But is it possible in a sage native host like Linux?

Not yet. Sage is on track to switch to Python 3 - see e.g. https://trac.sagemath.org/ticket/15980

A possibility would be to import "things" from the

future.python-future.org/imports.html

docs.python.org/3/library/__future__.html

...stack over post....

For instance:

For reference: since the 9.0 release (1 Jan 2020), SageMath is now based on Python 3.