Python installation on windows

windows
python

#1

Hi there,

I am new to Python. Is their any link that explains python installation and how to start.

Regards,
SK


#2

Hi @Swaty,

Since you are new to python, you can go through this course which provides a lot of resources to learn Python:

This course contains the installation guide for Python for windows users. So, you can register for the course and learn the basics of Python.


#3

Thanks Pulkit… Will check that and will ping in case of any issue.

M new to Python and not Analytics per se, thus need basic info on Python prog. Is it like R and how tough will it be for the transition from R?

Regards,
SK


#4

HI @Swaty,

Since you do have a background in R, it will be easy to get hold of python. Syntax in python are quite simple and easy to understand. Switching from R to python will not be a problem. Here is an article you might find useful :


#5

Thanks Aishwarya…


#6

How to run python on colab?

Regards,
Swaty


#7
  1. Sign-in to your Google account.
  2. Open link colab.research.google.com.
  3. Click on the bottom right corner of the window to create a notebook(Python 2 / Python 3).
  4. A folder named Colab Notebooks will be automatically created in your Google drive Containing colab notebooks.
  5. Run these codes first in order to install the necessary libraries and perform authorization.

!apt-get install -y -qq software-properties-common python-software-properties module-init-tools
!add-apt-repository -y ppa:alessandro-strada/ppa 2>&1 > /dev/null
!apt-get update -qq 2>&1 > /dev/null
!apt-get -y install -qq google-drive-ocamlfuse fuse
from google.colab import auth
auth.authenticate_user()
from oauth2client.client import GoogleCredentials
creds = GoogleCredentials.get_application_default()
import getpass
!google-drive-ocamlfuse -headless -id={creds.client_id} -secret={creds.client_secret} < /dev/null 2>&1 | grep URL
vcode = getpass.getpass()
!echo {vcode} | google-drive-ocamlfuse -headless -id={creds.client_id} -secret={creds.client_secret}

  1. Click the link, copy verification code and paste it into the text box.
  2. To mount the Google drive use the command in your notebook.

!mkdir -p drive
!google-drive-ocamlfuse drive