Analytics Vidhya
Published in

Analytics Vidhya

The easiest way to run python

No need to download multiple software and update paths just to run some code on python

For the beginner just starting to learn to code or experts switching from a different platform or language, setting up your interface, your tools, and configurations for a new language is always a hassle. Getting the correct version, having proper compatibility, and updating the current configuration takes up a lot of valuable time and effort just to run some part of the code.

Photo by Safar Safarov on Unsplash
  1. Anaconda Navigator

One of the most common ways programmers learn and run the code is using Ananconda Navigator and Jupyter Notebook. This is very popular in up and coming students, nonprogrammers trying to get into python, analytics people looking for just comparisons and output realtime.

Photo by author
Photo by author

It is quite straightforward, however, navigating through new libraries and packages might become chaotic sometimes.

2. Command prompt

Photo by author

Install python, write code in any notes application, save the file as .py extension, and run the code through command prompt.

The issue with this method is the lack of GUI, have to remember all the syntax, and just navigating through the command line is not easy

3. Google Colaboratory

Photo by author

The easiest way to run python code. It has getting started modules for introductions and understanding the interface, however even if one doesn’t want to do that, you can just write or copy the existing code you have and run it instantly.

It has a direct interface with google drive, and you can run complex machine learning algorithms as well as simple if-else statements. It is a jupyter notebook on the web and has all the advantages of drive, like sharing, accessibility, one-click search for errors.

If you are a beginner or want to try out with programming, machine learning, data science, or coding in general Google Colaboratory is one of the best resources out there.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store