byzh-core 0.0.9.6__py3-none-any.whl → 0.0.9.8__py3-none-any.whl

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.
@@ -69,9 +69,9 @@ class B_Writer:
69
69
  t = time.strftime("%Y-%m-%d %H:%M:%S ##### ", time.localtime())
70
70
 
71
71
  if color is None:
72
- print(color_wrap(t+str(string), self.color))
72
+ print(color_wrap(f"{t}{string}", self.color))
73
73
  else:
74
- print(color_wrap(t+str(string), color))
74
+ print(color_wrap(f"{t}{string}", color))
75
75
 
76
76
  def toFile(self, string:str, ifTime:bool=None):
77
77
  '''
@@ -85,7 +85,7 @@ class B_Writer:
85
85
  elif ifTime==True or self.time_file==True:
86
86
  t = time.strftime("%Y-%m-%d %H:%M:%S ##### ", time.localtime())
87
87
 
88
- self.f.write(str(t+string))
88
+ self.f.write(f"{t}{string}")
89
89
  self.f.write("\n")
90
90
  self.f.flush()
91
91
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: byzh-core
3
- Version: 0.0.9.6
3
+ Version: 0.0.9.8
4
4
  Summary: byzh-core是byzh系列的核心库,包含了一些常用的工具函数和类。
5
5
  Author: byzh_rc
6
6
  License: MIT
@@ -17,10 +17,10 @@ byzh/core/Butils/decorator.py,sha256=HaB8F80wsqQuS30jlI8C2d3SmEa0mBNfJEr5-pwGZj0
17
17
  byzh/core/Butils/text_style.py,sha256=34u2-Rsur63iNQ0m7tHxpFWqnQZWybSxBx7vnhOhqDo,3346
18
18
  byzh/core/Butils/timer.py,sha256=OLxbWWRauYjp1KwavACjoyrqrCciUiIG2ae7qgtZrVA,511
19
19
  byzh/core/Bwriter/__init__.py,sha256=QcHzKs0305Pr78ZvZgcC_4miSYZh8jJQDt5TD0GIeEg,82
20
- byzh/core/Bwriter/writer.py,sha256=ss9EWo-l7czBUlY7Fu0buvQgO5fRspYKtC2X6eaRa0c,3213
21
- byzh_core-0.0.9.6.dist-info/LICENSE,sha256=-nRwf0Xga4AX5bsWBXXflpDpgX_U23X06oAMcdf0dSY,1089
22
- byzh_core-0.0.9.6.dist-info/METADATA,sha256=fy-f7A_R_q_4EaNaSoy9niihIjZ-iLhERf3r_XLVqhU,371
23
- byzh_core-0.0.9.6.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
24
- byzh_core-0.0.9.6.dist-info/entry_points.txt,sha256=qoN3Uvulj0BcOQVDqsFqP2dBVQzG1QrUtC5wFsghSLo,51
25
- byzh_core-0.0.9.6.dist-info/top_level.txt,sha256=tmaFVY8uApe6apOETSOgwz-4v5Mj4uxgRT8yNnDNZNA,5
26
- byzh_core-0.0.9.6.dist-info/RECORD,,
20
+ byzh/core/Bwriter/writer.py,sha256=C45DOHz2-znA5KOimwAYf0V-Yn63Sym59eNyUHbmfzk,3216
21
+ byzh_core-0.0.9.8.dist-info/LICENSE,sha256=-nRwf0Xga4AX5bsWBXXflpDpgX_U23X06oAMcdf0dSY,1089
22
+ byzh_core-0.0.9.8.dist-info/METADATA,sha256=vqdAK5vot-nhLiWJd6ySBIcKCjHDFs1IiZqUVIAmRNM,371
23
+ byzh_core-0.0.9.8.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
24
+ byzh_core-0.0.9.8.dist-info/entry_points.txt,sha256=TaXq5DKEgdQ_0ctDU8_PKEhj2HoCmZawoxSrVuwOWBM,51
25
+ byzh_core-0.0.9.8.dist-info/top_level.txt,sha256=tmaFVY8uApe6apOETSOgwz-4v5Mj4uxgRT8yNnDNZNA,5
26
+ byzh_core-0.0.9.8.dist-info/RECORD,,
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ b_zip = byzh.core.__main__:b_zip
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- b_zip = byzh_core.__main__:b_zip