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