from platform import python_version
print(python_version())
This will give you the exact version of python running your script. eg output:
3.6.5
More Related Contents:
- Configuring Spark to work with Jupyter Notebook and Anaconda
- Installing a pip package from within a Jupyter Notebook not working
- can anyone solve it for me [closed]
- How do I increase the cell width of the Jupyter/ipython notebook in my browser?
- “ImportError: No module named” when trying to run Python script
- How do I get the current IPython / Jupyter Notebook name
- How to use Jupyter notebooks in a conda environment?
- How to add conda environment to jupyter lab
- Running Jupyter via command line on Windows
- How to load/edit/run/save text files (.py) into an IPython notebook cell?
- Link Conda environment with Jupyter Notebook
- How can I share Jupyter notebooks with non-programmers? [closed]
- Get Output From the logging Module in IPython Notebook
- What is the meaning of exclamation and question marks in Jupyter notebook?
- Running Jupyter with multiple Python and IPython paths
- OSError: cannot load library ‘C:\Program Files\R\R-4.0.2\bin\x64\R.dll’: error 0x7e
- How to programmatically generate markdown output in Jupyter notebooks?
- How to embed image or picture in jupyter notebook, either from a local machine or from a web resource?
- How to close IPython Notebook properly?
- Simple way to measure cell execution time in ipython notebook
- How to pickle or store Jupyter (IPython) notebook session for later
- How to disable password request for a Jupyter notebook session?
- Packages from Conda env not found in Jupyer Notebook
- Overwrite previous output in jupyter notebook
- Jupyter python3 notebook cannot recognize pandas
- Plotly chart not showing in Jupyter notebook
- How to fix ipykernel_launcher.py: error: unrecognized arguments in jupyter?
- Execute Python script within Jupyter notebook using a specific virtualenv
- Jupyter Notebook: interactive plot with widgets
- How do I add a kernel on a remote machine in IPython (Jupyter) Notebook?