# FromVB2Python **Repository Path**: linkageCloud/fromvb2python ## Basic Information - **Project Name**: FromVB2Python - **Description**: FromVB2Python (从VB到Python的编程微项目),取材VB高考或高考模拟及练习题,用Python语言改编成微项目,提供实现源码、改编的试题和教学建议等。 - **Primary Language**: Python - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: https://gitee.com/coit/fromvb2python - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 47 - **Created**: 2021-06-25 - **Last Updated**: 2021-06-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # FromVB2Python (从VB到Python的编程微项目) ![输入图片说明](https://images.gitee.com/uploads/images/2021/0211/162930_bceaadeb_874129.png "FromVB2Python.png") #### 介绍 本项目旨在改编VB与算法相关的学考和选考中的编程题,用Python语言进行改编,形成编程教学小项目或案例,用于教学和练习。大多案例提供了tkinter GUI版本和shell版。提供GUI版,一方面满足了人们的VB界面的情结,另一方面也可以让学生有一个直观界面,且为学生编制小项目提供参考。同时提供shell版,是为体现Python的简洁代码之道,专注于问题解决和计算思维的培养,而非界面。 #### 内容来源 微项目素材主要来自于浙江省等地区的高中信息技术高考(学考选考)或相关地市模拟试题, 并尽量注明来源。 #### 项目体例 1. 每个微项目一个文件夹,以难度类型(学考、选考A、选考B)+内容主题+来源+年份来命名,如“学考-温度转换-浙江学考选考2015年10月第14题”。难度类型:学考难度一般指浙江学考卷第11题或两考合一及选考第14题相当的难度;选考A指浙江高考选考第16题相当的难度;选考B指浙江高考选考17题相当的难度)。 2. 每个微项目提供了readme.md和Word格式的文档(两者内容相同),文档内含VB源题(截图版或文字)、GUI版程序实现及运行界面截图、GUI版改编的试题、shell版程序实现及运行界面截图、shell版改编的试题、教学建议等。同时提供GUI版和shell版的程序源码以及必要的素材(微项目源码放本文件夹下,图片放在images子文件夹中,其他相关放在media中)。README.MD格式如下: ``` # 微项目:xxx #### 一、源题 #### 二、Python程序实现(GUI版) #### 三、GUI版习题 备用符号:如嫌①②③④⑤⑥太小,则用㊀㊁㊂㊃㊄㊅;错误代码改正题中的错误代码用【】括起来。 #### 四、Python程序实现(Shell版) #### 五、Shell版习题 备用符号:如嫌①②③④⑤⑥太小,则用㊀㊁㊂㊃㊄㊅;错误代码改正题中的错误代码用【】括起来。 #### 六、教学建议 ``` 程序源码标明遵循木兰宽松协议V2版,具体可复制如下代码放在源码首部: ``` # -*- coding: utf-8 -*- # Copyright (c) 2021 FromVB2Python # FromVB2Python is licensed under Mulan PSL v2. # You can use this software according to the terms and conditions of the Mulan PSL v2. # You may obtain a copy of Mulan PSL v2 at: # http://license.coscl.org.cn/MulanPSL2 # THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. # See the Mulan PSL v2 for more details. ``` 3. WIKI提供各项微项目列表。 #### 使用说明 1. 所有文档与代码请根据开源协议合理使用。 2. 所有源题归原作者所有,不纳入开源协议授权的范围。 3. 文档与代码在使用前请自行审阅。 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 项目列表(开发中...) - 001-学考-温度转换-201510-14学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/001-学考-温度转换-201510-14学考选考) - 002-选考A-冒泡排序-201510-16学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/002-选考A-冒泡排序-201510-16学考选考) - 003-选考难度B-字符串加密-201510-17学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/003-选考难度B-字符串加密-201510-17学考选考) - 004-学考-天干地支与生肖-201604-14学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/004-学考-天干地支与生肖-201604-14学考选考) - 005-选考A-降水量变化-201604-16学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/005-选考A-降水量变化-201604-16学考选考) - 006-选考难度B-数据解压缩-201604-17学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/006-选考难度B-数据解压缩-201604-17学考选考) - 007-学考-加法练习题生成器-201610-14学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/007-学考-加法练习题生成器-201610-14学考选考) - 008-选考A-探究冒泡排序-201610-16学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/008-选考A-探究冒泡排序-201610-16学考选考) - 009-选考B-成绩统计-201610-17学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/009-选考B-成绩统计-201610-17学考选考) - 010-学考-奇校验-201704-14学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/010-学考-奇校验-201704-14学考选考) - 十一-选考A-查找替换-201704-16学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/十一-选考A-查找替换-201704-16学考选考) - 012-选考B-计算名次-201704-17学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/012-选考B-计算名次-201704-17学考选考) - 013-学考-字符串生成-201711-14学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/013-学考-字符串生成-201711-14学考选考) - 014-选考A-排序-201711-16学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/014-选考A-排序-201711-16学考选考) - 015-选考B-方阵转换-201711-17学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/015-选考B-方阵转换-201711-17学考选考) - 016-学考-编码翻译-201804-14学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/016-学考-编码翻译-201804-14学考选考) - 017-选考A-素数与非素数排序-201804-16学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/017-选考A-素数与非素数排序-201804-16学考选考) - 018-选考B-对称波峰-201804-17学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/018-选考B-对称波峰-201804-17学考选考) - 019-学考-素数判断-201806-11学考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/019-学考-素数判断-201806-11学考) - 020-学考-计算折线长度-201811-14学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/020-学考-计算折线长度-201811-14学考选考) - 021-选考A-对分查找-201811-16学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/021-选考A-对分查找-201811-16学考选考) - 022-选考B-解密程序-201811-17学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/022-选考B-解密程序-201811-17学考选考) - 023-学考-进制转换-201901-11学考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/023-学考-进制转换-201901-11学考) - 024-学考-模拟撤销-201904-14学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/024-学考-模拟撤销-201904-14学考选考) - 025-选考A-奇偶位置排序算法-201904-16学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/025-选考A-奇偶位置排序算法-201904-16学考选考) - 026-选考A-统计区间重叠情况-201904-17学考选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/026-选考A-统计区间重叠情况-201904-17学考选考) - 027-学考-参赛作品选取-201906-11学考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/027-学考-参赛作品选取-201906-11学考) - 028-选考A-比赛数据分析-202001-15选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/028-选考A-比赛数据分析-202001-15选考) - 029-选考B-数据整理-202001-16选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/029-选考B-数据整理-202001-16选考) - 030-学考-解密-202001-11学考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/030-学考-解密-202001-11学考) - 031-选考A-考场分配-202007-15选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/031-选考A-考场分配-202007-15选考) - 032-选考B-两城温差-202007-16选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/032-选考B-两城温差-202007-16选考) - 033-选考A-挑选队员-202101-15选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/033-选考A-挑选队员-202101-15选考) - 034-选考B-模拟物品放置-202101-16选考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/034-选考B-模拟物品放置-202101-16选考) - 035-学考-弹球发光轨迹-202101-11学考 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/035-学考-弹球发光轨迹-202101-11学考) - 036-学考-鞋码换算-201702-14温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/036-学考-鞋码换算-201702-14温州选考模拟) - 037-选考A-字母统计-201702-16温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/037-选考A-字母统计-201702-16温州选考模拟) - 038-选考B-连续数-201702-17温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/038-选考B-连续数-201702-17温州选考模拟) - 039-学考-HtoD-201709-14温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/039-学考-HtoD-201709-14温州选考模拟) - 040-选考A-桶排序-201709-16温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/040-选考A-桶排序-201709-16温州选考模拟) - 041-选考B-选考统计-201709-17温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/041-选考B-选考统计-201709-17温州选考模拟) - 042-学考-单词查询-201803-14温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/042-学考-单词查询-201803-14温州选考模拟) - 043-选考A-插入排序-201803-16温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/043-选考A-插入排序-201803-16温州选考模拟) - 044-选考B-技术成绩查询-201803-17温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/044-选考B-技术成绩查询-201803-17温州选考模拟) - 045-学考-圆周率计算-201808-14温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/045-学考-圆周率计算-201808-14温州选考模拟) - 046-选考A-奇数排序-201808-16温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/046-选考A-奇数排序-201808-16温州选考模拟) - 047-选考B-不连续升序列-201808-17温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/047-选考B-不连续升序列-201808-17温州选考模拟) - 048-学考-三角形统计-201902-14温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/048-学考-三角形统计-201902-14温州选考模拟) - 049-选考A-丢失的学号-201902-16温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/049-选考A-丢失的学号-201902-16温州选考模拟) - 050-选考B-最短管道-201902-17温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/050-选考B-最短管道-201902-17温州选考模拟) - 051-选考A-对分查找二-201911-15温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/051-选考A-对分查找二-201911-15温州选考模拟) - 052-选考B-移数游戏-201911-16温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/052-选考B-移数游戏-201911-16温州选考模拟) - 053-选考A-筛选操作-202004-15温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/053-选考A-筛选操作-202004-15温州选考模拟) - 054-选考B-多选题阅卷-202004-16温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/054-选考B-多选题阅卷-202004-16温州选考模拟) - 055-选考A-筛选方式-202006-15温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/055-选考A-筛选方式-202006-15温州选考模拟) - 056-选考B-平分口罩绳-202006-16温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/056-选考B-平分口罩绳-202006-16温州选考模拟) - 057-选考A-环形数据排序-202011-15温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/057-选考A-环形数据排序-202011-15温州选考模拟) - 058-选考B-消除字符-202011-16温州选考模拟 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/058-选考B-消除字符-202011-16温州选考模拟) - 059-学考-玫瑰花数-201606-某市统测 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/059-学考-玫瑰花数-201606-某市统测) - 060-学考-抽奖摇奖-201702-台州市统测 [点击查看](https://gitee.com/coit/fromvb2python/tree/master/060-学考-抽奖摇奖-201702-台州市统测)