Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Contributor: Ravishankar ChavareHow to set up or install python in your local machine
#1
For Windows machine Download appropriate python version from below link
-----------------------------------------------------
For Windows Machine

-----------------------------------------------------
Legacy version 2.x
python version 3.x present and future 
You will find out all version of python here



For Linux Flaveour


[/size][/size]
Code:
This is Example tested on  CentOS/RHEL 7
change wget link according to python version
# wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz
# tar xJf Python-3.6.3.tar.xz
# cd Python-3.6.3
# ./configure
# make
# make install



if you don't know the difference between legacy version and present version of python then read this tutorial here


There are following ways to use python

1.Python Shell- this is used to run command line by line.


2.IDLE GUI - lets you write more complex scripts, and run them in one go.

3.Text Editor - Here You can Use Any Text Editor like notepad,sublime,Brackets,Notepad++ or any other after writing the full code save that file as .py extension and run that python file into shell py using 

Code:
>>python filename.py
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)