Use of Ipython Notebook

Source: Internet
Author: User

Just starting with Python, using Ipython notebook, it feels good.

Write the program is mainly processing files, read and write TXT file, generate XML file, where reference http://www.cnblogs.com/wangshide/archive/2011/10/29/2228936.html

XML file generation and read and write, feel Python is still very convenient, level structure is clear, originally only read and write in Java, now feel like python more convenient.

This involves reading the ReadLine by line, where a for loop is used to split each line Line.split ("), read and write files, append files, and so on.

and read all the files in a directory, such as to determine whether the file exists, determine whether the image is read correctly, and so on, feel python is still very useful. Compared to the C + + sensory processing data preprocessing, it is very convenient. It is very useful to use the for-while, if, if else and so on, to be programmed in the order of C-mode. Just, as if you want to follow the C + + format seems to be not very useful.

I personally feel that data preprocessing with Python should be convenient, estimated to write large-scale need to parallel programs, may be more convenient C + +? Inconvenient, take a long time to record again. Today, take care of this piece of things, tomorrow to extract the features of the program run up, the weekend to see if you can run out.

Use of Ipython Notebook

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.