feat: sync arduino and python board configurations

This commit is contained in:
yczpf2019
2026-01-24 16:13:38 +08:00
parent 01b756fed8
commit c6dc5537f0
851 changed files with 47772 additions and 0 deletions

View File

@@ -0,0 +1 @@
<xml version=\"0.999Beta\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"procedures_defreturn\" id=\"Qb=X9[1.)DQ-;0^i85%Y\" x=\"0\" y=\"0\"><mutation><arg name=\"path\"></arg></mutation><field name=\"NAME\">procedure</field><statement name=\"STACK\"><block type=\"storage_fileopen\" id=\"%eYwvpbP*1].*t0ctb}x\"><field name=\"MODE\">rb</field><value name=\"FILENAME\"><shadow type=\"text\" id=\"KEWG5_6$b]ER.VQ`bj/g\"><field name=\"TEXT\">filename.txt</field></shadow><block type=\"variables_get\" id=\"9rm]@}VrTg1_d7?pA;,t\"><field name=\"VAR\">path</field></block></value><value name=\"FILE\"><shadow type=\"variables_get\" id=\"zupqr.)),IMtPOm,Got:\"><field name=\"VAR\">f</field></shadow></value></block></statement><value name=\"RETURN\"><block type=\"storage_get_contents\" id=\"Kp7!XsdLF*3Q:uoNZg-!\"><field name=\"MODE\">read</field><value name=\"FILE\"><shadow type=\"variables_get\" id=\"{j`!MHr_12C0ZeuIKf|W\"><field name=\"VAR\">f</field></shadow></value><value name=\"SIZE\"><shadow type=\"math_number\" id=\"uu$NUi8/S^^igXzLsKBo\"><field name=\"NUM\">-1</field></shadow></value></block></value></block><block type=\"AI_client\" id=\"_BO_AvQdtb}4OIpulF0F\" x=\"0\" y=\"130\"><field name=\"CTYPE\">AipImageClassify</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"-cB|N|~GUC%pmT_m8__Q\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"dk;zXxC:yfNL^[0dEBoH\"><field name=\"TEXT\">16448656</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"x={C|FO5+i,S^]!aK{`S\"><field name=\"TEXT\">W0GUuKLWqwkKK57ntbDfKGcR</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"6*FxOLGHfjS{B-JQV!H=\"><field name=\"TEXT\">fMQOaDcARzV1DIzUsDXqC4O6SsLb9uKK</field></shadow></value><next><block type=\"variables_set\" id=\"l]qT@BvGo%Ely4}2yg]k\"><field name=\"VAR\">image</field><value name=\"VALUE\"><block type=\"procedures_callreturn\" id=\"VG/=w|o:Y+2$iu9psrvu\"><mutation name=\"procedure\"><arg name=\"path\"></arg></mutation><value name=\"ARG0\"><block type=\"AI_ChooseAndGet\" id=\"os;F*^.R[@a|^HAum8#J\"><field name=\"TYPE\">getOneFile</field></block></value></block></value><next><block type=\"variables_set\" id=\"(fU;VaWmc@qXE|=QenGc\"><field name=\"VAR\">result</field><value name=\"VALUE\"><block type=\"AI_ImageClassify\" id=\"KE{IY:0WQd[d7Etb9}XR\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"vKTX@M,50%RBZe|ACkIt\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_ImageClassify_Func\" id=\"Ln4[j?f#??Roo!Ep/r}h\"><field name=\"TYPE\">advancedGeneral</field></shadow></value><value name=\"ADDR\"><shadow type=\"text\" id=\"XdaVI7.#eIvgeX}6_%+D\"><field name=\"TEXT\">D:/img.jpg</field></shadow><block type=\"variables_get\" id=\"O]x2rmR*$`2rL^cybcO;\"><field name=\"VAR\">image</field></block></value></block></value><next><block type=\"inout_print_inline\" id=\"Y2_m|J^1h(Mf6v8LgM[o\"><value name=\"VAR\"><shadow type=\"text\" id=\"9+GPbMY*;t9O)z-2YZ!@\"><field name=\"TEXT\">Hello</field></shadow><block type=\"dicts_get\" id=\"Q0nrqjR(b9B/-ZPR(pwt\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"?^ijX?b7U!~L9F}2WEfe\"><field name=\"VAR\">mydict</field></shadow><block type=\"variables_get\" id=\"beq@c)4[_y=%ZmC?(WU,\"><field name=\"VAR\">result</field></block></value><value name=\"KEY\"><shadow type=\"text\" id=\"GU[[JZwyi!8^v#yY|Gc8\"><field name=\"TEXT\">result</field></shadow></value></block></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0Beta\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"AI_client\" id=\"_BO_AvQdtb}4OIpulF0F\" x=\"37\" y=\"118\"><field name=\"CTYPE\">AipNlp</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"-cB|N|~GUC%pmT_m8__Q\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"dk;zXxC:yfNL^[0dEBoH\"><field name=\"TEXT\">16669201</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"x={C|FO5+i,S^]!aK{`S\"><field name=\"TEXT\">LWsSsPG5YhvNSc9Rc555U3kr</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"6*FxOLGHfjS{B-JQV!H=\"><field name=\"TEXT\">YUBzmdyBf9CZEuXQzVQp9HE4gYULzrmC</field></shadow></value><next><block type=\"variables_set\" id=\"(fU;VaWmc@qXE|=QenGc\"><field name=\"VAR\">result</field><value name=\"VALUE\"><block type=\"AI_Nlp\" id=\"=?LrA4Okm/aQ1CRgbeS4\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"8T@`O0(i14m/-g7H4z/c\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_Nlp_Func\" id=\"IpCp,(#Ex*mG*53yR41U\"><field name=\"TYPE\">lexer</field></shadow></value><value name=\"STR\"><shadow type=\"text\" id=\"j8gyldZN=.+Pph_lKUOl\"><field name=\"TEXT\">\u4ECA\u5929\u5929\u6C14\u771F\u597D</field></shadow></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\",rdu~Y4ax,WMx3n+z]wF\"><mutation items=\"0\"></mutation></block></value></block></value><next><block type=\"inout_print_inline\" id=\"Y2_m|J^1h(Mf6v8LgM[o\"><value name=\"VAR\"><shadow type=\"text\" id=\"9+GPbMY*;t9O)z-2YZ!@\"><field name=\"TEXT\">Hello</field></shadow><block type=\"dicts_get\" id=\"Q0nrqjR(b9B/-ZPR(pwt\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"?^ijX?b7U!~L9F}2WEfe\"><field name=\"VAR\">mydict</field></shadow><block type=\"variables_get\" id=\"beq@c)4[_y=%ZmC?(WU,\"><field name=\"VAR\">result</field></block></value><value name=\"KEY\"><shadow type=\"text\" id=\"GU[[JZwyi!8^v#yY|Gc8\"><field name=\"TEXT\">items</field></shadow></value></block></value></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0Beta\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"AI_client\" id=\"_BO_AvQdtb}4OIpulF0F\" x=\"37\" y=\"118\"><field name=\"CTYPE\">AipNlp</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"-cB|N|~GUC%pmT_m8__Q\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"dk;zXxC:yfNL^[0dEBoH\"><field name=\"TEXT\">16669201</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"x={C|FO5+i,S^]!aK{`S\"><field name=\"TEXT\">LWsSsPG5YhvNSc9Rc555U3kr</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"6*FxOLGHfjS{B-JQV!H=\"><field name=\"TEXT\">YUBzmdyBf9CZEuXQzVQp9HE4gYULzrmC</field></shadow></value><next><block type=\"variables_set\" id=\"(fU;VaWmc@qXE|=QenGc\"><field name=\"VAR\">result</field><value name=\"VALUE\"><block type=\"AI_Nlp_Sim\" id=\"=YkukaP2kwO3u$f?+hpT\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"gKtImKoqJH*hp)%Gj6?1\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_Nlp_Func_sim\" id=\"KACQ8)b/a9#JHebE`bjd\"><field name=\"TYPE\">simnet</field></shadow></value><value name=\"STR1\"><shadow type=\"text\" id=\"UkcUwygv}zYf4SV%5(Ij\"><field name=\"TEXT\">\u7C73\u601D\u9F50</field></shadow></value><value name=\"STR2\"><shadow type=\"text\" id=\"uEN.I;8CY!z(`wm}++~z\"><field name=\"TEXT\">\u7C73\u601D\u76AE</field></shadow></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"7PECo^iJkb1Zt[5$Z[%;\"><mutation items=\"0\"></mutation></block></value></block></value><next><block type=\"inout_print_inline\" id=\"Y2_m|J^1h(Mf6v8LgM[o\"><value name=\"VAR\"><shadow type=\"text\" id=\"9+GPbMY*;t9O)z-2YZ!@\"><field name=\"TEXT\">Hello</field></shadow><block type=\"variables_get\" id=\"beq@c)4[_y=%ZmC?(WU,\"><field name=\"VAR\">result</field></block></value></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0Beta\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"procedures_defreturn\" id=\"Qb=X9[1.)DQ-;0^i85%Y\" x=\"0\" y=\"0\"><mutation><arg name=\"path\"></arg></mutation><field name=\"NAME\">procedure</field><statement name=\"STACK\"><block type=\"storage_fileopen\" id=\"%eYwvpbP*1].*t0ctb}x\"><field name=\"MODE\">rb</field><value name=\"FILENAME\"><shadow type=\"text\" id=\"KEWG5_6$b]ER.VQ`bj/g\"><field name=\"TEXT\">filename.txt</field></shadow><block type=\"variables_get\" id=\"9rm]@}VrTg1_d7?pA;,t\"><field name=\"VAR\">path</field></block></value><value name=\"FILE\"><shadow type=\"variables_get\" id=\"zupqr.)),IMtPOm,Got:\"><field name=\"VAR\">f</field></shadow></value></block></statement><value name=\"RETURN\"><block type=\"storage_get_contents\" id=\"Kp7!XsdLF*3Q:uoNZg-!\"><field name=\"MODE\">read</field><value name=\"FILE\"><shadow type=\"variables_get\" id=\"{j`!MHr_12C0ZeuIKf|W\"><field name=\"VAR\">f</field></shadow></value><value name=\"SIZE\"><shadow type=\"math_number\" id=\"uu$NUi8/S^^igXzLsKBo\"><field name=\"NUM\">-1</field></shadow></value></block></value></block><block type=\"AI_client\" id=\"_BO_AvQdtb}4OIpulF0F\" x=\"20\" y=\"150\"><field name=\"CTYPE\">AipOcr</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"-cB|N|~GUC%pmT_m8__Q\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"dk;zXxC:yfNL^[0dEBoH\"><field name=\"TEXT\">14298851</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"x={C|FO5+i,S^]!aK{`S\"><field name=\"TEXT\">WhPHPqF88PxpV0yEohosGa7C</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"6*FxOLGHfjS{B-JQV!H=\"><field name=\"TEXT\">FWBHpZMI5yg2eqPwUQZHuBA6imhGGLsQ</field></shadow></value><next><block type=\"variables_set\" id=\"l]qT@BvGo%Ely4}2yg]k\"><field name=\"VAR\">image</field><value name=\"VALUE\"><block type=\"procedures_callreturn\" id=\"VG/=w|o:Y+2$iu9psrvu\"><mutation name=\"procedure\"><arg name=\"path\"></arg></mutation><value name=\"ARG0\"><block type=\"AI_ChooseAndGet\" id=\"os;F*^.R[@a|^HAum8#J\"><field name=\"TYPE\">getOneFile</field></block></value></block></value><next><block type=\"variables_set\" id=\"(fU;VaWmc@qXE|=QenGc\"><field name=\"VAR\">result</field><value name=\"VALUE\"><block type=\"AI_Ocr\" id=\"Vs`WMF-gV[MZ|$QSgOAr\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"^iF/RlawLSv5[Xy|^k[5\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_Ocr_Func\" id=\"wn{wq%*PzU-vThHppO@J\"><field name=\"TYPE\">basicGeneral</field></shadow></value><value name=\"ADDR\"><shadow type=\"text\" id=\"t`n+t9JHI4)_S%AhffId\"><field name=\"TEXT\">C:/mixly.jpg</field></shadow><block type=\"variables_get\" id=\"O]x2rmR*$`2rL^cybcO;\"><field name=\"VAR\">image</field></block></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\")%CjNHCCFm~+2Y#vg!zt\"><mutation items=\"4\"></mutation><field name=\"KEY0\">\"language_type\"</field><field name=\"KEY1\">\"detect_language\"</field><field name=\"KEY2\">\"probability\"</field><field name=\"KEY3\">\"detect_direction\"</field><value name=\"ADD0\"><block type=\"text\" id=\"~x07,@yt~y8BgJy=sm.L\"><field name=\"TEXT\">CHN_ENG</field></block></value><value name=\"ADD1\"><block type=\"text\" id=\"J0%GfD=tY8sO!f0~q!D?\"><field name=\"TEXT\">true</field></block></value><value name=\"ADD2\"><block type=\"text\" id=\"2m2Wfj9b^XJOx7DT`evZ\"><field name=\"TEXT\">true</field></block></value><value name=\"ADD3\"><block type=\"text\" id=\"K.dR6w(`9oF%eFJZ^hZ,\"><field name=\"TEXT\">true</field></block></value></block></value></block></value><next><block type=\"inout_print_inline\" id=\"Y2_m|J^1h(Mf6v8LgM[o\"><value name=\"VAR\"><shadow type=\"text\" id=\"9+GPbMY*;t9O)z-2YZ!@\"><field name=\"TEXT\">Hello</field></shadow><block type=\"dicts_get\" id=\"Q0nrqjR(b9B/-ZPR(pwt\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"?^ijX?b7U!~L9F}2WEfe\"><field name=\"VAR\">mydict</field></shadow><block type=\"variables_get\" id=\"beq@c)4[_y=%ZmC?(WU,\"><field name=\"VAR\">result</field></block></value><value name=\"KEY\"><shadow type=\"text\" id=\"GU[[JZwyi!8^v#yY|Gc8\"><field name=\"TEXT\">words_result</field></shadow></value></block></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"0.999Beta\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"AI_client\" id=\"2K#e8f?QxBqN(Je.ol|)\" x=\"9\" y=\"53\"><field name=\"CTYPE\">AipSpeech</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"^@4fyM/PK$}6Z$`wj)#R\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"P,S|lzqV16A#Q8uh^;MK\"><field name=\"TEXT\">11743359</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\";5)ynt3d)A;nH|Mwn=R!\"><field name=\"TEXT\">1gDrAort6V1e2lKocpfunYGV</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"pGbh24$6ZC154`s@*Qe;\"><field name=\"TEXT\">FkBsF4vVpnQ5CLGFDpczCaZBRz6vWoxN</field></shadow></value><next><block type=\"variables_set\" id=\"UFul/+Fq-@h1e^n-=@dP\"><field name=\"VAR\">result</field><value name=\"VALUE\"><block type=\"AI_Speech_synthesis\" id=\"KG5CZ0D5AnB%GZ4DvK^+\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"S(+a|;k-M0vq6tCu#~#n\"><field name=\"VAR\">client</field></shadow></value><value name=\"STR\"><shadow type=\"text\" id=\"`]1*yY[7pzfwr?FsZm.K\"><field name=\"TEXT\">\u795D\u5927\u5BB6\u7AEF\u5348\u8282\u5FEB\u4E50\uFF01</field></shadow></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"{a%,Jt550KlEa`i=iR!B\"><mutation items=\"0\"></mutation></block></value></block></value><next><block type=\"storage_fileopen\" id=\"3.h3E|-OAanGEZ|l|n:X\"><field name=\"MODE\">wb</field><value name=\"FILENAME\"><shadow type=\"text\" id=\"3C*,Vgvd2#bR=iFG8nJW\"><field name=\"TEXT\">duanwujie.mp3</field></shadow></value><value name=\"FILE\"><shadow type=\"variables_get\" id=\"!UtTv*9J+A3#4TG/tP18\"><field name=\"VAR\">f</field></shadow></value><next><block type=\"storage_file_write\" id=\"S@dT_bS9XsV)CBro6u{h\"><value name=\"data\"><shadow type=\"text\" id=\"blP0@7e~Zo`kuAsOsnXK\"><field name=\"TEXT\">Mixly</field></shadow><block type=\"variables_get\" id=\"/*``6g0a:s9+Z]]DxxK1\"><field name=\"VAR\">result</field></block></value><value name=\"FILE\"><shadow type=\"variables_get\" id=\"VmV:$wL:0e6$6JF!C3r5\"><field name=\"VAR\">f</field></shadow></value></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,182 @@
{
"AipImage.mix": {
"__file__": true,
"__name__": "AipImage.mix"
},
"AipNlp.mix": {
"__file__": true,
"__name__": "AipNlp.mix"
},
"AipNlp_simnet.mix": {
"__file__": true,
"__name__": "AipNlp_simnet.mix"
},
"AipOcr.mix": {
"__file__": true,
"__name__": "AipOcr.mix"
},
"AipSpeech.mix": {
"__file__": true,
"__name__": "AipSpeech.mix"
},
"guoqi.mix": {
"__file__": true,
"__name__": "guoqi.mix"
},
"sin.mix": {
"__file__": true,
"__name__": "sin.mix"
},
"人工智能mix": {
"02语音合成-1.mix": {
"__file__": true,
"__name__": "02语音合成-1.mix"
},
"03语音识别-1.mix": {
"__file__": true,
"__name__": "03语音识别-1.mix"
},
"03语音识别-2.mix": {
"__file__": true,
"__name__": "03语音识别-2.mix"
},
"04图片识别-1.mix": {
"__file__": true,
"__name__": "04图片识别-1.mix"
},
"04图片识别-2.mix": {
"__file__": true,
"__name__": "04图片识别-2.mix"
},
"05人脸识别-1.mix": {
"__file__": true,
"__name__": "05人脸识别-1.mix"
},
"05人脸识别-2.mix": {
"__file__": true,
"__name__": "05人脸识别-2.mix"
},
"06文字识别-1.mix": {
"__file__": true,
"__name__": "06文字识别-1.mix"
},
"06文字识别-2.mix": {
"__file__": true,
"__name__": "06文字识别-2.mix"
},
"07拓展发现-1.mix": {
"__file__": true,
"__name__": "07拓展发现-1.mix"
},
"07拓展发现-2.mix": {
"__file__": true,
"__name__": "07拓展发现-2.mix"
},
"08文本纠错-1.mix": {
"__file__": true,
"__name__": "08文本纠错-1.mix"
},
"08文本纠错-2.mix": {
"__file__": true,
"__name__": "08文本纠错-2.mix"
},
"09词法分析-2.mix": {
"__file__": true,
"__name__": "09词法分析-2.mix"
},
"09词法分析.mix": {
"__file__": true,
"__name__": "09词法分析.mix"
},
"__file__": false,
"__name__": "人工智能mix"
},
"海龟画图": {
"mix": {
"海龟画图01小房子_01小房子.mix": {
"__file__": true,
"__name__": "海龟画图01小房子_01小房子.mix"
},
"海龟画图02小汽车_01正五边形.mix": {
"__file__": true,
"__name__": "海龟画图02小汽车_01正五边形.mix"
},
"海龟画图02小汽车_02小汽车.mix": {
"__file__": true,
"__name__": "海龟画图02小汽车_02小汽车.mix"
},
"海龟画图03小橙子_01完整橙子.mix": {
"__file__": true,
"__name__": "海龟画图03小橙子_01完整橙子.mix"
},
"海龟画图03小橙子_02切开的橙子.mix": {
"__file__": true,
"__name__": "海龟画图03小橙子_02切开的橙子.mix"
},
"海龟画图04盛开的向日葵_01太阳公公.mix": {
"__file__": true,
"__name__": "海龟画图04盛开的向日葵_01太阳公公.mix"
},
"海龟画图04盛开的向日葵_02向日葵.mix": {
"__file__": true,
"__name__": "海龟画图04盛开的向日葵_02向日葵.mix"
},
"海龟画图05炫彩螺旋线_01螺旋四边形.mix": {
"__file__": true,
"__name__": "海龟画图05炫彩螺旋线_01螺旋四边形.mix"
},
"海龟画图05炫彩螺旋线_02彩色螺旋线.mix": {
"__file__": true,
"__name__": "海龟画图05炫彩螺旋线_02彩色螺旋线.mix"
},
"海龟画图06米思齐Logo_01米思齐Logo.mix": {
"__file__": true,
"__name__": "海龟画图06米思齐Logo_01米思齐Logo.mix"
},
"海龟画图07闪烁星星_01正五角星.mix": {
"__file__": true,
"__name__": "海龟画图07闪烁星星_01正五角星.mix"
},
"海龟画图07闪烁星星_02正n角星.mix": {
"__file__": true,
"__name__": "海龟画图07闪烁星星_02正n角星.mix"
},
"海龟画图08猜一猜_01猜性别.mix": {
"__file__": true,
"__name__": "海龟画图08猜一猜_01猜性别.mix"
},
"海龟画图08猜一猜_02猜年龄.mix": {
"__file__": true,
"__name__": "海龟画图08猜一猜_02猜年龄.mix"
},
"海龟画图09大树的年龄_01年轮.mix": {
"__file__": true,
"__name__": "海龟画图09大树的年龄_01年轮.mix"
},
"海龟画图09大树的年龄_02树年龄.mix": {
"__file__": true,
"__name__": "海龟画图09大树的年龄_02树年龄.mix"
},
"海龟画图10公共汽车_01公共汽车.mix": {
"__file__": true,
"__name__": "海龟画图10公共汽车_01公共汽车.mix"
},
"海龟画图11美丽星空_01星空.mix": {
"__file__": true,
"__name__": "海龟画图11美丽星空_01星空.mix"
},
"海龟画图12斐波那契数列_01输出斐波那契额数列.mix": {
"__file__": true,
"__name__": "海龟画图12斐波那契数列_01输出斐波那契额数列.mix"
},
"海龟画图12斐波那契数列_02斐波那契额螺旋线.mix": {
"__file__": true,
"__name__": "海龟画图12斐波那契数列_02斐波那契额螺旋线.mix"
},
"__file__": false,
"__name__": "mix"
},
"__file__": false,
"__name__": "海龟画图"
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,9 @@
import aip
import os
f = open("audio.mp3", 'wb')
client = aip.AipSpeech("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
f.write(client.synthesis("步行导航开始直行后前方50米右转", options={}))
os.startfile("audio.mp3")

View File

@@ -0,0 +1,8 @@
import FileDialog
import aip
f = open(FileDialog.getOneFile(), 'rb')
client = aip.AipSpeech("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
print(client.asr(f.read(), options={})["result"][0])

View File

@@ -0,0 +1,9 @@
import audio
import aip
audio.audio_record("d:\\1.wav",3)
f = open("d:\\1.wav", 'rb')
client = aip.AipSpeech("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
print(client.asr(f.read(), options={})["result"][0])

View File

@@ -0,0 +1,8 @@
import FileDialog
import aip
f = open(FileDialog.getOneFile(), 'rb')
client = aip.AipImageClassify("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
print(client.advancedGeneral(f.read(), options={})["result"][0]["keyword"])

View File

@@ -0,0 +1,9 @@
import aip
import FileDialog
client = aip.AipImageClassify("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
for i in FileDialog.getManyFiles():
f = open(i, 'rb')
print(client.advancedGeneral(f.read(), options={})["result"][0]["keyword"])

View File

@@ -0,0 +1,7 @@
import aip
import FileDialog
client = aip.AipFace("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
print(client.match(FileDialog.getOneFile(),FileDialog.getOneFile(), options={})["score"])

View File

@@ -0,0 +1,10 @@
import aip
import cam
import FileDialog
client = aip.AipFace("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
cam.photo_capture("d:\\1.jpg","q")
print(client.match(FileDialog.getOneFile(),FileDialog.getOneFile(), options={})["score"])

View File

@@ -0,0 +1,8 @@
import FileDialog
import aip
f = open(FileDialog.getOneFile(), 'rb')
client = aip.AipOcr("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
print(client.basicGeneral(f.read(), options={}))

View File

@@ -0,0 +1,9 @@
import FileDialog
import aip
f = open(FileDialog.getOneFile(), 'rb')
client = aip.AipOcr("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
list = client.basicGeneral(f.read(), options={})["words_result"]
print(list)

View File

@@ -0,0 +1,8 @@
import FileDialog
import aip
f = open(FileDialog.getOneFile(), 'rb')
client = aip.AipOcr("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
print(client.licensePlate(f.read(), options={}))

View File

@@ -0,0 +1,11 @@
import FileDialog
import aip
f = open(FileDialog.getOneFile(), 'rb')
f2 = open(FileDialog.getOneFile(), 'rb')
client = aip.AipOcr("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
client2 = aip.AipImageClassify("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
print(client.licensePlate(f.read(), options={})["words_result"]["number"])
print(client2.carDetect(f2.read(), options={}))

View File

@@ -0,0 +1,5 @@
import aip
client = aip.AipNlp("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
print(client.ecnet("促进创客教育与本地新形产业的整合,促进当地经济的发展。", options={}))

View File

@@ -0,0 +1,10 @@
import aip
client = aip.AipNlp("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
result = client.ecnet("促进创客教育与本地新形产业的整合,促进当地经济的发展。", options={})
content = result["text"]
item = result["item"]
wrong = item["vec_fragment"][0]["ori_frag"]
right = item["vec_fragment"][0]["correct_frag"]
print(content.replace(wrong,"{}{}".format(wrong, right)))

View File

@@ -0,0 +1,10 @@
import aip
client = aip.AipNlp("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
s = ""
for i in client.lexer("我爱米思齐", options={})["items"]:
if s != "":
s = s + "/"
s = s + i["item"]
print(s)

View File

@@ -0,0 +1,12 @@
import aip
client = aip.AipNlp("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
word= {"r":"代词", "v":"动词", "nr":"名词"}
s = ""
for i in client.lexer("我爱米思齐", options={})["items"]:
s = s + i["item"]
s = s + ""
s = s + word[i["pos"]]
s = s + ""
print(s)

View File

@@ -0,0 +1 @@
<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"storage_fileopen\" id=\"2:2-?eB;~A{tw;Y$=HwY\" x=\"49\" y=\"0\"><field name=\"MODE\">wb</field><value name=\"FILENAME\"><block type=\"text\" id=\"Q$Kic_g@Tey[ugYK.q@`\"><field name=\"TEXT\">audio.mp3</field></block></value><value name=\"FILE\"><block type=\"variables_get\" id=\";{vGm?|:yE[U|1Y$Lx.F\"><field name=\"VAR\">f</field></block></value><next><block type=\"AI_client\" id=\"Yj[K^6W}o*!WwqOINQ};\"><field name=\"CTYPE\">AipSpeech</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"|T_!ZEw@.YIr5_0oxa[*\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"DBBke/OyTgu.^W,LT:{!\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"Sc[3I9;p$RR_QkLx_@pz\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"+H{Yye%)mB5O,LLlvnQm\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"storage_file_write\" id=\"8;IkuPSh)Gt/^jB5c-`D\"><value name=\"data\"><block type=\"AI_Speech_synthesis\" id=\"AO%zr2WoE1bs3!_xfc9i\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"[CDg[N^sw8${vS#/BC/)\"><field name=\"VAR\">client</field></shadow></value><value name=\"STR\"><shadow type=\"text\" id=\"S2.rR{,MJIYmwL}xajYy\"><field name=\"TEXT\">\u6B65\u884C\u5BFC\u822A\u5F00\u59CB\uFF0C\u76F4\u884C\u540E\u524D\u65B950\u7C73\u53F3\u8F6C</field></shadow></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"2cZS4hMIu31WN~d},Y)e\"><mutation items=\"0\"></mutation></block></value></block></value><value name=\"FILE\"><block type=\"variables_get\" id=\"Hz|(|TZW5;%Z/ZS{XME7\"><field name=\"VAR\">f</field></block></value><next><block type=\"storage_open_file_with_os\" id=\"kw|-hku4VK9Z(y;Pm,IA\"><value name=\"fn\"><shadow type=\"text\" id=\"YjvKC*E2u1i~-,?TKxES\"><field name=\"TEXT\">audio.mp3</field></shadow></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"storage_fileopen\" id=\"Y)-:A}fF:$7xRdX[{9Hy\" x=\"-639\" y=\"139\"><field name=\"MODE\">rb</field><value name=\"FILENAME\"><shadow type=\"text\" id=\"~i+o*kit;2;CXR$(JeJ/\"><field name=\"TEXT\">d:\\\\1.wav</field></shadow><block type=\"AI_ChooseAndGet\" id=\"/,4U_YSD0;q?50=^X=iD\"><field name=\"TYPE\">getOneFile</field></block></value><value name=\"FILE\"><shadow type=\"variables_get\" id=\"0R:SJ}v!sJcOw;tsXIL.\"><field name=\"VAR\">f</field></shadow></value><next><block type=\"AI_client\" id=\"wmM@tZ6eB!o$;%H/OkZM\"><field name=\"CTYPE\">AipSpeech</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"$B09lNT|E8y.{1QvG0{O\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"fbtYDa$_9sr9%G?TupmS\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"-`F8PR5F%k53R!eQP?4q\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"Miu;=`$?}u.cppeIyqEl\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"inout_print\" id=\"Nw~Cae.Pr!%h75yVaEZ{\"><value name=\"VAR\"><shadow type=\"text\" id=\"GXKlX/R||+GVf*UrKt/U\"><field name=\"TEXT\">Hello</field></shadow><block type=\"AI_result\" id=\"i|2B(WYs#|#Xl;tiDH0i\"><field name=\"CTYPE\">Speech</field><value name=\"AI\"><block type=\"AI_Speech_asr\" id=\"[I+pFC#*nT6TJ(tsAA{3\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"I0JkWE+t4i|x:0@]do5[\"><field name=\"VAR\">client</field></shadow></value><value name=\"FILE\"><block type=\"storage_get_contents_without_para\" id=\"y%Laru!2y$o`y_K_IMld\"><field name=\"MODE\">read</field><value name=\"FILE\"><shadow type=\"variables_get\" id=\"VxH{pLIz0u!./|yW[f+G\"><field name=\"VAR\">f</field></shadow></value></block></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"]$nau/fwH*l;Xp@^lTKw\"><mutation items=\"0\"></mutation></block></value></block></value></block></value></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"AI_audio\" id=\"?LE;%eg#d~K7}U{hq2dR\" x=\"-670\" y=\"102\"><value name=\"VAR\"><shadow type=\"text\" id=\"pP!Bb#M0rxQ)^MCsMvho\"><field name=\"TEXT\">d:\\\\1.wav</field></shadow></value><value name=\"TIME\"><shadow type=\"math_number\" id=\"V-dJ^2ob-bMua6R0ab2h\"><field name=\"NUM\">3</field></shadow></value><next><block type=\"storage_fileopen\" id=\"Y)-:A}fF:$7xRdX[{9Hy\"><field name=\"MODE\">rb</field><value name=\"FILENAME\"><shadow type=\"text\" id=\"~i+o*kit;2;CXR$(JeJ/\"><field name=\"TEXT\">d:\\\\1.wav</field></shadow></value><value name=\"FILE\"><shadow type=\"variables_get\" id=\"0R:SJ}v!sJcOw;tsXIL.\"><field name=\"VAR\">f</field></shadow></value><next><block type=\"AI_client\" id=\"m*GEwk7I+3f*VX.r`0I[\"><field name=\"CTYPE\">AipSpeech</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"(nr!|@mv(Md4)b98ppq`\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"0*zp@nn/!0#T`~JpUBTx\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"ppYEy)TS]E|-;-#Y@+dP\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"#QW[=OTWy}1a!hI;+q3H\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"inout_print\" id=\"Nw~Cae.Pr!%h75yVaEZ{\"><value name=\"VAR\"><shadow type=\"text\" id=\"GXKlX/R||+GVf*UrKt/U\"><field name=\"TEXT\">Hello</field></shadow><block type=\"AI_result\" id=\"i|2B(WYs#|#Xl;tiDH0i\"><field name=\"CTYPE\">Speech</field><value name=\"AI\"><block type=\"AI_Speech_asr\" id=\"[I+pFC#*nT6TJ(tsAA{3\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"I0JkWE+t4i|x:0@]do5[\"><field name=\"VAR\">client</field></shadow></value><value name=\"FILE\"><block type=\"storage_get_contents_without_para\" id=\"y%Laru!2y$o`y_K_IMld\"><field name=\"MODE\">read</field><value name=\"FILE\"><shadow type=\"variables_get\" id=\"VxH{pLIz0u!./|yW[f+G\"><field name=\"VAR\">f</field></shadow></value></block></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"]$nau/fwH*l;Xp@^lTKw\"><mutation items=\"0\"></mutation></block></value></block></value></block></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"storage_fileopen\" id=\"_l[46Cn%^bMSm;tuB~I1\" x=\"-696\" y=\"138\"><field name=\"MODE\">rb</field><value name=\"FILENAME\"><shadow type=\"text\" id=\"@V?d*Z%1KMnl@V1DkYM2\"><field name=\"TEXT\">filename.txt</field></shadow><block type=\"AI_ChooseAndGet\" id=\"tGDYFKrp`QNdQb?Uz?@8\"><field name=\"TYPE\">getOneFile</field></block></value><value name=\"FILE\"><shadow type=\"variables_get\" id=\"1Y@=v$RFm3{:imv0AbXk\"><field name=\"VAR\">f</field></shadow></value><next><block type=\"AI_client\" id=\"UPD7Po$xAEsJuvvb-m{]\"><field name=\"CTYPE\">AipImageClassify</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"iH|o?~E3}3G(X{bZZc;@\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"c_wd?DIwju1Zg4QGv]*G\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"gbqCIfYxr+xNvFy]CBlQ\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"RKzs_;[h%2HFS,W`euL[\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"inout_print\" id=\"bZcn*v8ARB^fGM5_.]E=\"><value name=\"VAR\"><shadow type=\"text\" id=\"ze6US|WK(wmBn@4hY3Uf\"><field name=\"TEXT\">Hello</field></shadow><block type=\"AI_result\" id=\"H.Hs#XGG3_jKdWinyANS\"><field name=\"CTYPE\">Image</field><value name=\"AI\"><block type=\"AI_ImageClassify\" id=\"#UtlMSZLQkJ4|3%RZ33O\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"4}LC^.Mx(=;Z,Wx3lp(j\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_ImageClassify_Func\" id=\"6^pcw~S-}j}DOOlA:ZI1\"><field name=\"TYPE\">advancedGeneral</field></shadow></value><value name=\"ADDR\"><block type=\"storage_get_contents_without_para\" id=\"fpDD+|;BCYyoLE$~@RPy\"><field name=\"MODE\">read</field><value name=\"FILE\"><shadow type=\"variables_get\" id=\"IhbEA2Lq50ZBP,j%xH8+\"><field name=\"VAR\">f</field></shadow></value></block></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"MHSjH+5z@;Ag,!uge|:l\"><mutation items=\"0\"></mutation></block></value></block></value></block></value></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"AI_client\" id=\"U1(sqQ+.#$5r{ro4;+oI\" x=\"-618\" y=\"140\"><field name=\"CTYPE\">AipImageClassify</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"BdZ[-|31JC_)}pHjKW6%\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"b3n(m[|%jGVh*X[dypI;\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"skTTzeKRCd7wT_fk6e1Q\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"z13l;R#!/4IR%xmm+T*A\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"controls_forEach\" id=\"_Xr`b+jsgHYZm$y{eYy_\"><value name=\"LIST\"><shadow type=\"list_many_input\" id=\"ka!!#wnab,H=P0ksK$6m\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"AI_ChooseAndGet\" id=\"rOY[bQoL;=;kAUS4sg^,\"><field name=\"TYPE\">getManyFiles</field></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"4rTT,v:tew-lrVfK?K{A\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"storage_fileopen\" id=\"igi!x1A9G*7V@Z4YQI7z\"><field name=\"MODE\">rb</field><value name=\"FILENAME\"><shadow type=\"text\" id=\"*|2qb{}_=+ut/5|uuMn~\"><field name=\"TEXT\">filename.txt</field></shadow><block type=\"variables_get\" id=\"nj4bxPiE+=wV9pb3RqSa\"><field name=\"VAR\">i</field></block></value><value name=\"FILE\"><shadow type=\"variables_get\" id=\"_il[xHvr8Dj2b^RDE,1m\"><field name=\"VAR\">f</field></shadow></value><next><block type=\"inout_print\" id=\"bZcn*v8ARB^fGM5_.]E=\"><value name=\"VAR\"><shadow type=\"text\" id=\"ze6US|WK(wmBn@4hY3Uf\"><field name=\"TEXT\">Hello</field></shadow><block type=\"AI_result\" id=\"H.Hs#XGG3_jKdWinyANS\"><field name=\"CTYPE\">Image</field><value name=\"AI\"><block type=\"AI_ImageClassify\" id=\"#UtlMSZLQkJ4|3%RZ33O\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"4}LC^.Mx(=;Z,Wx3lp(j\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_ImageClassify_Func\" id=\"6^pcw~S-}j}DOOlA:ZI1\"><field name=\"TYPE\">advancedGeneral</field></shadow></value><value name=\"ADDR\"><block type=\"storage_get_contents_without_para\" id=\"fpDD+|;BCYyoLE$~@RPy\"><field name=\"MODE\">read</field><value name=\"FILE\"><shadow type=\"variables_get\" id=\"IhbEA2Lq50ZBP,j%xH8+\"><field name=\"VAR\">f</field></shadow></value></block></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"MHSjH+5z@;Ag,!uge|:l\"><mutation items=\"0\"></mutation></block></value></block></value></block></value></block></next></block></statement></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"AI_client\" id=\"?-)LQc_VjDJmqNHD,(cP\" x=\"-642\" y=\"75\"><field name=\"CTYPE\">AipFace</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"$TgS#pfpcclZXdJ[zm}I\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\":W~ccaY0~1Wu-pcryd7)\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"4{(ah*-O$cXr}_+w5DzO\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"R??d/QMiZ0yDT^UnR2^y\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"inout_print\" id=\"bZcn*v8ARB^fGM5_.]E=\"><value name=\"VAR\"><shadow type=\"text\" id=\"ze6US|WK(wmBn@4hY3Uf\"><field name=\"TEXT\">Hello</field></shadow><block type=\"dicts_get\" id=\"g^`h?J8#RG5krR./6ks~\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"CS}`O)di]Vqpz[K(N$+H\"><field name=\"VAR\">mydict</field></shadow><block type=\"AI_Face_match\" id=\"t$91J3h#c8je;{7OX[/}\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"0fTcSq0uYusM|7!$LZ#N\"><field name=\"VAR\">client</field></shadow></value><value name=\"VAR\"><shadow type=\"text\" id=\"9[6jR;k*F7FwpqQz~E].\"><field name=\"TEXT\">C:/mixly.jpg</field></shadow><block type=\"AI_ChooseAndGet\" id=\"|OU_jR8|u$-4]u1fP45h\"><field name=\"TYPE\">getOneFile</field></block></value><value name=\"VAR2\"><shadow type=\"text\" id=\"NF(F$BO]x^E[?f#5b_^2\"><field name=\"TEXT\">C:/mixpy.jpg</field></shadow><block type=\"AI_ChooseAndGet\" id=\"+b_sIAiv)hUuLx!LI;aW\"><field name=\"TYPE\">getOneFile</field></block></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\":cMUl%FI;o/Ee%gc$7^T\"><mutation items=\"0\"></mutation></block></value></block></value><value name=\"KEY\"><shadow type=\"text\" id=\"hK8ji-5sv/F?^pJ%dEx:\"><field name=\"TEXT\">score</field></shadow></value></block></value></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"AI_client\" id=\"?-)LQc_VjDJmqNHD,(cP\" x=\"-642\" y=\"75\"><field name=\"CTYPE\">AipFace</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"$TgS#pfpcclZXdJ[zm}I\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\":W~ccaY0~1Wu-pcryd7)\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"4{(ah*-O$cXr}_+w5DzO\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"R??d/QMiZ0yDT^UnR2^y\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"AI_photo\" id=\"DD(+vCh:mS@1sbJ+kHe-\"><value name=\"VAR\"><shadow type=\"text\" id=\"LR:B{~4jcs1f1eR0jph1\"><field name=\"TEXT\">d:\\\\1.jpg</field></shadow></value><value name=\"BUT\"><shadow type=\"text\" id=\"njL!-}[n2~:dIjSoSM[`\"><field name=\"TEXT\">q</field></shadow></value><next><block type=\"inout_print\" id=\"bZcn*v8ARB^fGM5_.]E=\"><value name=\"VAR\"><shadow type=\"text\" id=\"ze6US|WK(wmBn@4hY3Uf\"><field name=\"TEXT\">Hello</field></shadow><block type=\"dicts_get\" id=\"g^`h?J8#RG5krR./6ks~\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"CS}`O)di]Vqpz[K(N$+H\"><field name=\"VAR\">mydict</field></shadow><block type=\"AI_Face_match\" id=\"t$91J3h#c8je;{7OX[/}\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"0fTcSq0uYusM|7!$LZ#N\"><field name=\"VAR\">client</field></shadow></value><value name=\"VAR\"><shadow type=\"text\" id=\"9[6jR;k*F7FwpqQz~E].\"><field name=\"TEXT\">C:/mixly.jpg</field></shadow><block type=\"AI_ChooseAndGet\" id=\"|OU_jR8|u$-4]u1fP45h\"><field name=\"TYPE\">getOneFile</field></block></value><value name=\"VAR2\"><shadow type=\"text\" id=\"NF(F$BO]x^E[?f#5b_^2\"><field name=\"TEXT\">C:/mixpy.jpg</field></shadow><block type=\"AI_ChooseAndGet\" id=\"+b_sIAiv)hUuLx!LI;aW\"><field name=\"TYPE\">getOneFile</field></block></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\":cMUl%FI;o/Ee%gc$7^T\"><mutation items=\"0\"></mutation></block></value></block></value><value name=\"KEY\"><shadow type=\"text\" id=\"hK8ji-5sv/F?^pJ%dEx:\"><field name=\"TEXT\">score</field></shadow></value></block></value></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"storage_fileopen\" id=\"YzXj3Dmq?_X88+7fT`+^\" x=\"-643\" y=\"41\"><field name=\"MODE\">rb</field><value name=\"FILENAME\"><shadow type=\"text\" id=\"h,$h.Q{9FM4jPDObw!lp\"><field name=\"TEXT\">filename.txt</field></shadow><block type=\"AI_ChooseAndGet\" id=\",E37Vl|rNcuC$-T9{-@3\"><field name=\"TYPE\">getOneFile</field></block></value><value name=\"FILE\"><shadow type=\"variables_get\" id=\"pB/u)vfqVG4GN[eN0;gx\"><field name=\"VAR\">f</field></shadow></value><next><block type=\"AI_client\" id=\"?-)LQc_VjDJmqNHD,(cP\"><field name=\"CTYPE\">AipOcr</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"$TgS#pfpcclZXdJ[zm}I\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\":W~ccaY0~1Wu-pcryd7)\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"4{(ah*-O$cXr}_+w5DzO\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"R??d/QMiZ0yDT^UnR2^y\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"inout_print\" id=\"bZcn*v8ARB^fGM5_.]E=\"><value name=\"VAR\"><shadow type=\"text\" id=\"ze6US|WK(wmBn@4hY3Uf\"><field name=\"TEXT\">Hello</field></shadow><block type=\"AI_Ocr\" id=\";f5wKyPAR7}Us))7IZ|T\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"STn5)J}lB2Yc{3|K_++#\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_Ocr_Func\" id=\"xDtTwWKutTI[Jop]OIU_\"><field name=\"TYPE\">basicGeneral</field></shadow></value><value name=\"ADDR\"><shadow type=\"text\" id=\")zG6%L$k35eYJVN7w-HS\"><field name=\"TEXT\">C:/mixly.jpg</field></shadow><block type=\"storage_get_contents_without_para\" id=\"c|9R,=IG)Ub,W]cwe#*q\"><field name=\"MODE\">read</field><value name=\"FILE\"><shadow type=\"variables_get\" id=\"QR%QC|?m?M5wuC*S8ZOd\"><field name=\"VAR\">f</field></shadow></value></block></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"Su@oBOZ%tNvJ%ko_{Uce\"><mutation items=\"0\"></mutation></block></value></block></value></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"storage_fileopen\" id=\"YzXj3Dmq?_X88+7fT`+^\" x=\"-643\" y=\"41\"><field name=\"MODE\">rb</field><value name=\"FILENAME\"><shadow type=\"text\" id=\"h,$h.Q{9FM4jPDObw!lp\"><field name=\"TEXT\">filename.txt</field></shadow><block type=\"AI_ChooseAndGet\" id=\",E37Vl|rNcuC$-T9{-@3\"><field name=\"TYPE\">getOneFile</field></block></value><value name=\"FILE\"><shadow type=\"variables_get\" id=\"pB/u)vfqVG4GN[eN0;gx\"><field name=\"VAR\">f</field></shadow></value><next><block type=\"AI_client\" id=\"?-)LQc_VjDJmqNHD,(cP\"><field name=\"CTYPE\">AipOcr</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"$TgS#pfpcclZXdJ[zm}I\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\":W~ccaY0~1Wu-pcryd7)\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"4{(ah*-O$cXr}_+w5DzO\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"R??d/QMiZ0yDT^UnR2^y\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"variables_set\" id=\"olq4i.~I;5we|KLWEBV)\"><field name=\"VAR\">list</field><value name=\"VALUE\"><block type=\"dicts_get\" id=\"A6H%Ko*]T)FK8%nB2{JC\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"QN-L5nJ2zjn%KnKe`6`|\"><field name=\"VAR\">mydict</field></shadow><block type=\"AI_Ocr\" id=\";f5wKyPAR7}Us))7IZ|T\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"STn5)J}lB2Yc{3|K_++#\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_Ocr_Func\" id=\"xDtTwWKutTI[Jop]OIU_\"><field name=\"TYPE\">basicGeneral</field></shadow></value><value name=\"ADDR\"><shadow type=\"text\" id=\")zG6%L$k35eYJVN7w-HS\"><field name=\"TEXT\">C:/mixly.jpg</field></shadow><block type=\"storage_get_contents_without_para\" id=\"c|9R,=IG)Ub,W]cwe#*q\"><field name=\"MODE\">read</field><value name=\"FILE\"><shadow type=\"variables_get\" id=\"QR%QC|?m?M5wuC*S8ZOd\"><field name=\"VAR\">f</field></shadow></value></block></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"Su@oBOZ%tNvJ%ko_{Uce\"><mutation items=\"0\"></mutation></block></value></block></value><value name=\"KEY\"><shadow type=\"text\" id=\"f~zaw.d+$mC+3Yh@ShP)\"><field name=\"TEXT\">words_result</field></shadow></value></block></value><next><block type=\"inout_print\" id=\"bZcn*v8ARB^fGM5_.]E=\"><value name=\"VAR\"><shadow type=\"text\" id=\"ze6US|WK(wmBn@4hY3Uf\"><field name=\"TEXT\">Hello</field></shadow><block type=\"variables_get\" id=\"/yRFD?N5N_.x%ZdX]Pqu\"><field name=\"VAR\">list</field></block></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"storage_fileopen\" id=\"kcuJa:u(%VmA57??@wfv\" x=\"-814\" y=\"-97\"><field name=\"MODE\">rb</field><value name=\"FILENAME\"><shadow type=\"text\" id=\"yWYk0x18IhN9hPDZ%[v}\"><field name=\"TEXT\">filename.txt</field></shadow><block type=\"AI_ChooseAndGet\" id=\"F9Ik#;UES*ef($Cp(Av-\"><field name=\"TYPE\">getOneFile</field></block></value><value name=\"FILE\"><shadow type=\"variables_get\" id=\"`g]bkB*X/7N?WmHHQn;s\"><field name=\"VAR\">f</field></shadow></value><next><block type=\"AI_client\" id=\"^(#3sOY^*4ewfn8]*M,/\"><field name=\"CTYPE\">AipOcr</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"Oi?y(10e:o?rA^YvNG(%\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"j5hUxLrjKJne6ttW.8}Q\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"}*onviS#%sTcGHjUc0D8\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"qEK)-lx/b$2QlfKk!n3;\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"inout_print\" id=\"=FwA/`wjz7l1F|2$]=2q\"><value name=\"VAR\"><shadow type=\"text\" id=\"]z^a]O_mT1s@+)MY2:/u\"><field name=\"TEXT\">Hello</field></shadow><block type=\"AI_Ocr\" id=\"U)OS(uY`fYJudr#}.IfS\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"G$iM6[mxq}pX?m%[Iaw!\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_Ocr_Func\" id=\"kkXiDzj@_w!^InEZ_[~i\"><field name=\"TYPE\">licensePlate</field></shadow></value><value name=\"ADDR\"><shadow type=\"text\" id=\"lMQxv{Aby}aL]hu|N#$I\"><field name=\"TEXT\">C:/mixly.jpg</field></shadow><block type=\"storage_get_contents_without_para\" id=\"QY-m42P$u;W.G:o!x$}A\"><field name=\"MODE\">read</field><value name=\"FILE\"><shadow type=\"variables_get\" id=\"[HZ*83^]~!6O`j,{Z,[a\"><field name=\"VAR\">f</field></shadow></value></block></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"3SOw3q,({N$CXfEacg3+\"><mutation items=\"0\"></mutation></block></value></block></value></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"AI_client\" id=\"NsHKIDlTbr#!9l2U39(2\" x=\"-1047\" y=\"65\"><field name=\"CTYPE\">AipNlp</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"Jp-^LaqgYD(nkwt$j5MV\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"f%ZMZzRbo,JJ76Tf-LZR\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"Pgv1`|G)yu2Uaq]wp0sv\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"3P{ZYQ~=GzKL*(XGnstk\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"inout_print\" id=\"kJ4[1V7hd*$Bdc9:7.}3\"><value name=\"VAR\"><shadow type=\"text\" id=\"c`V:)9(^tO!|3G;1GtSp\"><field name=\"TEXT\">Hello</field></shadow><block type=\"AI_Nlp\" id=\"N9@8x+6zEzi~gCIX,^x.\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"aTz2ZFlVyq/8x#dp8IkQ\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_Nlp_Func\" id=\"9Tu]Ed1`CH8G+fclqF~{\"><field name=\"TYPE\">ecnet</field></shadow></value><value name=\"STR\"><shadow type=\"text\" id=\"]xXT1q2(s!L-5f8;BRjv\"><field name=\"TEXT\">\u4FC3\u8FDB\u521B\u5BA2\u6559\u80B2\u4E0E\u672C\u5730\u65B0\u5F62\u4EA7\u4E1A\u7684\u6574\u5408\uFF0C\u4FC3\u8FDB\u5F53\u5730\u7ECF\u6D4E\u7684\u53D1\u5C55\u3002</field></shadow></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"XyuGuLCn8OmC;f]1vwA0\"><mutation items=\"0\"></mutation></block></value></block></value></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"AI_client\" id=\"}jn9cknbK$LIdV3?Q-W+\" x=\"-122\" y=\"-47\"><field name=\"CTYPE\">AipNlp</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"5Xrf){C(qY@V[G9$Zelv\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"Rf@b+ryX.xv(,O|USF/4\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"=6X9W(-=tajViD0oGm]f\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"01wVjI`6%:rar45$=d1L\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"variables_set\" id=\"[EJXW%pM2wT=CciIcU@A\"><field name=\"VAR\">s</field><value name=\"VALUE\"><block type=\"text\" id=\"),pL}Ie`UUf[D9@A!lN4\"><field name=\"TEXT\"></field></block></value><next><block type=\"controls_forEach\" id=\"aA,Vwz!`%~WRs1qC4-p@\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"dicts_get\" id=\"x$P;9bcu@g(hH(r1Txyo\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"]laU/N5mAWpV,qR!(!E{\"><field name=\"VAR\">mydict</field></shadow><block type=\"AI_Nlp\" id=\"x*9c^.W%RxM]AZNfJB?d\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"o./{=o/?80H*D||hjT1A\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_Nlp_Func\" id=\"?StfD}dgU;BIyu]#h)J*\"><field name=\"TYPE\">lexer</field></shadow></value><value name=\"STR\"><shadow type=\"text\" id=\"cVXNfiLq:%bsO|go5P?:\"><field name=\"TEXT\">\u6211\u7231\u7C73\u601D\u9F50</field></shadow></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"*9cP;7)Q9Hcte~?I-=nh\"><mutation items=\"0\"></mutation></block></value></block></value><value name=\"KEY\"><shadow type=\"text\" id=\"$hLz3zJ$)_+UQK__1yRu\"><field name=\"TEXT\">items</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"9K9uR1O9},(FC`D~$t1K\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"controls_if\" id=\"6/hLH#phpV_Ow+,2%~C{\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"M;w!c1bR59ofAlLa8$G$\"><field name=\"OP\">NEQ</field><value name=\"A\"><block type=\"variables_get\" id=\"RL|X.hO=$IbG1gsrC7:s\"><field name=\"VAR\">s</field></block></value><value name=\"B\"><block type=\"text\" id=\"/;eR03kp6)VtQPEsk_Vt\"><field name=\"TEXT\"></field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"gXj_H64F*~?!#7#.QUOJ\"><field name=\"VAR\">s</field><value name=\"VALUE\"><block type=\"text_join\" id=\"M!f-z1LD-QF-TRY0I^SN\"><value name=\"A\"><shadow type=\"text\" id=\"^p!kUn8FUqt_O~.1:1S5\"><field name=\"TEXT\">Hello</field></shadow><block type=\"variables_get\" id=\"L8[cC!%/jC7ej`a09E]j\"><field name=\"VAR\">s</field></block></value><value name=\"B\"><shadow type=\"text\" id=\"aMVcaw2XHy.f1AA;$E}@\"><field name=\"TEXT\">/</field></shadow></value></block></value></block></statement><next><block type=\"variables_set\" id=\"7KYatlu.I|RQA(v*7)81\"><field name=\"VAR\">s</field><value name=\"VALUE\"><block type=\"text_join\" id=\"di|avjE^BaC+TpgIVN*{\"><value name=\"A\"><shadow type=\"text\" id=\"^p!kUn8FUqt_O~.1:1S5\"><field name=\"TEXT\">Hello</field></shadow><block type=\"variables_get\" id=\"K[/E8uu?X2N,qu]2@HEq\"><field name=\"VAR\">s</field></block></value><value name=\"B\"><shadow type=\"text\" id=\"TJvzo-`!w9f5ia-]8iS@\"><field name=\"TEXT\">/</field></shadow><block type=\"dicts_get\" id=\"5Pq5P3=1mtLljb~hA]y4\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"#lv+IF6%7@kH!gZih:p7\"><field name=\"VAR\">i</field></shadow></value><value name=\"KEY\"><shadow type=\"text\" id=\"6X@-idJP-wTp3`?yIymK\"><field name=\"TEXT\">item</field></shadow></value></block></value></block></value></block></next></block></statement><next><block type=\"inout_print\" id=\"19V/ut%[2r%?1r/V*^kX\"><value name=\"VAR\"><shadow type=\"text\" id=\"o.t2ooo:U7p_]a(`s9/?\"><field name=\"TEXT\">Hello</field></shadow><block type=\"variables_get\" id=\"VuU.sa|t$oaw/WkmxF*}\"><field name=\"VAR\">s</field></block></value></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"AQ)1H^k`!?5XbRWM?SX9\" x=\"198\" y=\"46\"><field name=\"VAR\">tina</field><next><block type=\"variables_set\" id=\"1X]Pa?A%t8)ZLWNa$;di\"><field name=\"VAR\">angle</field><value name=\"VALUE\"><block type=\"math_number\" id=\"z32!ttJ?=~7qdKI0z^Rv\"><field name=\"NUM\">72</field></block></value><next><block type=\"controls_forEach\" id=\"9!9q)Ox~o%Xx_hOgFm.6\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"ztXl$E#j?;NfRz-DhExz\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"#BjRzljIb`0X$Q!`PF=M\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"Y6[G$~;cbOyIKN@gF#ZI\"><field name=\"NUM\">5</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"8_r7_yoYXL+iL0d*l77x\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"8h(S3TD}~|AWSHz09j[S\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"turtle_move\" id=\"T=%r^cz,LzpC!LkqDR]N\"><field name=\"DIR\">forward</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"?!=c+G=r9=aFobsnyq~B\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"nqbbRI6A{SIX_,|7_]/%\"><field name=\"NUM\">120</field></shadow></value><next><block type=\"turtle_rotate\" id=\"|([N=;0UsyukepP]]zWU\"><field name=\"DIR\">right</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\";9N5~Fs!tA:|BGui[[Hi\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"/9z;*CLYREp_WU]ad}r4\"><field name=\"NUM\">90</field></shadow><block type=\"variables_get\" id=\"o_gZ6brO:1:mWGicR}W5\"><field name=\"VAR\">angle</field></block></value></block></next></block></statement><next><block type=\"turtle_visible\" id=\"d]pU+`]`!#D(/XJh}3qI\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"y+=yXR[o4W59cpkxl@#`\"><field name=\"VAR\">tina</field></shadow></value></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"4fe![FesO2tc5u`O:LTv\" x=\"354\" y=\"122\"><field name=\"VAR\">tina</field><next><block type=\"turtle_size\" id=\"-@U,U1r#s8O%VrYH_K$k\"><value name=\"TUR\"><shadow type=\"variables_get\" id=\"poL3Y(W;pUO%2}2:(Nvh\"><field name=\"VAR\">tina</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"17+)#[*kVmC=O`hR,~$T\"><field name=\"NUM\">5</field></shadow></value><next><block type=\"controls_forEach\" id=\"CcidvWlTmjzIPtjzt}7J\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"[j:7|A(3m}op^w)@B(oH\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"/VmA]W8YT|8:R.:Fu0ss\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"IG.#8|_WffZVWn(ElM/Y\"><field name=\"NUM\">50</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"19*%,#Gbw-0jmGF8_O|F\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"SJl6V`U/ZkkGy9j[hzES\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"turtle_move\" id=\"m.Kqy(B8R@mE=A)G}+M^\"><field name=\"DIR\">forward</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"IwO5IB20gi-%CRH7g}Mx\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"qkm2[?-(_=[0Lvnk!nZz\"><field name=\"NUM\">20</field></shadow><block type=\"math_arithmetic\" id=\"wf5t`h,1jF`KtR?8-[aL\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><shadow type=\"math_number\" id=\"rjX+7%QXc]Jf690=n3mh\"><field name=\"NUM\">4</field></shadow></value><value name=\"B\"><shadow type=\"math_number\" id=\"S{Oib@WgJteX#u2wB9+M\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"DsAP]N2`?Zn_+/{$zE%E\"><field name=\"VAR\">i</field></block></value></block></value><next><block type=\"turtle_rotate\" id=\"0@Iy3tATU88xQz_*{CEB\"><field name=\"DIR\">right</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"drMLiWdzeB5o5Ce:!mSM\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"kZe@e^4Gp+E*F|7(T13R\"><field name=\"NUM\">90</field></shadow></value></block></next></block></statement><next><block type=\"turtle_visible\" id=\"m$aUw7wmp.-v}B(Kk8Y#\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\",dN`CWcG8gg?0dJ@t[(^\"><field name=\"VAR\">tina</field></shadow></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"4fe![FesO2tc5u`O:LTv\" x=\"208\" y=\"48\"><field name=\"VAR\">tina</field><next><block type=\"turtle_size\" id=\"-@U,U1r#s8O%VrYH_K$k\"><value name=\"TUR\"><shadow type=\"variables_get\" id=\"poL3Y(W;pUO%2}2:(Nvh\"><field name=\"VAR\">tina</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"17+)#[*kVmC=O`hR,~$T\"><field name=\"NUM\">5</field></shadow></value><next><block type=\"lists_create_with_text\" id=\"rGj^?_sXZtK-3(HHy*@d\"><field name=\"VAR\">colorlist</field><field name=\"TEXT\">'red','blue','green','yellow'</field><next><block type=\"controls_forEach\" id=\"CcidvWlTmjzIPtjzt}7J\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"[j:7|A(3m}op^w)@B(oH\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"/VmA]W8YT|8:R.:Fu0ss\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"IG.#8|_WffZVWn(ElM/Y\"><field name=\"NUM\">50</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"19*%,#Gbw-0jmGF8_O|F\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"SJl6V`U/ZkkGy9j[hzES\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"turtle_pencolor_hex\" id=\"@x_L?spAKP`KqG6i6n$)\"><value name=\"TUR\"><shadow type=\"variables_get\" id=\".p.~,@%lGGb~wq-d:r|?\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"text\" id=\"D9T?yOAZKPOUxaXJ6*h`\"><field name=\"TEXT\">FF0000</field></shadow><block type=\"lists_get_index\" id=\"+rUMoCyL:c)wdn~7afK}\"><value name=\"LIST\"><shadow type=\"variables_get\" id=\"!ra;zEj|W~*5I)%7~qe;\"><field name=\"VAR\">colorlist</field></shadow></value><value name=\"AT\"><shadow type=\"math_number\" id=\"1SnwZ~Y%bO.Hzr~bl/7f\"><field name=\"NUM\">0</field></shadow><block type=\"math_arithmetic\" id=\")?FLEKKuiB3g^z4zMK1E\"><field name=\"OP\">QUYU</field><value name=\"A\"><shadow type=\"math_number\" id=\"mp60,UYFws4*tvDzqtyZ\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"g|$n]ig].a8O79m7R,N(\"><field name=\"VAR\">i</field></block></value><value name=\"B\"><shadow type=\"math_number\" id=\"+oOZ_w-FrKUHvD+1,4Oa\"><field name=\"NUM\">4</field></shadow></value></block></value></block></value><next><block type=\"turtle_move\" id=\"m.Kqy(B8R@mE=A)G}+M^\"><field name=\"DIR\">forward</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"IwO5IB20gi-%CRH7g}Mx\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"qkm2[?-(_=[0Lvnk!nZz\"><field name=\"NUM\">20</field></shadow><block type=\"math_arithmetic\" id=\"wf5t`h,1jF`KtR?8-[aL\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><shadow type=\"math_number\" id=\"rjX+7%QXc]Jf690=n3mh\"><field name=\"NUM\">4</field></shadow></value><value name=\"B\"><shadow type=\"math_number\" id=\"S{Oib@WgJteX#u2wB9+M\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"DsAP]N2`?Zn_+/{$zE%E\"><field name=\"VAR\">i</field></block></value></block></value><next><block type=\"turtle_rotate\" id=\"0@Iy3tATU88xQz_*{CEB\"><field name=\"DIR\">right</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"drMLiWdzeB5o5Ce:!mSM\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"kZe@e^4Gp+E*F|7(T13R\"><field name=\"NUM\">91</field></shadow></value></block></next></block></next></block></statement><next><block type=\"turtle_visible\" id=\"7p~wz!DTPufd-Vmeq}X7\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\")K.t*HC{/X15icAU5O%l\"><field name=\"VAR\">tina</field></shadow></value></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"VO^M5`IthKa%hb]u!M?v\" x=\"298\" y=\"79\"><field name=\"VAR\">tina</field><next><block type=\"turtle_size\" id=\"1K0o$35T{84d!qs9dXD6\"><value name=\"TUR\"><shadow type=\"variables_get\" id=\"*+,fms3T][PU|b8oN/`j\"><field name=\"VAR\">tina</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"RDV-qGd3w9|u9:yFl%vs\"><field name=\"NUM\">5</field></shadow></value><next><block type=\"turtle_pencolor\" id=\"9_%!gKsITU*e#4n7,6C0\"><field name=\"FIELDNAME\">#ff0000</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"/54t=xEr}9U*nq__5SAw\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"turtle_fillcolor\" id=\"H7wG?[uqQnz:@bLU(eHw\"><field name=\"FIELDNAME\">#ffff00</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"qJ#7)={BM0)9G]ABRQ,j\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"turtle_fill\" id=\"t/0{W[Z0d$g:9E(Mi%/l\"><field name=\"DIR\">begin</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"`-srIh)VW$K07_Uk70m3\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"controls_forEach\" id=\"bz7BPbcS]*)2+08j:Lbv\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"Wia/iGA]c=t-vIw5t/[w\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"K1vlI3DR8AWX3}{hR+c(\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"EUc9,+whLY{PPbKkAx%W\"><field name=\"NUM\">5</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"*|^GU(Q(|y3CqW73[Lx:\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\".)JX30%Agr7!WCHYk|32\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"turtle_move\" id=\"s@BC9i]VRfZubEs-y3G?\"><field name=\"DIR\">forward</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"u[kwS7w}m(cxQb-JeZNP\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"!K)_rw|%I[_y`@)`b+Ny\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"turtle_rotate\" id=\"Opth^t%/;KEAtt%vq-vg\"><field name=\"DIR\">right</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"w!-~No^!.vJ5UlJc6SNu\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"H;B=I556VmZHT%n!Wa:S\"><field name=\"NUM\">144</field></shadow></value></block></next></block></statement><next><block type=\"turtle_fill\" id=\"9|jVBpzEYbVZMv/)btSM\"><field name=\"DIR\">end</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"ebROw0M#.ce@mB$o6b(2\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"turtle_visible\" id=\"5;AB!2IO09-:?wySNqIr\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"Y{XMh{oN0#zkRUp$v+GN\"><field name=\"VAR\">tina</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"+3@kqgc;w$5TfPfb{u1`\" x=\"199\" y=\"64\"><field name=\"VAR\">tina</field><next><block type=\"variables_set\" id=\"8]YJ=)Cj2%xeJl(*0m5F\"><field name=\"VAR\">mygender</field><value name=\"VALUE\"><block type=\"text\" id=\"bxmgFu=FaLGR@S0js57:\"><field name=\"TEXT\">\u5973</field></block></value><next><block type=\"variables_set\" id=\"d81(O8@.{7vP7]a*WqH8\"><field name=\"VAR\">guess</field><value name=\"VALUE\"><block type=\"turtle_textinput\" id=\",!vz0r/%i{C,Q|9t~WR{\"><value name=\"TITLE\"><shadow type=\"text\" id=\"k*Ij_I59D^{o3ZJwc$17\"><field name=\"TEXT\">\u731C\u4E00\u731C</field></shadow></value><value name=\"PROMPT\"><shadow type=\"text\" id=\"k/xN!cwTPo`q6JIVGkO9\"><field name=\"TEXT\">\u731C\u4E00\u731C\u6211\u662F\u7537\u751F\u8FD8\u662F\u5973\u751F\uFF1F</field></shadow></value></block></value><next><block type=\"turtle_pencolor\" id=\"*Ju.ulc2Cv[).Ql41ifg\"><field name=\"FIELDNAME\">#ff0000</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"Jd4zl5J85uq3NKy7sInq\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"turtle_visible\" id=\"[fr/X|4i`0}0en=z`dZ{\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"#;s]}+:LP:Si)K8.MX1?\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"controls_if\" id=\"{}k~`]fu3Zk{sW~(%7?s\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"|{lD+tbc`pwF`FOw$c_o\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\"RqVfR1R54N4zqMlb=T9(\"><field name=\"VAR\">mygender</field></block></value><value name=\"B\"><block type=\"variables_get\" id=\"w2iIrN8XolK7igU|#6Jw\"><field name=\"VAR\">guess</field></block></value></block></value><statement name=\"DO0\"><block type=\"turtle_write_format\" id=\"bs{J*{R-)|Hw3B2/BC)J\"><field name=\"MOVE\">False</field><field name=\"ALIGN\">left</field><field name=\"FONTTYPE\">normal</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"DSz(am=}jcAGJWyg4219\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"text\" id=\"%[o_kVyJTY6gbi;x)(O(\"><field name=\"TEXT\">\u4F60\u771F\u68D2\uFF0C\u731C\u5BF9\u4E86!</field></shadow></value><value name=\"FONTNAME\"><shadow type=\"text\" id=\"1aUZmMx}/hD}+ul,`gXi\"><field name=\"TEXT\">\u9ED1\u4F53</field></shadow></value><value name=\"FONTNUM\"><shadow type=\"math_number\" id=\"wn)=55d6dsj-O^BZ?l+L\"><field name=\"NUM\">20</field></shadow></value></block></statement><statement name=\"ELSE\"><block type=\"turtle_write_format\" id=\"Ic-98j-y#Xc9%?^kdGKV\"><field name=\"MOVE\">False</field><field name=\"ALIGN\">left</field><field name=\"FONTTYPE\">normal</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"dC?7tBBZS@R3Kbz=4AdA\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"text\" id=\"07r~|~pj/TlWCm+HhP#t\"><field name=\"TEXT\">\u5F88\u9057\u61BE\uFF0C\u731C\u9519\u4E86!</field></shadow></value><value name=\"FONTNAME\"><shadow type=\"text\" id=\"}u^PZS*y,Y7:`CO}LyHI\"><field name=\"TEXT\">\u9ED1\u4F53</field></shadow></value><value name=\"FONTNUM\"><shadow type=\"math_number\" id=\"jg^faTmdq:}]@IiwLvUa\"><field name=\"NUM\">20</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,17 @@
import turtle
tina= turtle.Turtle()
tina.forward(200)
tina.left(150)
tina.forward(115)
tina.left(60)
tina.forward(115)
tina.left(150)
tina.forward(40)
tina.right(90)
tina.forward(120)
tina.left(90)
tina.forward(120)
tina.left(90)
tina.forward(120)
tina.hideturtle()

View File

@@ -0,0 +1,8 @@
import turtle
tina= turtle.Turtle()
angle = 72
for i in range(0, 5, 1):
tina.forward(120)
tina.right(angle)
tina.hideturtle()

View File

@@ -0,0 +1,37 @@
import turtle
tina= turtle.Turtle()
tina.pensize(5)
tina.setheading(120)
tina.circle ((-90),180)
tina.left(60)
tina.circle ((-50),150)
tina.setheading(180)
tina.forward(20)
tina.setheading(90)
tina.circle (20,360)
tina.penup()
tina.setheading(180)
tina.forward(15)
tina.pendown()
tina.setheading(90)
tina.circle (5,360)
tina.penup()
tina.setheading(180)
tina.forward(25)
tina.pendown()
tina.forward(50)
tina.setheading(90)
tina.circle (20,360)
tina.penup()
tina.setheading(180)
tina.forward(15)
tina.pendown()
tina.setheading(90)
tina.circle (5,360)
tina.penup()
tina.setheading(180)
tina.forward(25)
tina.pendown()
tina.forward(30)
tina.hideturtle()

View File

@@ -0,0 +1,19 @@
import turtle
tina= turtle.Turtle()
tina.pensize(5)
tina.fillcolor("#ff6600")
tina.begin_fill()
tina.right(180)
tina.circle (100,320)
tina.right(30)
tina.circle (45,100)
tina.end_fill()
tina.penup()
tina.goto(35,8)
tina.pendown()
tina.fillcolor("#330000")
tina.begin_fill()
tina.circle (5,360)
tina.end_fill()
tina.hideturtle()

View File

@@ -0,0 +1,21 @@
import turtle
tina= turtle.Turtle()
tina.pensize(10)
tina.pencolor("#ff6600")
tina.circle (100,360)
tina.penup()
tina.goto(0,100)
tina.pendown()
tina.setheading(90)
tina.pencolor("#ffffff")
tina.fillcolor("#ff9900")
for i in range(0, 8, 1):
tina.begin_fill()
tina.backward(90)
tina.right(90)
tina.circle (90,45)
tina.left(90)
tina.forward(90)
tina.end_fill()
tina.hideturtle()

View File

@@ -0,0 +1,34 @@
import turtle
tina= turtle.Turtle()
tina.pencolor("#ffcc33")
tina.fillcolor("#ffcc33")
tina.pensize(5)
tina.begin_fill()
tina.circle (80,360)
tina.end_fill()
tina.penup()
tina.goto(-40,100)
tina.pendown()
tina.pencolor("#000000")
tina.setheading(30)
tina.circle ((-30),60)
tina.penup()
tina.goto(20,100)
tina.pendown()
tina.setheading(30)
tina.circle ((-30),60)
tina.penup()
tina.goto(-20,60)
tina.pendown()
tina.setheading(-30)
tina.circle (50,60)
tina.penup()
tina.goto(-30,-30)
tina.pendown()
tina.pencolor("#ffcc33")
tina.setheading(60)
for i in range(0, 12, 1):
tina.circle ((-35),120)
tina.left(150)
tina.hideturtle()

View File

@@ -0,0 +1,61 @@
import turtle
import math
tina= turtle.Turtle()
tina.pencolor("#000000")
tina.pensize(5)
tina.penup()
tina.goto(-5,-5)
tina.pendown()
tina.fillcolor("#ffcc00")
tina.begin_fill()
tina.setheading(-50)
for i in range(0, 6, 1):
tina.circle (45,150)
tina.right(90)
tina.end_fill()
tina.penup()
tina.goto(0,0)
tina.setheading(0)
tina.pendown()
tina.fillcolor("#ff6600")
tina.begin_fill()
tina.circle (80,360)
tina.end_fill()
for i in range(-3, 4, 1):
tina.penup()
tina.goto(i * 20,math.fabs(i) * 10)
tina.pendown()
tina.setheading(90)
tina.forward((160 - math.fabs(i) * 20))
for i in range(-3, 4, 1):
tina.penup()
tina.goto(-80 + math.fabs(i) * 10,80 + i * 20)
tina.pendown()
tina.setheading(0)
tina.forward((160 - math.fabs(i) * 20))
tina.penup()
tina.goto(0,0)
tina.pendown()
tina.pencolor("#006600")
tina.setheading(-90)
tina.circle ((-600),20)
tina.penup()
tina.goto(-10,-100)
tina.setheading(-150)
tina.pendown()
tina.circle ((-60),120)
tina.setheading(30)
tina.circle ((-60),120)
tina.setheading(150)
tina.forward(100)
tina.penup()
tina.goto(-15,-150)
tina.setheading(70)
tina.pendown()
tina.circle ((-60),120)
tina.setheading(-110)
tina.circle ((-60),120)
tina.setheading(10)
tina.forward(100)
tina.hideturtle()

View File

@@ -0,0 +1,8 @@
import turtle
tina= turtle.Turtle()
tina.pensize(5)
for i in range(0, 50, 1):
tina.forward((4 * i))
tina.right(90)
tina.hideturtle()

View File

@@ -0,0 +1,10 @@
import turtle
tina= turtle.Turtle()
tina.pensize(5)
colorlist = ['red','blue','green','yellow']
for i in range(0, 50, 1):
tina.pencolor(colorlist[i % 4])
tina.forward((4 * i))
tina.right(91)
tina.hideturtle()

View File

@@ -0,0 +1,55 @@
import turtle
tina= turtle.Turtle()
tina.pencolor("#339999")
tina.fillcolor("#339999")
tina.begin_fill()
for i in range(0, 4, 1):
tina.forward(180)
tina.circle ((-20),90)
tina.end_fill()
tina.penup()
tina.goto(0,-160)
tina.pendown()
tina.pencolor("#ffffff")
tina.write("m",False,align="left",font=("Ravie",120,"bold"))
tina.fillcolor("#ffffff")
tina.penup()
tina.goto(20,-140)
tina.pendown()
tina.begin_fill()
tina.right(120)
for i in range(0, 10, 1):
tina.forward(2)
tina.left(5)
for i in range(0, 5, 1):
tina.forward(2)
tina.left(10)
for i in range(0, 10, 1):
tina.forward(10)
tina.left(2)
for i in range(0, 10, 1):
tina.forward(2)
tina.left(4)
for i in range(0, 10, 1):
tina.forward(4)
tina.left(5)
tina.left(100)
tina.forward(5)
tina.left(60)
for i in range(0, 5, 1):
tina.forward(2)
tina.right(10)
for i in range(0, 5, 1):
tina.forward(10)
tina.right(5)
for i in range(0, 5, 1):
tina.forward(12)
tina.right(2)
for i in range(0, 5, 1):
tina.forward(4)
tina.right(15)
tina.left(90)
tina.forward(5)
tina.end_fill()
tina.hideturtle()

View File

@@ -0,0 +1,12 @@
import turtle
tina= turtle.Turtle()
tina.pensize(5)
tina.pencolor("#ff0000")
tina.fillcolor("#ffff00")
tina.begin_fill()
for i in range(0, 5, 1):
tina.forward(100)
tina.right(144)
tina.end_fill()
tina.hideturtle()

View File

@@ -0,0 +1,21 @@
import turtle
tina= turtle.Turtle()
tina.pencolor("#ff0000")
tina.fillcolor("#ffff00")
n = int(turtle.numinput("输入","请输入尖角个数奇数或4的倍数",20,minval = 0,maxval = 100))
while n % 4 == 2:
tina.clear()
tina.write("无法一笔画出" + str(n) + "角星",False,align="left",font=("Arial",16,"normal"))
n = int(turtle.numinput("输入","请输入尖角个数:",20,minval = 0,maxval = 100))
tina.clear()
if n % 4 == 0:
angle = 180 - 360 / n
else:
angle = 180 - 180 / n
tina.begin_fill()
for i in range(0, n, 1):
tina.forward(200)
tina.right(angle)
tina.end_fill()
tina.hideturtle()

View File

@@ -0,0 +1,11 @@
import turtle
tina= turtle.Turtle()
mygender = ""
guess = turtle.textinput("猜一猜","猜一猜我是男生还是女生?")
tina.pencolor("#ff0000")
tina.hideturtle()
if mygender == guess:
tina.write("你真棒,猜对了!",False,align="left",font=("黑体",20,"normal"))
else:
tina.write("很遗憾,猜错了!",False,align="left",font=("黑体",20,"normal"))

View File

@@ -0,0 +1,24 @@
import turtle
age = 25
tina= turtle.Turtle()
tina.pencolor("#ff0000")
tina.hideturtle()
tina.penup()
tina.goto(-100,100)
tina.pendown()
y = 100
while True:
guess = turtle.numinput("猜一猜","猜一猜我几岁?",0,minval = 0,maxval = 100)
if guess == age:
tina.write("你真棒,猜对了!",False,align="left",font=("黑体",20,"normal"))
break
elif guess > age:
tina.write("我比你想的要小哦!",False,align="left",font=("黑体",10,"normal"))
else:
tina.write("我比你想的要大哦",False,align="left",font=("黑体",10,"normal"))
tina.penup()
y = y - 20
tina.goto(-100,y)
tina.pendown()
tina.hideturtle()

View File

@@ -0,0 +1,19 @@
import turtle
tina= turtle.Turtle()
r = 100
gap = 10
tina.pensize(5)
tina.pencolor("#663300")
tina.fillcolor("#666600")
tina.begin_fill()
while r > 0:
tina.circle (r,360)
r = r - gap
tina.penup()
tina.setheading(90)
tina.forward(gap)
tina.setheading(0)
tina.pendown()
tina.end_fill()
tina.hideturtle()

View File

@@ -0,0 +1,25 @@
import turtle
tina= turtle.Turtle()
r = turtle.numinput("输入半径","请输入大树的半径",100,minval = 0,maxval = 100)
gap = turtle.numinput("输入间隔","请输入年轮之间的间隔",10,minval = 0,maxval = 100)
age = 0
tina.pensize(5)
tina.pencolor("#663300")
tina.fillcolor("#666600")
tina.begin_fill()
while r > 0:
tina.circle (r,360)
age = age + 1
r = r - gap
tina.penup()
tina.setheading(90)
tina.forward(gap)
tina.setheading(0)
tina.pendown()
tina.end_fill()
tina.penup()
tina.goto(-20,-50)
tina.pendown()
tina.write("大树" + str(age) + "岁了!",False,align="left",font=("Arial",30,"normal"))
tina.hideturtle()

View File

@@ -0,0 +1,52 @@
import turtle
def moveandgo(x, y, distance):
tina.penup()
tina.goto(x,y)
tina.pendown()
tina.setheading(0)
tina.forward(distance)
def moveandcircle(x, y, radius):
tina.fillcolor("#ffffff")
tina.penup()
tina.goto(x,y)
tina.pendown()
tina.begin_fill()
tina.setheading(90)
tina.circle (radius,360)
tina.end_fill()
def moveandrectangle(x, y, width, length):
tina.penup()
tina.goto(x,y)
tina.pendown()
tina.setheading(0)
for i in range(0, 4, 1):
if i % 2 == 0:
tina.forward(width)
else:
tina.forward(length)
tina.right(90)
tina= turtle.Turtle()
tina.pensize(5)
for i in range(0, 4, 1):
if i % 2 == 0:
tina.forward(300)
else:
tina.forward(150)
tina.circle (20,90)
moveandgo(-20, 150, 340)
moveandrectangle(-20, 130, 50, 70)
for i in range(0, 4, 1):
moveandrectangle(60 + 60 * i, 130, 40, 50)
moveandgo(-20, 20, 340)
moveandgo(-15, 10, 330)
moveandcircle(40, -20, -30)
moveandcircle(200, -20, -30)
tina.hideturtle()

View File

@@ -0,0 +1,75 @@
import turtle
import random
def moveto(x, y):
tina.penup()
tina.goto(x,y)
tina.pendown()
tina.setheading(0)
def drawhouse(x, y, layer):
moveto(x, y)
tina.pencolor("#000000")
tina.fillcolor("#000000")
tina.begin_fill()
tina.forward(80)
tina.left(90)
tina.forward((20 * layer))
tina.left(30)
tina.forward(80)
tina.left(120)
tina.forward(80)
tina.left(30)
tina.forward((20 * layer))
tina.left(90)
tina.forward(80)
tina.end_fill()
for i in range(0, layer, 1):
for j in range(0, 4, 1):
drawwindow((x + 5) + j * 20, (y + 5) + i * 20)
def drawstar(len):
tina.pencolor("#ffff00")
tina.fillcolor("#ffff00")
tina.begin_fill()
for i in range(0, 5, 1):
tina.forward(len)
tina.right(144)
tina.end_fill()
def drawwindow(x, y):
moveto(x, y)
tina.pencolor("#ffffff")
tina.fillcolor("#ffffff")
tina.begin_fill()
for i in range(0, 4, 1):
tina.forward(10)
tina.left(90)
tina.end_fill()
tina= turtle.Turtle()
turtle.bgcolor("#001020")
tina.pencolor("#ffff00")
tina.fillcolor("#ffff00")
moveto(-200, 200)
tina.begin_fill()
tina.setheading(-135)
tina.circle (60,180)
tina.setheading(175)
tina.circle ((-95),80)
tina.end_fill()
for i in range(0, 6, 1):
x = random.randint(-100, 300)
y = random.randint(100, 280)
moveto(x, y)
drawstar(random.randint(10, 20))
drawhouse(0, -250, 10)
drawhouse(150, -250, 5)
tina.hideturtle()

View File

@@ -0,0 +1,22 @@
import turtle
def Fibonacci(n):
if n <= 2:
fib = 1
else:
fib = Fibonacci(n - 1) + Fibonacci(n - 2)
return fib
tina= turtle.Turtle()
for i in range(1, 11, 1):
m = Fibonacci(i)
if i != 10:
tina.write(str(m) + "",False,align="left",font=("Arial",18,"normal"))
else:
tina.write(str(m),False,align="left",font=("Arial",18,"normal"))
tina.penup()
tina.forward(30)
tina.pendown()
tina.hideturtle()

View File

@@ -0,0 +1,16 @@
import turtle
def Fibonacci(n):
if n <= 2:
fib = 1
else:
fib = Fibonacci(n - 1) + Fibonacci(n - 2)
return fib
tina= turtle.Turtle()
for i in range(1, 14, 1):
m = Fibonacci(i)
tina.circle (m,90)
tina.hideturtle()