ezKit 1.11.0__tar.gz → 1.11.1__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ezKit
3
- Version: 1.11.0
3
+ Version: 1.11.1
4
4
  Summary: Easy Kit
5
5
  Author: septvean
6
6
  Author-email: septvean@gmail.com
@@ -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
- print(v, end=separator)
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ezKit
3
- Version: 1.11.0
3
+ Version: 1.11.1
4
4
  Summary: Easy Kit
5
5
  Author: septvean
6
6
  Author-email: septvean@gmail.com
@@ -3,7 +3,7 @@ from setuptools import find_packages, setup
3
3
 
4
4
  setup(
5
5
  name='ezKit',
6
- version='1.11.0',
6
+ version='1.11.1',
7
7
  author='septvean',
8
8
  author_email='septvean@gmail.com',
9
9
  description='Easy Kit',
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