To Run Python, you will need 2 software's
Python - to compile and run the code & Jupyter - to manage project and programming using GUI
Both of these are shipped together and Installing Anaconda will take care of both !!
Installing Python & Jupyter
- Download Python sh file from https://www.anaconda.com/distribution/#linux
- Run this command in the folder where Binary was saved in previous step
- bash Anaconda2-5.3.1-Linux-x86_64.sh
Detailed instructions at Anaconda website - https://docs.anaconda.com/anaconda/install/linux/
Running 'Hello' code
Open Jupyter using command
./anaconda2/bin/jupyter-notebook
Type below Python Code after selecting NEW & Select Run
print "Hello Python"
No comments:
Post a Comment