I have been experimenting with the Jupyter notebooks at https://colab.research.google.com , and it seems that by default they run Python 2.7.
Is there any way to enable Python 3 support on CoLab?
Yes! Python3 support is now live in Colab.
When creating a new notebook, there's now an option for Python2 or Python3.
For an existing notebook, Runtime
-> Change runtime type
will let you switch.
We write the language info into the kernelspec
in the notebook metadata, so switching runtime type isn't just per-session.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.