Python Coding Tools

This is part of the “Intro to Data Analysis with Python” series of posts, with content from the Enki app. If you stumbled upon this, you could start from the beginning.

Before we start coding, we have to decide which tool we're going to use.

One important category split between most tools is whether they're accessible offline or online.

The main difference is that online tools are immediately available (assuming you have an internet connection) and usually come with all the necessary libraries[1] included (no need to install anything).

Offline tools need to be installed first, including any library you might need, but can afterwards be used without internet.

💡 A popular kind of Python coding tool (available both offline and online) is called a notebook.

Notebooks offer interactive Python environments that can combine code with other visual elements such as text, charts, and images.

One offline tool that lets you use notebooks is VScode[2]

As for online tools, here're two:

Name Unique Feature
Google Colab Real-time collaboration
Cocalc Collaboration based on edit history

For some in-depth information on these tools and more, check out the Learn More section.

💡 We will be using Jupyter Lab in this course. All of our examples will be available online. If you prefer to run Jupyter Lab offline, here's how you can install it using pip[3] or anaconda[4].
💡 All of the tools mentioned above have support for Jupyter notebooks. It doesn't matter which tool you choose to work on, you can still follow along.

Footnotes

[1: Libraries]

Think of libraries as external programs you can use to quickly get some functionality you don't want to write by yourself.

For example, if you wanted to draw plots and charts, you'd typically use an existing charting library instead of writing all the code for graphical and spatial calculations yourself.

Most online Python environments come with popular libraries pre-installed.

[2: VSCode]

VScode is an advanced text editor with extensions that let you edit, modify, delete, create and run notebooks.

[3:pip]

pip is a package manager for Python.

💡 When installing through pip you first have to make sure pip is upgraded to the latest version.

To upgrade:

If you don't have pip, download the latest python installer from the official website and make sure the checkbox for pip is ticked on.

💡 Along with Jupyter we'll also install iPython.

[4:Anaconda]

Anaconda is a package and environment manager for Python and R. It provides a graphical user interface and a terminal.

To download Anaconda visit their official website link.

💡 Along with Jupyter we'll also install iPython.

Learn More

Chat with us to learn more

Continue reading

Our newsletter

Get the best curated articles

No spam!