多功能一体机库版本,现已更新至4.0.0版本 说明如下:
Help on module Allinone:
NAME
Allinone
DESCRIPTION
# -*- coding:UTF-8 -*-
# @Author:Chay
# @TIME:2024/07/23 17:00
# @FILE:Allinone.py
# @version:4.0.1
# @Software:Visual Studio Code
FUNCTIONS
allinone(fuwu, mode, *args)
:param fuwu 需要服务的功能
:param mode 部分功能需要的模式(详见Github中All-in-one2.4.0分支的Wiki页)
:param *args 可变参数,表示需要传入的参数,建议用元组或列表类型,具体所需类型见README.MD
:return: 0:正常,1:不正常,其他返回值表示功能的结果
功能(按代码顺序排序,不分先后):大小写互换、抽取随机数、求最小公倍数、求最大公倍数、图形计算器、小学学生信息管理系统、二分查找、求余、向下取整、向上取整、多个数求和、多个数求差、多个数求积、判断闰年、判断是否为质数、整数、小数计算(加减乘除)、分数计算(加减乘除)......(具体见Github All-in-one2.4.0分支Readme.md文件)
FILE
d:\chay\project\all-in-one\src\all-in-one_chaylichenyi\allinone.py
Help on module shujuku:
NAME
shujuku
DESCRIPTION
# -*- coding:UTF-8 -*-
# @Author:Chay
# @TIME:2024/07/23 17:00
# @FILE:Allinone.py
# @version:4.0.1
# @Software:Visual Studio Code
FUNCTIONS
sjc(fuwu: str, mode: int, canshu: str)
FILE
d:\chay\project\all-in-one-including(git)\all-in-one_chaylichenyi\module\shujuku.py
Help on module xiaogongju:
NAME
xiaogongju
DESCRIPTION
# -*- coding:UTF-8 -*-
# @Author:Chay
# @TIME:2024/07/21 17:20
# @FILE:xiaogongju.py
# @Software:IDLE 3.9.6
FUNCTIONS
chouqusuiji(num1: int, num2: int, mode: int, weishu: int) -> str
daorxiao(args: str, mode: int) -> str
f(a: float, n: int, m: int) -> int
kaisamima(arg: str, mode: int, n: int) -> str
quzheng(num: float, mode: int) -> int
twonumbers_TheBiggestCommonfactor(num1: int, num2: int) -> int
twonumbers_TheMinimumCommonmultiple(num1: int, num2: int) -> int
FILE
d:\chay\project\all-in-one\src\all-in-one_chaylichenyi\module\xiaogongju.py
Help on module calculator:
NAME
calculator
DESCRIPTION
# -*- coding:UTF-8 -*-
# @Author:Chay
# @TIME:2024/07/21 17:20
# @FILE:calculator.py
# @Software:Visual Studio Code
FUNCTIONS
FtemporCtemp(mode: str, FtemporCtemp: float) -> float
duihuan(mode: int, money: float) -> float
fab(x: int) -> int
factorization(num: int) -> list[int]
fanzhuanzifuchuan(s: str) -> str
fenjisuan(num1: str, num2: str, mode: str) -> float
isfab(x: int) -> bool
isfabhuiwenshu(x: int) -> bool
isfabhuiwenzhishu(x: int) -> bool
isfabparam(x: int) -> bool
isfabwanquanpingfangshu(num: int) -> bool
ishuiwenshu(d: int) -> bool
ishuiwenzhishu(d: int) -> bool
isleapyear(x) -> bool
isparam(d: int) -> bool
istribonacci(n: int) -> bool
istribonaccihuiwenshu(n: int) -> bool
istribonaccihuiwenshuparam(n: int) -> bool
istribonacciparam(n: int) -> bool
istribonacciwanquanpingfangshu(num: int) -> bool
iswanquanpingfangshu(num: int) -> bool
jinzhizhuanhuan(a: int, b: int, c: str) -> str
mima(num: int, n: int) -> int
tribonacci(n: int) -> int
wanquanpingfangshu(num: int) -> int
xiaoorfen(num: str, mode: int) -> str
xiaoorzhengjisuan(num1: float, num2: float, mode: str) -> float
yiyuannci(fangcheng: str, mode: int) -> tuple
FILE
d:\chay\project\all-in-one\src\all-in-one_chaylichenyi\module\calculator.py
Help on module numbertochinese:
NAME
numbertochinese
DESCRIPTION
# -*- coding:UTF-8 -*-
# @Author:Chay
# @TIME:2024/07/21 18:00
# @FILE:numbertochinese.py
# @version:4.0.0
# @Software:Visual Studio Code
FUNCTIONS
No2Cn(number: int) -> str
chinese2digits(uchars_chinese: str) -> int
maxdigit(number: int, count: int) -> tuple
DATA
common_used_numerals = {'零': 0, '一': 1, '二': 2, '三': 3, '四': 4, '五': 5, '六': 6, '日': 7, '八': 8, '九': 9, '十': 10, '百': 100, '千': 1000, '万': 10000, '亿': 100000000}
digitdict = {1: '十', 2: '百', 3: '千', 4: '万'}
numdict = {1:"一",2:"二",3:"三",4:"四",5:"五",6:"六",7:"七",8:"八",9:"九",0:"零"}
FILE
d:\chay\project\all-in-one\src\all-in-one_chaylichenyi\module\numbertochinese.py
Help on module lotterytickets:
NAME
lotterytickets
DESCRIPTION
# -*- coding:UTF-8 -*-
# @Author:Chay
# @TIME:2024/5/3 23:25
# @FILE:lotterytickets.py
# @version:4.0.0
# @Software:Visual Studio Code
FUNCTIONS
lotterytickets(user: str, mubiao: str, mode: int) -> str
FILE
d:\chay\project\all-in-one\src\all-in-one_chaylichenyi\module\lotterytickets.py
Help on module erfenchazhao_py:
NAME
erfenchazhao_py
DESCRIPTION
# -*- coding:UTF-8 -*-
# @Author:Chay
# @TIME:2022/12/25 9:03
# @FILE:erfenchazhao_py.py
# @Software:IDLE 3.9.6
FUNCTIONS
erfenchazhao(yuanlst, shengxulst, target)
FILE
d:\chay\project\all-in-one\src\all-in-one_chaylichenyi\module\erfenchazhao_py.py
Help on module math_cal_py:
NAME
math_cal_py
DESCRIPTION
# -*- coding:UTF-8 -*-
# @Author:Chay
# @TIME:2022/12/24 15:38
# @FILE:math_cal_py.py
# @Software:IDLE 3.9.6
FUNCTIONS
math_cal(mode, float1, float2)
FILE
d:\chay\project\all-in-one\src\all-in-one_chaylichenyi\module\math_cal_py.py
Help on module student_py:
NAME
student_py
DESCRIPTION
函数名:student
调用形式:student()
作用:小学学生信息管理系统
FUNCTIONS
student()
FILE
d:\chay\project\all-in-one\src\all-in-one_chaylichenyi\module\student_py.py
Help on module tuxing_cal:
NAME
tuxing_cal
DESCRIPTION
函数名:tuxing
调用形式:tuxing(huida)
:param huida 图形
:return 0
作用:进行图形计算
FUNCTIONS
tuxing(huida, mode, *args2)
FILE
d:\chay\project\all-in-one\src\all-in-one_chaylichenyi\module\tuxing_cal.py
详见https://github.com/lichenyichay/All-in-one 和 https://github.com/lichenyichay/All-in-one-Including/wiki