图片3(1).jpg

id: 97e6cdee3ded4440aed3d24890fcf581
mime: image/jpeg
filename: 
created_time: 2025-11-28T16:59:00.038Z
updated_time: 2025-11-30T10:50:59.848Z
user_created_time: 2025-11-28T16:59:00.038Z
user_updated_time: 2025-11-30T10:50:59.848Z
file_extension: jpg
encryption_cipher_text: 
encryption_applied: 0
encryption_blob_encrypted: 0
size: 134491
is_shared: 0
share_id: 
master_key_id: 
user_data: 
blob_updated_time: 1764349140038
ocr_text: El C:\Docunents and Settings\Administrator\Siil\python\pythonveill\index, wsgi — Sublime Text 2 (UNREGISTERED) j=]\nFile Edit Selection Find View Goto Lools Project Frefersnces Help\n10 status = '200 OK*\n12 start_response(status, response headers)\n14 if method == "GET":\n15 query - environ['QUERY_STRING']\n16 echostr - urlparse.parse_qs(query)[‘echostr']\n17 return echostr\n18 elif method == "POST":\n19 post - environ[ ‘wsgi.input']\n20 root - ET.parse(post)\n22 toUser - root.findtext(".//ToUserName")\n23 CreateTime - root.findtext(".//CreateTime")\n24 Content - root.findtext(".//Content")\n25 Content - Content.encode( 'UTF-8')\n26 url - 'http://api.map.baidu.com/telematics/v3/weather?location=" + \\n27 Content + 'Rak=1a3cde429f38434f1811a75ela90310c"\n28 response - urllib2.urlopen(url)\n30 weather = ET.fromstring(html)\n32\n33 wdata-wdata.encode( 'UTF-8')\n34 mtpl - tpl.texttpl(fromUser, toUser, CreateTime, wdata)\n35 return mtpl\n36\n37\n38\nLine 31, Colin 3 Spaces 4 Fyihon
ocr_details: [{"words":[{"t":"El","bb":[2,16,5,19],"bl":[2,16,16,18]},{"t":"C:\\Docunents","bb":[32,115,9,18],"bl":[32,115,18,18]},{"t":"and","bb":[128,150,10,18],"bl":[128,150,18,18]},{"t":"Settings\\Administrator\\Siil\\python\\pythonveill\\index,","bb":[160,568,7,20],"bl":[160,568,17,18]},{"t":"wsgi","bb":[584,608,12,18],"bl":[584,608,18,18]},{"t":"—","bb":[620,626,13,14],"bl":[620,626,18,18]},{"t":"Sublime","bb":[636,688,9,18],"bl":[636,688,18,18]},{"t":"Text","bb":[701,720,10,18],"bl":[701,720,18,18]},{"t":"2","bb":[740,746,9,18],"bl":[740,746,17,17]},{"t":"(UNREGISTERED)","bb":[759,864,8,18],"bl":[759,864,17,18]},{"t":"j=]","bb":[1230,1257,9,20],"bl":[1230,1257,19,17]}]},{"words":[{"t":"File","bb":[6,29,32,42],"bl":[6,29,40,40]},{"t":"Edit","bb":[42,64,32,42],"bl":[42,64,40,40]},{"t":"Selection","bb":[78,132,32,42],"bl":[78,132,40,40]},{"t":"Find","bb":[144,168,32,42],"bl":[144,168,40,40]},{"t":"View","bb":[180,202,32,42],"bl":[180,202,40,40]},{"t":"Goto","bb":[216,239,32,42],"bl":[216,239,40,40]},{"t":"Lools","bb":[252,281,32,42],"bl":[252,281,40,40]},{"t":"Project","bb":[294,334,32,42],"bl":[294,334,40,40]},{"t":"Frefersnces","bb":[348,413,32,42],"bl":[348,413,40,40]},{"t":"Help","bb":[426,449,32,42],"bl":[426,449,40,40]}]},{"words":[{"t":"10","bb":[16,34,87,99],"bl":[16,34,99,99]},{"t":"status","bb":[97,155,87,99],"bl":[97,155,99,99]},{"t":"=","bb":[166,174,92,96],"bl":[166,174,99,99]},{"t":"'200","bb":[189,225,86,99],"bl":[189,225,99,99]},{"t":"OK*","bb":[236,261,86,99],"bl":[236,261,99,99]}]},{"words":[{"t":"12","bb":[16,32,131,143],"bl":[16,32,143,143]},{"t":"start_response(status,","bb":[97,312,129,147],"bl":[97,312,143,143]},{"t":"response","bb":[327,405,134,147],"bl":[327,405,143,143]},{"t":"headers)","bb":[415,493,129,147],"bl":[415,493,143,143]}]},{"words":[{"t":"14","bb":[16,33,175,187],"bl":[16,33,187,187]},{"t":"if","bb":[98,112,174,187],"bl":[98,112,187,187]},{"t":"method","bb":[125,184,174,187],"bl":[125,184,187,187]},{"t":"==","bb":[196,213,180,184],"bl":[196,213,187,187]},{"t":"\"GET\":","bb":[227,282,174,187],"bl":[227,282,187,187]}]},{"words":[{"t":"15","bb":[16,34,197,209],"bl":[16,34,209,209]},{"t":"query","bb":[136,184,200,213],"bl":[136,184,209,209]},{"t":"-","bb":[196,204,202,206],"bl":[196,204,209,209]},{"t":"environ['QUERY_STRING']","bb":[216,443,196,213],"bl":[216,443,209,209]}]},{"words":[{"t":"16","bb":[16,34,219,231],"bl":[16,34,231,231]},{"t":"echostr","bb":[136,205,218,231],"bl":[136,205,231,231]},{"t":"-","bb":[216,224,224,228],"bl":[216,224,231,231]},{"t":"urlparse.parse_qs(query)[‘echostr']","bb":[236,583,217,235],"bl":[236,583,231,231]}]},{"words":[{"t":"17","bb":[16,33,241,253],"bl":[16,33,253,253]},{"t":"return","bb":[137,194,241,253],"bl":[137,194,253,253]},{"t":"echostr","bb":[206,275,240,253],"bl":[206,275,253,253]}]},{"words":[{"t":"18","bb":[16,34,263,275],"bl":[16,34,275,275]},{"t":"elif","bb":[96,133,262,276],"bl":[96,133,275,275]},{"t":"method","bb":[145,204,262,275],"bl":[145,204,275,275]},{"t":"==","bb":[216,234,268,272],"bl":[216,234,275,275]},{"t":"\"POST\":","bb":[247,312,262,275],"bl":[247,312,275,275]}]},{"words":[{"t":"19","bb":[16,34,285,297],"bl":[16,34,297,297]},{"t":"post","bb":[136,174,285,301],"bl":[136,174,297,297]},{"t":"-","bb":[187,193,290,294],"bl":[187,193,297,297]},{"t":"environ[","bb":[206,282,284,301],"bl":[206,282,297,297]},{"t":"‘wsgi.input']","bb":[289,413,274,305],"bl":[289,413,297,297]}]},{"words":[{"t":"20","bb":[15,34,307,319],"bl":[15,34,319,319]},{"t":"root","bb":[137,174,307,319],"bl":[137,174,319,319]},{"t":"-","bb":[187,194,312,316],"bl":[187,194,319,319]},{"t":"ET.parse(post)","bb":[207,343,305,323],"bl":[207,343,319,319]}]},{"words":[{"t":"22","bb":[15,32,351,363],"bl":[15,32,363,363]},{"t":"toUser","bb":[136,195,351,363],"bl":[136,195,363,363]},{"t":"-","bb":[206,213,356,360],"bl":[206,213,363,363]},{"t":"root.findtext(\".//ToUserName\")","bb":[227,523,349,367],"bl":[227,523,363,363]}]},{"words":[{"t":"23","bb":[16,34,373,385],"bl":[16,34,385,385]},{"t":"CreateTime","bb":[136,235,372,385],"bl":[136,235,385,385]},{"t":"-","bb":[246,253,378,382],"bl":[246,253,385,385]},{"t":"root.findtext(\".//CreateTime\")","bb":[267,563,371,389],"bl":[267,563,385,385]}]},{"words":[{"t":"24","bb":[15,33,395,407],"bl":[15,33,407,407]},{"t":"Content","bb":[136,204,395,407],"bl":[136,204,407,407]},{"t":"-","bb":[216,224,400,404],"bl":[216,224,407,407]},{"t":"root.findtext(\".//Content\")","bb":[237,503,393,411],"bl":[237,503,407,406]}]},{"words":[{"t":"25","bb":[15,34,417,429],"bl":[15,34,429,429]},{"t":"Content","bb":[136,204,417,429],"bl":[136,204,429,429]},{"t":"-","bb":[216,224,422,426],"bl":[216,224,429,429]},{"t":"Content.encode(","bb":[236,382,415,433],"bl":[236,382,429,429]},{"t":"'UTF-8')","bb":[389,463,407,437],"bl":[389,463,429,429]}]},{"words":[{"t":"26","bb":[15,34,439,451],"bl":[15,34,451,451]},{"t":"url","bb":[136,164,438,451],"bl":[136,164,451,451]},{"t":"-","bb":[176,184,444,448],"bl":[176,184,451,451]},{"t":"'http://api.map.baidu.com/telematics/v3/weather?location=\"","bb":[199,771,438,455],"bl":[199,771,451,452]},{"t":"+","bb":[786,794,442,451],"bl":[786,794,452,452]},{"t":"\\","bb":[806,813,438,453],"bl":[806,813,452,452]}]},{"words":[{"t":"27","bb":[16,33,461,473],"bl":[16,33,473,473]},{"t":"Content","bb":[176,244,461,473],"bl":[176,244,473,473]},{"t":"+","bb":[256,264,464,473],"bl":[256,264,473,473]},{"t":"'Rak=1a3cde429f38434f1811a75ela90310c\"","bb":[279,651,460,473],"bl":[279,651,473,473]}]},{"words":[{"t":"28","bb":[15,34,483,495],"bl":[15,34,495,495]},{"t":"response","bb":[137,215,486,499],"bl":[137,215,495,495]},{"t":"-","bb":[227,234,488,492],"bl":[227,234,495,495]},{"t":"urllib2.urlopen(url)","bb":[246,443,481,499],"bl":[246,443,495,495]}]},{"words":[{"t":"30","bb":[16,34,527,539],"bl":[16,34,539,539]},{"t":"weather","bb":[135,205,526,539],"bl":[135,205,539,539]},{"t":"=","bb":[216,224,532,536],"bl":[216,224,539,539]},{"t":"ET.fromstring(html)","bb":[237,423,525,543],"bl":[237,423,539,539]}]},{"words":[{"t":"32","bb":[16,32,571,583],"bl":[16,32,583,583]}]},{"words":[{"t":"33","bb":[16,34,593,605],"bl":[16,34,605,605]},{"t":"wdata-wdata.encode(","bb":[135,322,591,609],"bl":[135,322,605,605]},{"t":"'UTF-8')","bb":[329,403,591,609],"bl":[329,403,605,605]}]},{"words":[{"t":"34","bb":[12,33,605,635],"bl":[12,33,627,627]},{"t":"mtpl","bb":[135,174,614,631],"bl":[135,174,627,627]},{"t":"-","bb":[186,194,620,624],"bl":[186,194,627,627]},{"t":"tpl.texttpl(fromUser,","bb":[206,412,613,631],"bl":[206,412,627,627]},{"t":"toUser,","bb":[426,492,615,630],"bl":[426,492,627,627]},{"t":"CreateTime,","bb":[506,612,614,630],"bl":[506,612,627,627]},{"t":"wdata)","bb":[625,683,613,631],"bl":[625,683,627,627]}]},{"words":[{"t":"35","bb":[16,34,637,649],"bl":[16,34,649,649]},{"t":"return","bb":[137,194,637,649],"bl":[137,194,649,649]},{"t":"mtpl","bb":[205,244,636,653],"bl":[205,244,649,649]}]},{"words":[{"t":"36","bb":[16,34,659,671],"bl":[16,34,671,671]}]},{"words":[{"t":"37","bb":[16,33,681,693],"bl":[16,33,693,693]}]},{"words":[{"t":"38","bb":[16,34,703,715],"bl":[16,34,715,715]}]},{"words":[{"t":"Line","bb":[5,24,724,733],"bl":[5,24,733,733]},{"t":"31,","bb":[28,42,724,734],"bl":[28,42,733,733]},{"t":"Colin","bb":[46,79,724,733],"bl":[46,79,733,733]},{"t":"3","bb":[84,95,724,733],"bl":[84,95,733,733]},{"t":"Spaces","bb":[1095,1130,724,735],"bl":[1095,1130,734,733]},{"t":"4","bb":[1137,1142,724,733],"bl":[1137,1142,733,733]},{"t":"Fyihon","bb":[1210,1242,724,735],"bl":[1210,1242,734,733]}]}]
ocr_status: 2
ocr_error: 
ocr_driver_id: 1
type_: 4