Changeset 3084
- Timestamp:
- Jun 5, 2006, 4:33:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pmesh/mesh.py
r3027 r3084 2840 2840 last line: "END" 2841 2841 """ 2842 END_DELIMITER = 'END \n'2842 END_DELIMITER = 'END' 2843 2843 2844 2844 points = [] … … 2856 2856 2857 2857 line = fd.readline() #Read the next line 2858 while line <> END_DELIMITER:2858 while not line.startswith(END_DELIMITER): 2859 2859 #print "line >" + line + "<" 2860 2860 fragments = line.split() … … 2883 2883 line = fd.readline() # read <# of polynomial> <x> <y> OR END 2884 2884 #print "line >>" + line + "<<" 2885 if line == END_DELIMITER:2885 if line.startswith(END_DELIMITER): 2886 2886 isEnd = True 2887 2887
Note: See TracChangeset
for help on using the changeset viewer.