Python character encoding

Source: Internet
Author: User

Python character encoding

First, the text editor accesses the file principle;

Opening the editing machine opens a process that starts, in memory, the editor's writing is kept in memory, and the memory outage can cause the data to be lost.

So, all the files are saved after the hard drive, the power is not lost.

Our py file is not executed, and there is no difference between the other files.

Second, the Python interpreter executes the py file principle.

1. The Python interpreter starts, which is equivalent to starting an editor.

2, the Python interpreter is equivalent to a text editor, from the hard disk to find the open Python file will be read into memory.

3. The Python interpreter executes the loaded PY file.


Three, the anthology editor idea diagram:

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/1036857/201705/ 1036857-20170513101721457-685514033.png "alt=" 1036857-20170513101721457-685514033.png "/>


This article is from the "HCWJ" blog, make sure to keep this source http://luwenjuan.blog.51cto.com/10967115/1926389

Python character encoding

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.