CADP 二甲連結:
40223116 40223252 40323101 40323102 40323103 40323105 40323106 40323107 40323108 40323109 40323110 40323111 40323112 40323113 40323115 40323116 40323117 40323118 40323119 40323120 40323121 40323122 40323123 40323124 40323125 40323126 40323127 40323128 40323129 40323130 40323131 40323132 40323133 40323135 40323136 40323137 40323138 40323139 40323140 40323141 40323142 40323143 40323144 40323145 40323146 40323147 40323148 40323149 40323150 40323151 40323152 40323153 40323154 40323155 40323156
在節點內文中的程式:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | @language python
'''
寫在節點內文, 然後按下 Ctrl+b 可以執行
'''
lines = open("cadpa.txt", "r", encoding="utf-8").read().splitlines()
for i in range(len(lines)):
g.es("<a href='user/"+lines[i]+"/'>"+lines[i]+"</a>")
'''
cadpa.txt 檔案內容
40223116
40223252
40323101
40323102
40323103
40323105
40323106
40323107
40323108
40323109
40323110
40323111
40323112
40323113
40323115
40323116
40323117
40323118
40323119
40323120
40323121
40323122
40323123
40323124
40323125
40323126
40323127
40323128
40323129
40323130
40323131
40323132
40323133
40323135
40323136
40323137
40323138
40323139
40323140
40323141
40323142
40323143
40323144
40323145
40323146
40323147
40323148
40323149
40323150
40323151
40323152
40323153
40323154
40323155
40323156
'''
|