ezKit 1.11.0__py3-none-any.whl → 1.11.1__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.
- ezKit/utils.py +9 -16
- {ezKit-1.11.0.dist-info → ezKit-1.11.1.dist-info}/METADATA +1 -1
- {ezKit-1.11.0.dist-info → ezKit-1.11.1.dist-info}/RECORD +6 -6
- {ezKit-1.11.0.dist-info → ezKit-1.11.1.dist-info}/LICENSE +0 -0
- {ezKit-1.11.0.dist-info → ezKit-1.11.1.dist-info}/WHEEL +0 -0
- {ezKit-1.11.0.dist-info → ezKit-1.11.1.dist-info}/top_level.txt +0 -0
ezKit/utils.py
CHANGED
@@ -418,26 +418,19 @@ def list_print_by_step(
|
|
418
418
|
|
419
419
|
try:
|
420
420
|
|
421
|
-
# result: list = []
|
422
|
-
|
423
|
-
# if len(data) <= step:
|
424
|
-
# result.append(data)
|
425
|
-
# else:
|
426
|
-
# data_list = list_split(data, step, debug=debug)
|
427
|
-
# if data_list is None or isTrue(data_list, list) is False:
|
428
|
-
# return False
|
429
|
-
# result = data_list
|
430
|
-
|
431
|
-
# for item in result:
|
432
|
-
# print(*item, sep=separator)
|
433
|
-
|
434
|
-
# return True
|
435
|
-
|
436
421
|
# 打印
|
437
422
|
for i, v in enumerate(data):
|
423
|
+
|
438
424
|
if i > 0 and i % step == 0:
|
439
425
|
print()
|
440
|
-
|
426
|
+
|
427
|
+
# print(v, end=separator)
|
428
|
+
|
429
|
+
# 每行最后一个 或者 所有数据最后一个, 不打印分隔符
|
430
|
+
if ((i % step) == (step - 1)) or ((i + 1) == len(data)):
|
431
|
+
print(v, end='')
|
432
|
+
else:
|
433
|
+
print(v, end=separator)
|
441
434
|
|
442
435
|
print()
|
443
436
|
|
@@ -9,10 +9,10 @@ ezKit/qywx.py,sha256=X_H4fzP-iEqeDEbumr7D1bXi6dxczaxfO8iyutzy02s,7171
|
|
9
9
|
ezKit/redis.py,sha256=tdiqfizPYQQTIUumkJGUJsJVlv0zVTSTYGQN0QutYs4,1963
|
10
10
|
ezKit/sendemail.py,sha256=tRXCsJm_RfTJ9xEWe_lTQ5kOs2JxHGPXvq0oWA7prq0,7263
|
11
11
|
ezKit/token.py,sha256=HKREyZj_T2S8-aFoFIrBXTaCKExQq4zE66OHXhGHqQg,1750
|
12
|
-
ezKit/utils.py,sha256=
|
12
|
+
ezKit/utils.py,sha256=a2RiwOjO83Wi4GmyBRLI1UreaVgNLL66Snbq0HnI37c,42501
|
13
13
|
ezKit/xftp.py,sha256=XyIdr_2rxRVLqPofG6fIYWhAMVsFwTyp46dg5P9FLW4,7774
|
14
|
-
ezKit-1.11.
|
15
|
-
ezKit-1.11.
|
16
|
-
ezKit-1.11.
|
17
|
-
ezKit-1.11.
|
18
|
-
ezKit-1.11.
|
14
|
+
ezKit-1.11.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
15
|
+
ezKit-1.11.1.dist-info/METADATA,sha256=yJa5E_HlQaNWl0vp7gHIS1c_NalJnQtTvO9nzQK4mpU,191
|
16
|
+
ezKit-1.11.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
17
|
+
ezKit-1.11.1.dist-info/top_level.txt,sha256=aYLB_1WODsqNTsTFWcKP-BN0KCTKcV-HZJ4zlHkCFw8,6
|
18
|
+
ezKit-1.11.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|