文件解析 [英] File Parsing
本文介绍了文件解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
下面是文件格式,文件中有关键字。我想将数据存储在不同的变量中(参数,点,线,圆)
Hi ,
Below is the file format ,which has Keywords in the file.I would like to store the data in the different variables ( Parameters,Points ,Lines ,Circle)
展开 | 选择 < span class =codeDivider> | Wrap | 行号
推荐答案
下面是文件格式,文件中有关键字。我想将数据存储在不同的变量中(参数,点,线,圆)
Hi ,
Below is the file format ,which has Keywords in the file.I would like to store the data in the different variables ( Parameters,Points ,Lines ,Circle)
展开 | / span> 选择 | 换行 | 行号
< br>
以上只是一个示例数据。我必须读取具有不同且唯一关键字的文件格式的不同Unique Geometry元素数据
-PSB
The above is a sample data only.I have to read different Unique Geometry elements data in that file format having the different and unique key word
-PSB
这可能不是最好的方式,但似乎有效。所有字典值都是列表:
It''s probably not the best way, but it seems to work. All dictionary values are lists:
展开 | 选择 | Wrap | 行号
它可能不是最好的方式,但它似乎工作。所有字典值都是列表:
It''s probably not the best way, but it seems to work. All dictionary values are lists:
展开 | 选择 | Wrap | 行号
这篇关于文件解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文