Luci-Code-Tools 2.2.6__tar.gz → 2.2.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {luci_code_tools-2.2.6 → luci_code_tools-2.2.7}/LICENSE +0 -0
- {luci_code_tools-2.2.6 → luci_code_tools-2.2.7}/Luci_Code_Tools.egg-info/PKG-INFO +2 -2
- {luci_code_tools-2.2.6 → luci_code_tools-2.2.7}/Luci_code_tools.py +1 -1
- {luci_code_tools-2.2.6 → luci_code_tools-2.2.7}/PKG-INFO +2 -2
- {luci_code_tools-2.2.6 → luci_code_tools-2.2.7}/README.md +1 -1
- {luci_code_tools-2.2.6 → luci_code_tools-2.2.7}/setup.py +1 -1
- {luci_code_tools-2.2.6 → luci_code_tools-2.2.7}/Luci_Code_Tools.egg-info/SOURCES.txt +0 -0
- {luci_code_tools-2.2.6 → luci_code_tools-2.2.7}/Luci_Code_Tools.egg-info/dependency_links.txt +0 -0
- {luci_code_tools-2.2.6 → luci_code_tools-2.2.7}/Luci_Code_Tools.egg-info/top_level.txt +0 -0
- {luci_code_tools-2.2.6 → luci_code_tools-2.2.7}/setup.cfg +0 -0
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Luci-Code-Tools
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.7
|
|
4
4
|
Summary: 一个简单的工具库 / A Eazy Tools Module
|
|
5
5
|
Home-page: https://github.com/Luci-Code-2014
|
|
6
6
|
Author: Luci_Code
|
|
@@ -498,7 +498,7 @@ from sys import exit
|
|
|
498
498
|
color("=== 计算器 ===", 32, None, 1, 2)
|
|
499
499
|
while True:
|
|
500
500
|
num1 = safe_float("请输入第一位数字: ", 32, None, 1)
|
|
501
|
-
num2 = safe_float("
|
|
501
|
+
num2 = safe_float("请输入第二位数字: ", 32, None, 1)
|
|
502
502
|
operators = safe_input("请输入运算符(+, -, *, /, 输入 quit 退出): ")
|
|
503
503
|
if operators == "+":
|
|
504
504
|
color(f"结果为: {num1 + num2}\n==========", 32, None, 1, 2)
|
|
@@ -7,7 +7,7 @@ import os
|
|
|
7
7
|
if os.name == "nt": # 系统名称 = "nt" 为 Windows
|
|
8
8
|
os.system("") # 激活 win10 / win7 的终端彩色显示功能, 只是为了兼容 cmd , powershell 这类不支持彩色的终端
|
|
9
9
|
|
|
10
|
-
__version__ = "2.
|
|
10
|
+
__version__ = "2.2.7" # 明确版本号
|
|
11
11
|
__all__ = [
|
|
12
12
|
'color', 'color_rgb', 'clear_screen',
|
|
13
13
|
'safe_input', 'safe_int', 'safe_float'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Luci-Code-Tools
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.7
|
|
4
4
|
Summary: 一个简单的工具库 / A Eazy Tools Module
|
|
5
5
|
Home-page: https://github.com/Luci-Code-2014
|
|
6
6
|
Author: Luci_Code
|
|
@@ -498,7 +498,7 @@ from sys import exit
|
|
|
498
498
|
color("=== 计算器 ===", 32, None, 1, 2)
|
|
499
499
|
while True:
|
|
500
500
|
num1 = safe_float("请输入第一位数字: ", 32, None, 1)
|
|
501
|
-
num2 = safe_float("
|
|
501
|
+
num2 = safe_float("请输入第二位数字: ", 32, None, 1)
|
|
502
502
|
operators = safe_input("请输入运算符(+, -, *, /, 输入 quit 退出): ")
|
|
503
503
|
if operators == "+":
|
|
504
504
|
color(f"结果为: {num1 + num2}\n==========", 32, None, 1, 2)
|
|
@@ -476,7 +476,7 @@ from sys import exit
|
|
|
476
476
|
color("=== 计算器 ===", 32, None, 1, 2)
|
|
477
477
|
while True:
|
|
478
478
|
num1 = safe_float("请输入第一位数字: ", 32, None, 1)
|
|
479
|
-
num2 = safe_float("
|
|
479
|
+
num2 = safe_float("请输入第二位数字: ", 32, None, 1)
|
|
480
480
|
operators = safe_input("请输入运算符(+, -, *, /, 输入 quit 退出): ")
|
|
481
481
|
if operators == "+":
|
|
482
482
|
color(f"结果为: {num1 + num2}\n==========", 32, None, 1, 2)
|
|
File without changes
|
{luci_code_tools-2.2.6 → luci_code_tools-2.2.7}/Luci_Code_Tools.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|