Giter Site home page Giter Site logo

lllhhhqqq / primaryschoolmathematics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bosichong/primaryschoolmathematics

1.0 1.0 0.0 170 KB

孩子上小学一年级了,加减乘除的口算就要开始练习了,估计老师肯定会让家长出题,所以提前准备一下,利用Python开发了一套自动生成小学生口算题的小应用。而且今天是程序员节,撸200行代码庆祝一下。:)

Home Page: http://www.17python.com/p.html?p=83

License: Apache License 2.0

Python 100.00%

primaryschoolmathematics's Introduction

孩子上小学一年级了,加减乘除的口算就要开始练习了,估计老师肯定会让家长出题,所以提前准备一下,利用Python开发了一套自动生成小学生口算题的小应用。而且今天是程序员节,撸200行代码庆祝一下。:)

为了让程序员老爹解放抄题的双手,让你拥有更多的时间去写代码而不用去手写几道口算题而伤神伤脑。所以有没有娃子的程序员爹爹加入一起来继续优化个开源小程序的?有什么点子,发现什么BUG,欢迎留言。

仅以此软件,献给那些热爱Python的程序员老爹们!

程序核心功能:

1.可以设置各算数项和结果的取值范围及多步算数符号的选择,可以生成求结果、求算数项、带括号的算式,最多支持3步算式题

2.可以简单设置文档标题,小标题。设置生成的口算题文档个数

使用方法:

1 确定本机支持python3.6.1以上版本

2 安装.docx模块,安装wxPython模块 安装方法:

pip3 install python-docx

pip3 install wxpython

3 下载程序进入主目录,终端下运行python App.py

4 修改运算项和结果范围里的数值,多步运算请添加修改需要的运算符号:

输入图片说明

输入图片说明

5 添加口算题到列表中,然后生成口算题,生成的口算题文件都在docx文件目录下,打开后连接打印机就可以开印了。

程序界面截图:

输入图片说明

程序成生的口算题截图:

输入图片说明

输入图片说明

输入图片说明

输入图片说明

primaryschoolmathematics's People

Contributors

bosichong avatar ruancheng77 avatar andywu1998 avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.