byzh-core 0.0.2.7__tar.gz → 0.0.2.8__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.
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/PKG-INFO +1 -1
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Bwriter/writer.py +3 -3
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/__init__.py +1 -1
- {byzh_core-0.0.2.7/byzh_core → byzh_core-0.0.2.8/byzh_core/obsolete}/Bconfig/config.py +1 -1
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core.egg-info/PKG-INFO +1 -1
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core.egg-info/SOURCES.txt +7 -7
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/LICENSE +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/README.md +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/B_os.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Barchive/__init__.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Barchive/archive.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Bbasic/__init__.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Bbasic/text_style.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Bmath/__init__.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Bmath/divides.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Bmath/get_norm.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Btable/__init__.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Btable/auto_table.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Bterminal/__init__.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Bterminal/cmd.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Btqdm/__init__.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Btqdm/my_tqdm.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core/Bwriter/__init__.py +0 -0
- {byzh_core-0.0.2.7/byzh_core → byzh_core-0.0.2.8/byzh_core/obsolete}/Bconfig/__init__.py +0 -0
- {byzh_core-0.0.2.7/byzh_core/Btable → byzh_core-0.0.2.8/byzh_core}/obsolete/__init__.py +0 -0
- {byzh_core-0.0.2.7/byzh_core/Btable → byzh_core-0.0.2.8/byzh_core}/obsolete/auto_table.py +0 -0
- {byzh_core-0.0.2.7/byzh_core/Btable → byzh_core-0.0.2.8/byzh_core}/obsolete/row_table.py +0 -0
- {byzh_core-0.0.2.7/byzh_core/Btable → byzh_core-0.0.2.8/byzh_core}/obsolete/xy_table.py +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core.egg-info/dependency_links.txt +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core.egg-info/requires.txt +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/byzh_core.egg-info/top_level.txt +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/setup.cfg +0 -0
- {byzh_core-0.0.2.7 → byzh_core-0.0.2.8}/setup.py +0 -0
@@ -83,7 +83,7 @@ class B_Writer:
|
|
83
83
|
assert color in COLOR_DICT, f"color参数错误,请输入{COLOR_DICT.keys()}"
|
84
84
|
print(COLOR_DICT.get(color) + str(string) + B_Color.RESET)
|
85
85
|
|
86
|
-
def toFile(self, string, ifTime=None):
|
86
|
+
def toFile(self, string, ifTime:bool=None):
|
87
87
|
'''
|
88
88
|
写入到文件内
|
89
89
|
'''
|
@@ -99,7 +99,7 @@ class B_Writer:
|
|
99
99
|
self.f.write("\n")
|
100
100
|
self.f.flush()
|
101
101
|
|
102
|
-
def toBoth(self, string, ifTime=
|
102
|
+
def toBoth(self, string, ifTime:bool=None, color: Color_Literal = None):
|
103
103
|
'''
|
104
104
|
同时写入到文件和terminal
|
105
105
|
:param string:
|
@@ -116,7 +116,7 @@ class B_Writer:
|
|
116
116
|
self.toWant_cmd = toCmd
|
117
117
|
self.toWant_file = toFile
|
118
118
|
|
119
|
-
def toWant(self, string, ifTime=
|
119
|
+
def toWant(self, string, ifTime:bool=None, color: Color_Literal = None):
|
120
120
|
'''
|
121
121
|
使用前先调用setWant方法
|
122
122
|
'''
|
@@ -12,20 +12,20 @@ byzh_core/Barchive/__init__.py
|
|
12
12
|
byzh_core/Barchive/archive.py
|
13
13
|
byzh_core/Bbasic/__init__.py
|
14
14
|
byzh_core/Bbasic/text_style.py
|
15
|
-
byzh_core/Bconfig/__init__.py
|
16
|
-
byzh_core/Bconfig/config.py
|
17
15
|
byzh_core/Bmath/__init__.py
|
18
16
|
byzh_core/Bmath/divides.py
|
19
17
|
byzh_core/Bmath/get_norm.py
|
20
18
|
byzh_core/Btable/__init__.py
|
21
19
|
byzh_core/Btable/auto_table.py
|
22
|
-
byzh_core/Btable/obsolete/__init__.py
|
23
|
-
byzh_core/Btable/obsolete/auto_table.py
|
24
|
-
byzh_core/Btable/obsolete/row_table.py
|
25
|
-
byzh_core/Btable/obsolete/xy_table.py
|
26
20
|
byzh_core/Bterminal/__init__.py
|
27
21
|
byzh_core/Bterminal/cmd.py
|
28
22
|
byzh_core/Btqdm/__init__.py
|
29
23
|
byzh_core/Btqdm/my_tqdm.py
|
30
24
|
byzh_core/Bwriter/__init__.py
|
31
|
-
byzh_core/Bwriter/writer.py
|
25
|
+
byzh_core/Bwriter/writer.py
|
26
|
+
byzh_core/obsolete/__init__.py
|
27
|
+
byzh_core/obsolete/auto_table.py
|
28
|
+
byzh_core/obsolete/row_table.py
|
29
|
+
byzh_core/obsolete/xy_table.py
|
30
|
+
byzh_core/obsolete/Bconfig/__init__.py
|
31
|
+
byzh_core/obsolete/Bconfig/config.py
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|