Beginner python ~\ (≧▽≦)/~ la la
As a beginner , I chose to use virtual machines to learn python.
1. Learn python under a Linux virtual machine
python3.5 Download and install
[Email protected] ~]# wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0b4.tgz
Extract:
[Email protected] ~]#tar zxvf python-3.5.0b4.tgz
Installation:
[Email protected] ~]#CD python-3.5.0b4
[Email protected] ~]#./configure
[[email protected] ~]# make
[[email protected] ~]# make install
Success! >>>exit () Exit Python
[Email protected] ~]# python3.5
Python 3.5.0b4 (default, Jan 3 2016, 12:19:39)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on Linux
Type "Help", "copyright", "credits" or "license" for more information.
>>> exit ()
[email protected] ~]#
*************************************************************************
Note: My Linux virtual machine comes with a python2.6 that directly enters Python
[[email protected] ~]# python
Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "Help", "copyright", "credits" or "license" for more InformatioN.
>>> Exit () "Quit Python"
[Email protected] ~]#
Also, press 2 to tab after entering Python to see all the Python versions installed in the Machine (⊙0⊙)
Python Learning notes for small wooden wood