Jupyter

What’s the Meaning of the Exclamation Mark in a Jupyter Notebook?

What many coders using Jupyter notebooks do not know is that Jupyter notebooks provide you the exclamation mark operator that allows you to execute commands on the underlying operating system. In Jupyter notebooks, the exclamation mark ! executes commands from the underlying operating system. For example, to run the list directory command ls in your …

What’s the Meaning of the Exclamation Mark in a Jupyter Notebook? Read More »

How to Check Python Version in Jupyter Notebook?

To check the Python version in your Jupyter notebook, first import the python_version function with “from platform import python_version“. Then call the function python_version() that returns a string with the version number running in your Jupyter notebook such as “3.7.11”. You can try this yourself in our interactive Jupyter notebook: Check Version Information Using sys …

How to Check Python Version in Jupyter Notebook? Read More »

How to Check Your TensorFlow Version in Colab?

To check your TensorFlow version in your Jupyter Notebook such as Google’s Colab, use the following two commands: import tensorflow as tf This imports the TensorFlow library and stores it in the variable named tf. print(tf.__version__) This prints the installed TensorFlow version number in the format x.y.z. The following code example uses the dunder attribute …

How to Check Your TensorFlow Version in Colab? Read More »

How to Run TensorFlow in a Jupyter Notebook?

If you are a machine learning practitioner you might have come across the TensorFlow library. TensorFlow is a popular machine learning library and finds its use in a lot of AI and machine learning applications. In this tutorial you will learn How to install TensorFlow in a virtual environment How to activate your environment in …

How to Run TensorFlow in a Jupyter Notebook? Read More »

How to Create an Interactive Web Application using a Jupyter Notebook

Summary: To create an interactive web application in a Jupyter Notebook, use the three libraries ipywidgets, voila, and binder. This requires only basic Python programming skills without the need to learn a new framework. There are various Python tools available to create web applications and frontend GUIs.  For example, Flask and Django. As useful as …

How to Create an Interactive Web Application using a Jupyter Notebook Read More »