0 Basics Python should learn what to start with and how to set up learning steps

Source: Internet
Author: User

As we all know, Python is known for its elegance, simplicity, low threshold, and can be engaged in Linux operations, Python web site engineers, Python automation testing, data analysis, artificial intelligence and other positions, pay rise trend. A lot of people want to learn python, so what are the 0 basic Python learning basics?


python Primer One: Interpreter.

python is an object-oriented, interpretive computer programming language, so you have to understand the interpreter to learn python well. Since the Python language is open source from spec to interpreter, in theory anyone can write a Python interpreter to execute Python code as long as the level is high enough. The common Python interpreter is CPython, IPython, PyPy, Jython, IronPython and so on. The most widely used Python interpreter is the CPython. If you want to interact with the Java or. NET platform, the best approach is not to use Jython or IronPython, but to interact via network tuning to ensure the independence of each program.


Getting started with Python two: compilers.

python is designed with a clear, consistent style that makes Python an easy-to-read, maintainable, and widely-used language that is popular with many users. The purpose of the Python compiler is to help users improve their efficiency when developing with the Python language, with the shape of the page debugger, syntax highlighting, project management, code jumps, smart tips, AutoComplete, integrated unit testing, integrated versioning, and project code navigation. There are many Python editors now, and 0 of basic Python learners can use Pycharm. Pycharm also offers some great features for Django development, while supporting the Google App engine, and even cooler, Pycharm supports IronPython.

In the study has the confusion does not know how to learn the friend small compilation recommended a learn Python learning skirt "639584010" Whether you are Daniel or small white, is to change careers or want to join the study together to understand the progress together! The skirt has the development tool, many dry goods and the technical information to share!

Getting started with Python three: package installation.

There are many expansion packs in Python, and there are two ways to install these packages:

1, use Pip or Easy_install.

1) Find the required package on the Web and download it down. eg. rsa-3.1.4.tar.gz;

2) unzip the file;

3) command line tool CD switch to the directory of the package you want to install, locate the setup.py file, and then enter the python setup.py install

2, do not use PIP or Easy_install.

Open cmd directly and hit PIP install RSA.


How the Python learning steps should be arranged:

First of all, learning Python programming technology, self-study or participate in training and learning are applicable, everyone has their own learning methods and ways.


One: To define their own learning goals.

No matter what kind of knowledge we learn, we should have a clear understanding of our learning goals. Only in this way can the goal continue to progress, less detours, so that in the process of learning to be promoted, enjoy the fun of the whole study.


Two: basic Python learning.

1. What can I do to understand what Python is?

2. Know what variables, algorithms, interpreters

3. Python Basic data type

4. How to work with lists and tuples

5. String manipulation methods

6. Basic Dictionary Operation method

These can be slightly mastered after the next step, encountered can not be found on the Internet, or read books and notes and some basic learning video.


Iii. Mastering the conditions, loops, and related execution statements of Python

Any knowledge of its basic knowledge is somewhat dull, and now we can do something on the logic level. Master the use of these statements, such as if, else, elif, while, in, continue, break, and list derivation, as well as exception handling in the program.


Four, the face of object knowledge

In the face of OOP, a higher level of Python program structure, code reuse to avoid code redundancy, packaging your code, function parameters, scope and so on.

class, which can help us reduce the amount of development time and improve the efficiency of programming, is critical to medium and large projects.


V. Project Practice

At this stage, must be more hands-on practice, always believe that our practice is the only standard to test truth, find and deal with the process of errors and anomalies encountered problems, more Internet search.

Finally in a nagging sentence to learn programming important or practice, more knock code, more to try. The ability to solve problems independently and to explore the spirit of research is essential.

0 Basics Python should learn what to start with and how to set up learning steps

Related Article

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.