Getting Started Programming with Python. ( part — 2 )

python guide from scratch

Udara Gangabadage
The Xlog.
4 min readMay 29, 2018

--

Hitesh Choudhary, (2018), Python [ONLINE]. Available at: https://unsplash.com/photos/D9Zow2REm8U [Accessed 26 May 2018].

It is time to put Python on your computer.

Configurations on the workspace

Installation is pretty straight, but give yourself some time for this step to make sure you have time to download & finish your installation.

But we have to do few things first!

In this guide we will use Python within a development environment, for learning we We will use the Jupiter Notebook System.

If you are an experienced programmer, you can choose any IDE you want 👍

The most common way to install Python and Jupiter notebook system is using the ANACONDA Distribution.

Then i think going with Anaconda Distribution is better.

Let’s get started!

first you have to download Anaconda Ditro

Anaconda Distribution >>> https://anaconda.org

Home Page of Anaconda.org

And don’t worry Anaconda Disto support for Microsoft Windows , Mac OS X and Linux bit of every scenario.

Download Page of Anaconda.org

Important !

This guide will lead with Python 2.7 version. If you have any experience with python feel free to download Python 3.6 version or future Latest versions.

I am not going to do installing process for every operating system. I will show you how to install Anaconda distribution on Mac OS X. Otherwise you can easily install this on your devices.

If you are using Microsoft Windows,

  • first you have to find bit ( 64-Bit/32-Bit ) on your computer.
  • then download graphical installer for your computer.
Anaconda distro for Microsoft Windows
  • now you can execute easily .exe file and follow instructions 😋

If you are using Linux disto,

• you can download 64-Bit/32-Bit installer for your computer.

Anaconda distro for Linux
  • then your browser will download .sh file for your computer.
Anaconda2–5.1.0-linux-x86_64.sh file download preview
  • then you can give your file path for your download folder in your terminal . and execute .sh file using this commands.
Step — 01 Commands executing on terminal
Step — 02 Commands executing on terminal
Step — 03 Commands executing on terminal

if you have any errors run this commands with administrative powers.

If you are using Mac OS X,

  • there is only one option, you can choose your installer for your computer.
Anaconda distro for Mac OS X
  • Your browser will download .pkg file for your computer.
Anaconda2–5.1.0-MacOSX-x86_64.pkg file download preview
  • Now execute .pkg file you have downloaded.
  • Then accept rules and regulation of the distribution.
  • Stick with default destination path & installation type for installation.
  • Give time and let the installation finish.
  • Finally install vs code and finish your installation.
  • After that you can try python on terminal.
Python on terminal

Hello Python*

Hello Python*
  • Lets try Jupiter notebook*
  • If Jupiter notebook system is working this will automatically popup.
Jupiter notebook system preview
  • You can Python conda / Python 2 for your notebook it will see like this.
Jupiter notebook system
  • Then you can create a new note book and run some python statements.
python on Jupiter notebook system

That is basically it as far as installation if you have any question you can just post a question in comment section.

All right lets move on.

feel free to hugs & bugs ️👻

--

--

Udara Gangabadage
The Xlog.

For Fatherland Forever🇱🇰 Plymouth Computer Security Grad | Engineer | Strategy | Security | Geopolitics | Climate Change