Commit 140fbaf 1 parent 9b2c187 commit 140fbaf Copy full SHA for 140fbaf
File tree 3 files changed +483
-5
lines changed
3 files changed +483
-5
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ def main():
169
169
if "ex" == result_code : # already querying
170
170
continue
171
171
elif '00' != result_code :
172
- print ("today is up to limit" )
172
+ print ("today is up to limit" , result_code , response_msg )
173
173
is_limit = True
174
174
break
175
175
else :
Original file line number Diff line number Diff line change 10
10
},
11
11
"outputs" : [],
12
12
"source" : [
13
- " f_in = open('road_code_total.txt', 'r')\n " ,
13
+ " f_in = open('../ road_code_total.txt', 'r')\n " ,
14
14
" lines = [x[:-1] for x in f_in.readlines()]"
15
15
]
16
16
},
79
79
},
80
80
"outputs" : [],
81
81
"source" : [
82
- " f_out = open('road_codes.csv', \" w\" )\n " ,
82
+ " f_out = open('../ road_codes.csv', \" w\" )\n " ,
83
83
" for result in results:\n " ,
84
84
" f_out.write(\" ,\" .join(result) + \"\\ n\" )\n " ,
85
85
" f_out.close()"
98
98
"metadata" : {},
99
99
"outputs" : [],
100
100
"source" : [
101
- " csv_file_in = open(\" road_codes.csv\" , \" r\" )\n " ,
101
+ " csv_file_in = open(\" ../ road_codes.csv\" , \" r\" )\n " ,
102
102
" lines = [x[:-1] for x in csv_file_in.readlines()]"
103
103
]
104
104
},
185
185
"nbconvert_exporter" : " python" ,
186
186
"pygments_lexer" : " ipython3" ,
187
187
"version" : " 3.7.4"
188
+ },
189
+ "pycharm" : {
190
+ "stem_cell" : {
191
+ "cell_type" : " raw" ,
192
+ "source" : [],
193
+ "metadata" : {
194
+ "collapsed" : false
195
+ }
196
+ }
188
197
}
189
198
},
190
199
"nbformat" : 4 ,
191
200
"nbformat_minor" : 1
192
- }
201
+ }
You can’t perform that action at this time.
0 commit comments