Python的数据结构还是狠不错的

现在写的程序中,一直都在集成Python,所以对Python的数据结构比较熟悉了。今天使用STL来写一个不带Python的程序,发现STL的结构虽然轻巧,但是感觉Python的数据结构操作起来更是方便。可能是跟这几天一直在用Python的数据结构有关吧。


其实最关键的地方是文本文件的处理,使用Python脚本把文本读进来,处理,然后直接存为Python的数据结构方式,比使用C++读入文本再使用STL方式来保存方便很多。不过Python的数据结构至少需要带一个DLL文件,这对于小程序是一个累赘啊。

This entry was posted in BCB||C++, Python. Bookmark the permalink.

One Response to Python的数据结构还是狠不错的

  1. 00 says:

    00.0.0.0

    .

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word