How to read a column of data in python, how to read a text document in python

Hello everyone, the editor will answer your question about how to read data in a file in python. Many people still don’t know how to read a column of data in python, let’s take a look now!

Original title: It turns out that Python should be pronounced this way, no wonder it is always laughed at~

Python has the advantages of being simple, easy to learn, free, open source, scalable, embeddable, and object-oriented. Its object-oriented is even more thorough than java and c#.net, and it can be perfectly integrated with C++. The two can be called "one-size-fits-all". I believe many people don’t know how to pronounce the word Python, so how do you pronounce python? Have you always been laughed at for your poor pronunciation?

English ['paɪθən]: The pronunciation is a bit like "Paison" or "Paifen". Pay attention to the θ sound in the middle. Except for English, few languages ​​​​in the world have this sound. Freshman Python exam programming questions . θ This is the pronunciation of biting your tongue and blowing out air.

Mei [ˈpaɪˌθɑn, -θən]: It sounds a bit like "paifan"...it can also be pronounced as "paisen". The founder of Python is Guido van Rossum, who is a fan of the TV show Monty Python. During the Christmas season of 1989, Guido chose Python as the name of the programming language he invented.

a0ef57b34801470399d4f1a10a589afe.jpeg

We often use Python to quickly generate the prototype of the program (sometimes even the final interface of the program), and then rewrite the parts with special requirements in a more suitable language, such as the graphics rendering module in 3D games, which has particularly high performance requirements. It can be rewritten in C/C++ and then encapsulated into an extended class library that can be called by Python.

What can you do with Python?

It can do daily tasks, such as automatically backing up your MP3s; it can build websites, and many famous websites like Zhihu and YouTube are written in Python; it can do the backend of online games, and the backends of many online games are developed in Python. Others include operation and maintenance, web development, application development, big data, data mining, scientific computing, machine learning, artificial intelligence, natural language processing...

In short, there are many things that Python can do, but there are also things that Python cannot do, such as writing operating systems, which can only be written in C language; writing mobile applications, only Objective-C (for iPhone) and Java (for Android); To write 3D games, it is better to use C or C++.

I believe that after I have talked about so many little knowledge points related to Python, you are also more curious about this language. Moreover, you will definitely want to master this language. If you don’t have enough self-control, be sure to find a Python instructor. With them, it will not be difficult for you to master this language. Return to Sohu to see more

Editor:

Guess you like

Origin blog.csdn.net/chatgpt002/article/details/132908301