OSDN Git Service
(root)
/
fablib
/
DXFDIV.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
dxflaerpickup.py is added.
[fablib/DXFDIV.git]
/
dxflayername.py
1
import sys
2
# print "DXF layername listup"
3
4
line = sys.stdin.readline()
5
while line:
6
line=line.rstrip()
7
if ( line==" 0" ):
8
line2 = sys.stdin.readline()
9
line2=line2.rstrip()
10
if ( line2=="LAYER" ):
11
line3 = sys.stdin.readline()
12
line3=line3.rstrip()
13
if ( line3==" 2" ):
14
line4 = sys.stdin.readline()
15
line4=line4.rstrip()
16
print line4
17
line = sys.stdin.readline()