Python Learning notes for small wooden wood

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.