pypipr 1.0.108__tar.gz → 1.0.110__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.
Files changed (73) hide show
  1. {pypipr-1.0.108 → pypipr-1.0.110}/PKG-INFO +167 -217
  2. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/auto_reload.py +7 -1
  3. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/batchmaker.py +1 -8
  4. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/chr_to_int.py +2 -2
  5. pypipr-1.0.110/pypipr/irange.py +120 -0
  6. {pypipr-1.0.108 → pypipr-1.0.110}/pyproject.toml +2 -2
  7. {pypipr-1.0.108 → pypipr-1.0.110}/readme.md +166 -216
  8. pypipr-1.0.108/pypipr/irange.py +0 -39
  9. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/APIMixinView.py +0 -0
  10. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/ComparePerformance.py +0 -0
  11. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/LINUX.py +0 -0
  12. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/PintUreg.py +0 -0
  13. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/PintUregQuantity.py +0 -0
  14. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/RunParallel.py +0 -0
  15. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/WINDOWS.py +0 -0
  16. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/__init__.py +0 -0
  17. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/__terminal__.py +0 -0
  18. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/avg.py +0 -0
  19. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/basename.py +0 -0
  20. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/batch_calculate.py +0 -0
  21. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/calculate.py +0 -0
  22. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/choices.py +0 -0
  23. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/chunk_array.py +0 -0
  24. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/console_run.py +0 -0
  25. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/create_folder.py +0 -0
  26. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/datetime_from_string.py +0 -0
  27. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/datetime_now.py +0 -0
  28. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/dict_first.py +0 -0
  29. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/dirname.py +0 -0
  30. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/exit_if_empty.py +0 -0
  31. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/filter_empty.py +0 -0
  32. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/get_by_index.py +0 -0
  33. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/get_class_method.py +0 -0
  34. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/get_filemtime.py +0 -0
  35. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/get_filesize.py +0 -0
  36. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/github_pull.py +0 -0
  37. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/github_push.py +0 -0
  38. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/github_user.py +0 -0
  39. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/iargv.py +0 -0
  40. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/idumps.py +0 -0
  41. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/idumps_html.py +0 -0
  42. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/ienv.py +0 -0
  43. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/iexec.py +0 -0
  44. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/ijoin.py +0 -0
  45. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/iloads.py +0 -0
  46. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/iloads_html.py +0 -0
  47. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/input_char.py +0 -0
  48. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/int_to_chr.py +0 -0
  49. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/iopen.py +0 -0
  50. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/iprint.py +0 -0
  51. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/ireplace.py +0 -0
  52. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/is_empty.py +0 -0
  53. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/is_iterable.py +0 -0
  54. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/is_valid_url.py +0 -0
  55. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/iscandir.py +0 -0
  56. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/isplit.py +0 -0
  57. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/ivars.py +0 -0
  58. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/log.py +0 -0
  59. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/password_generator.py +0 -0
  60. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/pip_freeze_without_version.py +0 -0
  61. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/poetry_publish.py +0 -0
  62. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/poetry_update_version.py +0 -0
  63. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/print_colorize.py +0 -0
  64. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/print_dir.py +0 -0
  65. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/print_log.py +0 -0
  66. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/print_to_last_line.py +0 -0
  67. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/random_bool.py +0 -0
  68. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/restart.py +0 -0
  69. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/set_timeout.py +0 -0
  70. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/sets_ordered.py +0 -0
  71. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/str_cmp.py +0 -0
  72. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/text_colorize.py +0 -0
  73. {pypipr-1.0.108 → pypipr-1.0.110}/pypipr/to_str.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypipr
3
- Version: 1.0.108
3
+ Version: 1.0.110
4
4
  Summary: The Python Package Index Project
5
5
  Author: ufiapjj
6
6
  Author-email: ufiapjj@gmail.com
@@ -137,6 +137,13 @@ Jalankan kode ini di terminal console.
137
137
  ```py
138
138
  if __name__ == "__main__":
139
139
  auto_reload("file_name.py")
140
+
141
+ ```
142
+
143
+ or run in terminal
144
+
145
+ ```
146
+ pypipr auto_reload
140
147
  ```
141
148
 
142
149
  ## basename
@@ -163,7 +170,7 @@ Fungsi ini berguna untuk mengubah urutan huruf menjadi angka.
163
170
  ```python
164
171
  print(chr_to_int('z')) # Output: 26
165
172
  print(chr_to_int('aa')) # Output: 27
166
- print(chr_to_int('abc', numbers="abc")) # Output: 10
173
+ print(chr_to_int('abc', numbers="abc")) # Output: 18
167
174
  ```
168
175
 
169
176
  Output:
@@ -224,7 +231,7 @@ kmc
224
231
 
225
232
  ## irange
226
233
 
227
- `irange(start, stop=None, step=1, index=0, numbers='abcdefghijklmnopqrstuvwxyz')`
234
+ `irange(start, stop=None, step=None, index=0, numbers=None)`
228
235
 
229
236
  Meningkatkan fungsi range() dari python untuk pengulangan menggunakan huruf
230
237
 
@@ -238,11 +245,11 @@ print(list(irange(10, 5)))
238
245
 
239
246
  Output:
240
247
  ```py
241
- <generator object char_range at 0x7384c3fcd0>
242
- <generator object char_range at 0x7384c3fcd0>
248
+ <generator object chr_range at 0x73aefcbde0>
249
+ <generator object chr_range at 0x73aefcbde0>
243
250
  ['a', 'k', 'u']
244
251
  [1, 2, 3, 4, 5, 6]
245
- []
252
+ [10, 9, 8, 7, 6]
246
253
  ```
247
254
 
248
255
  ## batchmaker
@@ -266,8 +273,8 @@ print(list(batchmaker(s)))
266
273
 
267
274
  Output:
268
275
  ```py
269
- <generator object batchmaker at 0x7384b4c160>
270
- []
276
+ <generator object batchmaker at 0x73aeef8280>
277
+ ['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.']
271
278
  ```
272
279
 
273
280
  ## calculate
@@ -320,7 +327,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
320
327
 
321
328
  Output:
322
329
  ```py
323
- <generator object batch_calculate at 0x7384ac2e30>
330
+ <generator object batch_calculate at 0x73aee7b010>
324
331
  [('1 m ** 1', <Quantity(1, 'meter')>), ('1 m ** 2', <Quantity(1, 'meter ** 2')>), ('2 m ** 1', <Quantity(2, 'meter')>), ('2 m ** 2', <Quantity(2, 'meter ** 2')>), ('3 m ** 1', <Quantity(3, 'meter')>), ('3 m ** 2', <Quantity(3, 'meter ** 2')>), ('4 m ** 1', <Quantity(4, 'meter')>), ('4 m ** 2', <Quantity(4, 'meter ** 2')>), ('5 m ** 1', <Quantity(5, 'meter')>), ('5 m ** 2', <Quantity(5, 'meter ** 2')>), ('6 m ** 1', <Quantity(6, 'meter')>), ('6 m ** 2', <Quantity(6, 'meter ** 2')>), ('7 m ** 1', <Quantity(7, 'meter')>), ('7 m ** 2', <Quantity(7, 'meter ** 2')>), ('8 m ** 1', <Quantity(8, 'meter')>), ('8 m ** 2', <Quantity(8, 'meter ** 2')>), ('9 m ** 1', <Quantity(9, 'meter')>), ('9 m ** 2', <Quantity(9, 'meter ** 2')>)]
325
332
  ```
326
333
 
@@ -413,7 +420,7 @@ print(list(chunk_array(arr, 5)))
413
420
 
414
421
  Output:
415
422
  ```py
416
- <generator object chunk_array at 0x7384b48240>
423
+ <generator object chunk_array at 0x73aef04440>
417
424
  [[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
418
425
  ```
419
426
 
@@ -464,9 +471,9 @@ print(datetime_now("Etc/GMT+7"))
464
471
 
465
472
  Output:
466
473
  ```py
467
- 2024-04-29 21:55:16.569628+07:00
468
- 2024-04-29 14:55:16.570325+00:00
469
- 2024-04-29 07:55:16.571597-07:00
474
+ 2024-04-30 17:29:10.591045+07:00
475
+ 2024-04-30 10:29:10.593588+00:00
476
+ 2024-04-30 03:29:10.598016-07:00
470
477
  ```
471
478
 
472
479
  ## dict_first
@@ -584,7 +591,7 @@ print(filter_empty(var))
584
591
 
585
592
  Output:
586
593
  ```py
587
- <generator object filter_empty at 0x7384ac13f0>
594
+ <generator object filter_empty at 0x73aee795d0>
588
595
  ```
589
596
 
590
597
  ## get_by_index
@@ -630,8 +637,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
630
637
 
631
638
  Output:
632
639
  ```py
633
- <generator object get_class_method at 0x7384ac3100>
634
- [<function ExampleGetClassMethod.a at 0x7384b544a0>, <function ExampleGetClassMethod.b at 0x7384b54720>, <function ExampleGetClassMethod.c at 0x7384b547c0>, <function ExampleGetClassMethod.d at 0x7384b54860>]
640
+ <generator object get_class_method at 0x73aee7b2e0>
641
+ [<function ExampleGetClassMethod.a at 0x73aef14b80>, <function ExampleGetClassMethod.b at 0x73aef14e00>, <function ExampleGetClassMethod.c at 0x73aef14ea0>, <function ExampleGetClassMethod.d at 0x73aef14f40>]
635
642
  ```
636
643
 
637
644
  ## get_filesize
@@ -929,7 +936,7 @@ print(ijoin(10, ' '))
929
936
 
930
937
  Output:
931
938
  ```py
932
- qweqw, weq, dfs, asd
939
+ dfs, qweqw, weq, asd
933
940
  ,ini,path,seperti,url,
934
941
  ini,path,seperti,url
935
942
  <li>satu</li>
@@ -972,119 +979,62 @@ pprint.pprint(iloads_html(iopen("https://harga-emas.org/1-gram/")), depth=10)
972
979
  Output:
973
980
  ```py
974
981
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
975
- [['Harga Emas Hari Ini - Senin, 29 April 2024'],
976
- ['Spot Emas USD↓2.336,06 (-1,88) / oz',
977
- 'Kurs IDR↑16.222,00 (+14,00) / USD',
978
- 'Emas IDR1.218.371 (+72) / gr'],
979
- ['LM Antam (Jual)1.325.000 (-1.000) / gr',
980
- 'LM Antam (Beli)↓1.221.000 (-1.000) / gr']],
982
+ [['Harga Emas Hari Ini - Selasa, 30 April 2024'],
983
+ ['Spot Emas USD↓2.316,80 (-27,74) / oz',
984
+ 'Kurs IDR↑16.249,00 (+27,00) / USD',
985
+ 'Emas IDR1.210.337 (-12.457) / gr'],
986
+ ['LM Antam (Jual)1.325.000 / gr', 'LM Antam (Beli)1.221.000 / gr']],
981
987
  [['Harga Emas Hari Ini'],
982
988
  ['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
983
989
  ['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
984
990
  ['1000',
985
- '1.266 (-1)',
986
- '1.265.600 (-1.000)',
991
+ '1.266',
992
+ '1.265.600',
987
993
  '1.043.040 (+8.200)',
988
994
  '1.043.040.000 (+8.200.000)'],
989
995
  ['500',
990
- '2.531 (-2)',
991
- '1.265.640 (-1.000)',
996
+ '2.531',
997
+ '1.265.640',
992
998
  '1.043.082 (+8.200)',
993
999
  '521.541.000 (+4.100.000)'],
994
1000
  ['250',
995
- '5.064 (-4)',
996
- '1.266.060 (-1.000)',
1001
+ '5.064',
1002
+ '1.266.060',
997
1003
  '1.043.512 (+8.200)',
998
1004
  '260.878.000 (+2.050.000)'],
999
1005
  ['100',
1000
- '12.671 (-10)',
1001
- '1.267.120 (-1.000)',
1006
+ '12.671',
1007
+ '1.267.120',
1002
1008
  '1.044.600 (+8.200)',
1003
1009
  '104.460.000 (+820.000)'],
1004
- ['50',
1005
- '25.358 (-20)',
1006
- '1.267.900 (-1.000)',
1007
- '1.045.400 (+8.200)',
1008
- '52.270.000 (+410.000)'],
1009
- ['25',
1010
- '50.779 (-40)',
1011
- '1.269.480 (-1.000)',
1012
- '1.047.040 (+8.200)',
1013
- '26.176.000 (+205.000)'],
1014
- ['10',
1015
- '127.450 (-100)',
1016
- '1.274.500 (-1.000)',
1017
- '1.052.200 (+8.200)',
1018
- '10.522.000 (+82.000)'],
1019
- ['5',
1020
- '256.000 (-200)',
1021
- '1.280.000 (-1.000)',
1022
- '1.057.800 (+8.200)',
1023
- '5.289.000 (+41.000)'],
1024
- ['3',
1025
- '428.889 (-333)',
1026
- '1.286.667 (-1.000)',
1027
- '1.064.667 (+8.000)',
1028
- '3.194.000 (+24.000)'],
1029
- ['2',
1030
- '647.500 (-500)',
1031
- '1.295.000 (-1.000)',
1032
- '1.073.500 (+8.500)',
1033
- '2.147.000 (+17.000)'],
1034
- ['1',
1035
- '1.325.000 (-1.000)',
1036
- '1.325.000 (-1.000)',
1037
- '1.104.000 (+8.000)',
1038
- '1.104.000 (+8.000)'],
1039
- ['0.5',
1040
- '2.850.000 (-2.000)',
1041
- '1.425.000 (-1.000)',
1042
- '1.208.000 (+8.000)',
1043
- '604.000 (+4.000)'],
1044
- ['Update harga LM Antam :29 April 2024, pukul 07:56Harga pembelian kembali '
1045
- ':Rp. 1.221.000/gram (-1.000)',
1010
+ ['50', '25.358', '1.267.900', '1.045.400 (+8.200)', '52.270.000 (+410.000)'],
1011
+ ['25', '50.779', '1.269.480', '1.047.040 (+8.200)', '26.176.000 (+205.000)'],
1012
+ ['10', '127.450', '1.274.500', '1.052.200 (+8.200)', '10.522.000 (+82.000)'],
1013
+ ['5', '256.000', '1.280.000', '1.057.800 (+8.200)', '5.289.000 (+41.000)'],
1014
+ ['3', '428.889', '1.286.667', '1.064.667 (+8.000)', '3.194.000 (+24.000)'],
1015
+ ['2', '647.500', '1.295.000', '1.073.500 (+8.500)', '2.147.000 (+17.000)'],
1016
+ ['1', '1.325.000', '1.325.000', '1.104.000 (+8.000)', '1.104.000 (+8.000)'],
1017
+ ['0.5', '2.850.000', '1.425.000', '1.208.000 (+8.000)', '604.000 (+4.000)'],
1018
+ ['Update harga LM Antam :30 April 2024, pukul 08:19Harga pembelian kembali '
1019
+ ':Rp. 1.221.000/gram',
1046
1020
  'Update harga LM Pegadaian :31 Agustus 2023']],
1047
1021
  [['Spot Harga Emas Hari Ini (Market Open)'],
1048
1022
  ['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
1049
- ['Ounce\xa0(oz)', '2.336,06 (-1,88)', '16.222,00 (+14,00)', '37.895.565'],
1050
- ['Gram\xa0(gr)', '75,11', '16.222,00', '1.218.371 (+72)'],
1051
- ['Kilogram\xa0(kg)', '75.106,07', '16.222,00', '1.218.370.718'],
1052
- ['Update harga emas :29 April 2024, pukul 21:54Update kurs :29 April 2024, '
1023
+ ['Ounce\xa0(oz)', '2.316,80 (-27,74)', '16.249,00 (+27,00)', '37.645.683'],
1024
+ ['Gram\xa0(gr)', '74,49', '16.249,00', '1.210.337 (-12.457)'],
1025
+ ['Kilogram\xa0(kg)', '74.486,85', '16.249,00', '1.210.336.821'],
1026
+ ['Update harga emas :30 April 2024, pukul 17:29Update kurs :30 April 2024, '
1053
1027
  'pukul 13:10']],
1054
1028
  [['Gram', 'UBS Gold 99.99%'],
1055
1029
  ['Jual', 'Beli'],
1056
1030
  ['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
1057
- ['100',
1058
- '126.300.000 (-512.000)',
1059
- '1.263.000 (-5.120)',
1060
- '125.185.000 (+200.000)',
1061
- '1.251.850 (+2.000)'],
1062
- ['50',
1063
- '63.300.000 (-145.000)',
1064
- '1.266.000 (-2.900)',
1065
- '62.645.000 (+100.000)',
1066
- '1.252.900 (+2.000)'],
1067
- ['25',
1068
- '31.700.000 (-62.000)',
1069
- '1.268.000 (-2.480)',
1070
- '31.425.000 (+50.000)',
1071
- '1.257.000 (+2.000)'],
1072
- ['10',
1073
- '12.720.000 (-35.000)',
1074
- '1.272.000 (-3.500)',
1075
- '12.620.000 (+20.000)',
1076
- '1.262.000 (+2.000)'],
1077
- ['5',
1078
- '6.385.000 (-20.000)',
1079
- '1.277.000 (-4.000)',
1080
- '6.362.000 (+10.000)',
1081
- '1.272.400 (+2.000)'],
1082
- ['1',
1083
- '1.325.000 (-1.000)',
1084
- '1.325.000 (-1.000)',
1085
- '1.305.000 (+2.000)',
1086
- '1.305.000 (+2.000)'],
1087
- ['', 'Update :29 April 2024, pukul 16:06']],
1031
+ ['100', '126.300.000', '1.263.000', '125.185.000', '1.251.850'],
1032
+ ['50', '63.300.000', '1.266.000', '62.645.000', '1.252.900'],
1033
+ ['25', '31.700.000', '1.268.000', '31.425.000', '1.257.000'],
1034
+ ['10', '12.720.000', '1.272.000', '12.620.000', '1.262.000'],
1035
+ ['5', '6.385.000', '1.277.000', '6.362.000', '1.272.400'],
1036
+ ['1', '1.325.000', '1.325.000', '1.305.000', '1.305.000'],
1037
+ ['', 'Update :30 April 2024, pukul 14:56']],
1088
1038
  [['Konversi Satuan'],
1089
1039
  ['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
1090
1040
  ['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
@@ -1094,37 +1044,37 @@ Output:
1094
1044
  ['Waktu', 'Emas'],
1095
1045
  ['Unit', 'USD', 'IDR'],
1096
1046
  ['Angka', '+/-', 'Angka', '+/-'],
1097
- ['Hari Ini', 'Kurs', '', '', '16.208', '+14+0,09%'],
1098
- ['oz', '2.337,94', '-1,88-0,08%', '37.893.332', '+2.234+0,01%'],
1099
- ['gr', '75,17', '-0,06-0,08%', '1.218.299', '+72+0,01%'],
1100
- ['30 Hari', 'Kurs', '', '', '15.853', '+369+2,33%'],
1101
- ['oz', '2.232,75', '+103,31+4,63%', '35.395.786', '+2.499.780+7,06%'],
1102
- ['gr', '71,78', '+3,32+4,63%', '1.138.001', '+80.370+7,06%'],
1103
- ['2 Bulan', 'Kurs', '', '', '15.673', '+549+3,50%'],
1104
- ['oz', '2.045,83', '+290,23+14,19%', '32.064.294', '+5.831.272+18,19%'],
1105
- ['gr', '65,77', '+9,33+14,19', '1.030.891', '+187.480+18,19%'],
1106
- ['6 Bulan', 'Kurs', '', '', '15.897', '+325+2,04%'],
1107
- ['oz', '1.977,80', '+358,26+18,11%', '31.441.087', '+6.454.479+20,53%'],
1108
- ['gr', '63,59', '+11,52+18,11%', '1.010.854', '+207.516+20,53%'],
1109
- ['1 Tahun', 'Kurs', '', '', '15.731', '+491+3,12%'],
1110
- ['oz', '1.823,86', '+512,20+28,08%', '28.691.142', '+9.204.424+32,08%'],
1111
- ['gr', '58,64', '+16,47+28,08%', '922.442', '+295.929+32,08%'],
1112
- ['2 Tahun', 'Kurs', '', '', '14.418', '+1.804+12,51%'],
1113
- ['oz', '1.896,95', '+439,11+23,15%', '27.350.225', '+10.545.340+38,56%'],
1114
- ['gr', '60,99', '+14,12+23,15%', '879.330', '+339.041+38,56%'],
1115
- ['3 Tahun', 'Kurs', '', '', '14.468', '+1.754+12,12%'],
1116
- ['oz', '1.767,08', '+568,98+32,20%', '25.566.113', '+12.329.452+48,23%'],
1117
- ['gr', '56,81', '+18,29+32,20%', '821.970', '+396.401+48,23%'],
1118
- ['5 Tahun', 'Kurs', '', '', '14.215', '+2.007+14,12%'],
1119
- ['oz', '1.280,61', '+1.055,45+82,42%', '18.203.871', '+19.691.694+108,17%'],
1120
- ['gr', '41,17', '+33,93+82,42%', '585.268', '+633.103+108,17%']])
1047
+ ['Hari Ini', 'Kurs', '', '', '16.222', '+27+0,17%'],
1048
+ ['oz', '2.344,54', '-27,74-1,18%', '38.033.128', '-387.445-1,02%'],
1049
+ ['gr', '75,38', '-0,89-1,18%', '1.222.793', '-12.457-1,02%'],
1050
+ ['30 Hari', 'Kurs', '', '', '15.853', '+396+2,50%'],
1051
+ ['oz', '2.232,75', '+84,05+3,76%', '35.395.786', '+2.249.897+6,36%'],
1052
+ ['gr', '71,78', '+2,70+3,76%', '1.138.001', '+72.336+6,36%'],
1053
+ ['2 Bulan', 'Kurs', '', '', '15.715', '+534+3,40%'],
1054
+ ['oz', '2.081,20', '+235,60+11,32%', '32.706.058', '+4.939.625+15,10%'],
1055
+ ['gr', '66,91', '+7,57+11,32', '1.051.524', '+158.813+15,10%'],
1056
+ ['6 Bulan', 'Kurs', '', '', '15.946', '+303+1,90%'],
1057
+ ['oz', '1.981,84', '+334,96+16,90%', '31.602.421', '+6.043.263+19,12%'],
1058
+ ['gr', '63,72', '+10,77+16,90%', '1.016.041', '+194.295+19,12%'],
1059
+ ['1 Tahun', 'Kurs', '', '', '15.731', '+518+3,29%'],
1060
+ ['oz', '1.823,86', '+492,94+27,03%', '28.691.142', '+8.954.542+31,21%'],
1061
+ ['gr', '58,64', '+15,85+27,03%', '922.442', '+287.895+31,21%'],
1062
+ ['2 Tahun', 'Kurs', '', '', '14.418', '+1.831+12,70%'],
1063
+ ['oz', '1.896,95', '+419,85+22,13%', '27.350.225', '+10.295.458+37,64%'],
1064
+ ['gr', '60,99', '+13,50+22,13%', '879.330', '+331.007+37,64%'],
1065
+ ['3 Tahun', 'Kurs', '', '', '14.468', '+1.781+12,31%'],
1066
+ ['oz', '1.768,91', '+547,89+30,97%', '25.592.590', '+12.053.093+47,10%'],
1067
+ ['gr', '56,87', '+17,62+30,97%', '822.821', '+387.516+47,10%'],
1068
+ ['5 Tahun', 'Kurs', '', '', '14.245', '+2.004+14,07%'],
1069
+ ['oz', '1.270,94', '+1.045,86+82,29%', '18.104.540', '+19.541.143+107,94%'],
1070
+ ['gr', '40,86', '+33,63+82,29%', '582.074', '+628.262+107,94%']])
1121
1071
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1122
1072
  [[''],
1123
1073
  ['Emas 24 KaratHarga Emas 1 Gram', ''],
1124
- ['USD', '75,11↓', '-0,06-0,08%'],
1125
- ['KURS', '16.230,40↓', '-10,90-0,07%'],
1126
- ['IDR', '1.219.048,57↓', '-1.753,37-0,14%'],
1127
- ['Senin, 29 April 2024 21:55']],
1074
+ ['USD', '74,49↓', '-0,89-1,18%'],
1075
+ ['KURS', '16.239,25↑', '+25,75+0,16%'],
1076
+ ['IDR', '1.209.610,57↓', '-12.542,17-1,03%'],
1077
+ ['Selasa, 30 April 2024 17:29']],
1128
1078
  [[''],
1129
1079
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
1130
1080
  'Hari Ini',
@@ -1135,19 +1085,19 @@ Output:
1135
1085
  '']],
1136
1086
  [['Pergerakkan Harga Emas 1 Gram'],
1137
1087
  ['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
1138
- ['USD', '75,17', '75,11 - 75,17', '75,14'],
1139
- ['KURS', '16.241,30', '16.230,40 - 16.241,30', '16.235,85'],
1140
- ['IDR', '1.220.801,94', '1.219.048,57 - 1.220.801,94', '1.219.925,26'],
1088
+ ['USD', '75,38', '74,49 - 75,38', '74,94'],
1089
+ ['KURS', '16.213,50', '16.213,50 - 16.239,25', '16.226,38'],
1090
+ ['IDR', '1.222.152,74', '1.209.610,57 - 1.222.152,74', '1.215.881,66'],
1141
1091
  [''],
1142
1092
  ['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
1143
- ['USD', '66,32', '64,07 - 77,14', '+8,79 (13,25%)'],
1144
- ['KURS', '15.390,10', '15.390,00 - 16.307,80', '+840,30 (5,46%)'],
1145
- ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+198.319,04 (19,43%)'],
1093
+ ['USD', '66,32', '64,07 - 77,14', '+8,17 (12,32%)'],
1094
+ ['KURS', '15.390,10', '15.390,00 - 16.307,80', '+849,15 (5,52%)'],
1095
+ ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+188.881,04 (18,50%)'],
1146
1096
  [''],
1147
1097
  ['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
1148
- ['USD', '64,04', '58,43 - 77,14', '+11,07 (17,29%)'],
1149
- ['KURS', '14.671,35', '14.669,40 - 16.307,80', '+1.559,05 (10,63%)'],
1150
- ['IDR', '939.568,98', '912.925,68 - 1.256.829,06', '+279.479,59 (29,75%)']])
1098
+ ['USD', '63,97', '58,43 - 77,14', '+10,52 (16,45%)'],
1099
+ ['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.565,70 (10,67%)'],
1100
+ ['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+270.900,84 (28,86%)']])
1151
1101
  ```
1152
1102
 
1153
1103
  ## iloads
@@ -1241,7 +1191,7 @@ Output:
1241
1191
  ```py
1242
1192
  8
1243
1193
  ['mana', 'aja']
1244
- [<Element a at 0x7384b59090>, <Element a at 0x7384b94910>, <Element a at 0x7384b949b0>, <Element a at 0x7384b94a00>, <Element a at 0x7384b94a50>, <Element a at 0x7384b94aa0>, <Element a at 0x7384b94af0>, <Element a at 0x7384b94b40>, <Element a at 0x7384b94b90>, <Element a at 0x7384b94be0>, <Element a at 0x7384b94c30>, <Element a at 0x7384b94c80>, <Element a at 0x7384b94cd0>, <Element a at 0x7384b94d20>, <Element a at 0x7384b94d70>, <Element a at 0x7384b94dc0>, <Element a at 0x7384b94e10>, <Element a at 0x7384b94e60>, <Element a at 0x7384b94eb0>, <Element a at 0x7384b94f00>]
1194
+ [<Element a at 0x73aef12670>, <Element a at 0x73aef4cd20>, <Element a at 0x73aef4cdc0>, <Element a at 0x73aef4ce10>, <Element a at 0x73aef4ce60>, <Element a at 0x73aef4ceb0>, <Element a at 0x73aef4cf00>, <Element a at 0x73aef4cf50>, <Element a at 0x73aef4cfa0>, <Element a at 0x73aef4cff0>, <Element a at 0x73aef4d040>, <Element a at 0x73aef4d090>, <Element a at 0x73aef4d0e0>, <Element a at 0x73aef4d130>, <Element a at 0x73aef4d180>, <Element a at 0x73aef4d1d0>, <Element a at 0x73aef4d220>, <Element a at 0x73aef4d270>]
1245
1195
  False
1246
1196
  ```
1247
1197
 
@@ -1303,7 +1253,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
1303
1253
 
1304
1254
  Output:
1305
1255
  ```py
1306
- <generator object iscandir at 0x7384b48540>
1256
+ <generator object iscandir at 0x73aef04740>
1307
1257
  [PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
1308
1258
  ```
1309
1259
 
@@ -1340,68 +1290,68 @@ Output:
1340
1290
  'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
1341
1291
  'PintUregQuantity': <class 'pint.Quantity'>,
1342
1292
  'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
1343
- 'function': {'avg': <function avg at 0x7393816700>,
1344
- 'get_filemtime': <function get_filemtime at 0x738aecf2e0>,
1345
- 'print_colorize': <function print_colorize at 0x738aecf4c0>,
1346
- 'print_log': <function print_log at 0x738af92b60>,
1347
- 'console_run': <function console_run at 0x738aecf380>,
1348
- 'auto_reload': <function auto_reload at 0x738aebbec0>,
1349
- 'basename': <function basename at 0x738aecf240>,
1350
- 'chr_to_int': <function chr_to_int at 0x738aecfa60>,
1351
- 'int_to_chr': <function int_to_chr at 0x738aecfb00>,
1352
- 'irange': <function irange at 0x738aecf920>,
1353
- 'batchmaker': <function batchmaker at 0x738aecf740>,
1354
- 'calculate': <function calculate at 0x738aecfba0>,
1355
- 'batch_calculate': <function batch_calculate at 0x738aecf600>,
1356
- 'is_iterable': <function is_iterable at 0x738aecfc40>,
1357
- 'print_to_last_line': <function print_to_last_line at 0x738aecfce0>,
1358
- 'text_colorize': <function text_colorize at 0x738aecfd80>,
1359
- 'choices': <function choices at 0x738aecf6a0>,
1360
- 'chunk_array': <function chunk_array at 0x738aecf7e0>,
1361
- 'create_folder': <function create_folder at 0x738aecfe20>,
1362
- 'datetime_from_string': <function datetime_from_string at 0x738aecfec0>,
1363
- 'datetime_now': <function datetime_now at 0x738aecff60>,
1364
- 'dict_first': <function dict_first at 0x738acf8040>,
1365
- 'dirname': <function dirname at 0x738acf80e0>,
1366
- 'is_empty': <function is_empty at 0x738acf82c0>,
1367
- 'exit_if_empty': <function exit_if_empty at 0x738aecf560>,
1368
- 'to_str': <function to_str at 0x738acf8400>,
1369
- 'filter_empty': <function filter_empty at 0x738acf8180>,
1370
- 'get_by_index': <function get_by_index at 0x738acf8360>,
1371
- 'get_class_method': <function get_class_method at 0x738acf84a0>,
1372
- 'get_filesize': <function get_filesize at 0x738acf85e0>,
1373
- 'github_pull': <function github_pull at 0x738acf8680>,
1374
- 'github_push': <function github_push at 0x738acf8860>,
1375
- 'github_user': <function github_user at 0x738acf8900>,
1376
- 'iargv': <function iargv at 0x738acf8720>,
1377
- 'idumps_html': <function idumps_html at 0x738acf8b80>,
1378
- 'idumps': <function idumps at 0x738acf8a40>,
1379
- 'ienv': <function ienv at 0x738acf9080>,
1380
- 'iexec': <function iexec at 0x738add13a0>,
1381
- 'ijoin': <function ijoin at 0x738add1580>,
1382
- 'iloads_html': <function iloads_html at 0x738add1760>,
1383
- 'iloads': <function iloads at 0x738add14e0>,
1384
- 'input_char': <function input_char at 0x738add16c0>,
1385
- 'is_valid_url': <function is_valid_url at 0x738add1940>,
1386
- 'iopen': <function iopen at 0x738abd9da0>,
1387
- 'iprint': <function iprint at 0x738add18a0>,
1388
- 'ireplace': <function ireplace at 0x738add1c60>,
1389
- 'iscandir': <function iscandir at 0x738ac9d4e0>,
1390
- 'isplit': <function isplit at 0x738ac9d580>,
1391
- 'ivars': <function ivars at 0x738ac9d620>,
1392
- 'log': <function log at 0x738ac9d6c0>,
1393
- 'password_generator': <function password_generator at 0x738ac9d760>,
1394
- 'pip_freeze_without_version': <function pip_freeze_without_version at 0x738ac9d8a0>,
1395
- 'poetry_publish': <function poetry_publish at 0x738ac9d940>,
1396
- 'poetry_update_version': <function poetry_update_version at 0x738ac9da80>,
1397
- 'print_dir': <function print_dir at 0x738ac9dc60>,
1398
- 'random_bool': <function random_bool at 0x738ac9dd00>,
1399
- 'restart': <function restart at 0x738ac9dda0>,
1400
- 'set_timeout': <function set_timeout at 0x738ac9de40>,
1401
- 'sets_ordered': <function sets_ordered at 0x738ac9dee0>,
1402
- 'str_cmp': <function str_cmp at 0x738ac9df80>},
1293
+ 'function': {'avg': <function avg at 0x73bc16a700>,
1294
+ 'get_filemtime': <function get_filemtime at 0x73b7bff2e0>,
1295
+ 'print_colorize': <function print_colorize at 0x73b7bff4c0>,
1296
+ 'print_log': <function print_log at 0x73b7cc2b60>,
1297
+ 'console_run': <function console_run at 0x73b7bff380>,
1298
+ 'auto_reload': <function auto_reload at 0x73b7bebec0>,
1299
+ 'basename': <function basename at 0x73b7bff240>,
1300
+ 'chr_to_int': <function chr_to_int at 0x73b7bffa60>,
1301
+ 'int_to_chr': <function int_to_chr at 0x73b7bffb00>,
1302
+ 'irange': <function irange at 0x73b7bffd80>,
1303
+ 'batchmaker': <function batchmaker at 0x73b7bff740>,
1304
+ 'calculate': <function calculate at 0x73b7a282c0>,
1305
+ 'batch_calculate': <function batch_calculate at 0x73b7bff600>,
1306
+ 'is_iterable': <function is_iterable at 0x73b7a28360>,
1307
+ 'print_to_last_line': <function print_to_last_line at 0x73b7a28400>,
1308
+ 'text_colorize': <function text_colorize at 0x73b7a284a0>,
1309
+ 'choices': <function choices at 0x73b7bff6a0>,
1310
+ 'chunk_array': <function chunk_array at 0x73b7bff7e0>,
1311
+ 'create_folder': <function create_folder at 0x73b7a28540>,
1312
+ 'datetime_from_string': <function datetime_from_string at 0x73b7a285e0>,
1313
+ 'datetime_now': <function datetime_now at 0x73b7a28680>,
1314
+ 'dict_first': <function dict_first at 0x73b7a28720>,
1315
+ 'dirname': <function dirname at 0x73b7a287c0>,
1316
+ 'is_empty': <function is_empty at 0x73b7a289a0>,
1317
+ 'exit_if_empty': <function exit_if_empty at 0x73b7bff560>,
1318
+ 'to_str': <function to_str at 0x73b7a28ae0>,
1319
+ 'filter_empty': <function filter_empty at 0x73b7a28860>,
1320
+ 'get_by_index': <function get_by_index at 0x73b7a28a40>,
1321
+ 'get_class_method': <function get_class_method at 0x73b7a28b80>,
1322
+ 'get_filesize': <function get_filesize at 0x73b7a28cc0>,
1323
+ 'github_pull': <function github_pull at 0x73b7a28d60>,
1324
+ 'github_push': <function github_push at 0x73b7a28f40>,
1325
+ 'github_user': <function github_user at 0x73b7a28fe0>,
1326
+ 'iargv': <function iargv at 0x73b7a28e00>,
1327
+ 'idumps_html': <function idumps_html at 0x73b7a29260>,
1328
+ 'idumps': <function idumps at 0x73b7a29120>,
1329
+ 'ienv': <function ienv at 0x73b7a29760>,
1330
+ 'iexec': <function iexec at 0x73b7b01a80>,
1331
+ 'ijoin': <function ijoin at 0x73b7b01c60>,
1332
+ 'iloads_html': <function iloads_html at 0x73b7b01e40>,
1333
+ 'iloads': <function iloads at 0x73b7b01bc0>,
1334
+ 'input_char': <function input_char at 0x73b7b01da0>,
1335
+ 'is_valid_url': <function is_valid_url at 0x73b7b02020>,
1336
+ 'iopen': <function iopen at 0x73b792e480>,
1337
+ 'iprint': <function iprint at 0x73b7b01f80>,
1338
+ 'ireplace': <function ireplace at 0x73b7b02340>,
1339
+ 'iscandir': <function iscandir at 0x73b79e1bc0>,
1340
+ 'isplit': <function isplit at 0x73b79e1c60>,
1341
+ 'ivars': <function ivars at 0x73b79e1d00>,
1342
+ 'log': <function log at 0x73b79e1da0>,
1343
+ 'password_generator': <function password_generator at 0x73b79e1e40>,
1344
+ 'pip_freeze_without_version': <function pip_freeze_without_version at 0x73b79e1f80>,
1345
+ 'poetry_publish': <function poetry_publish at 0x73b79e2020>,
1346
+ 'poetry_update_version': <function poetry_update_version at 0x73b79e2160>,
1347
+ 'print_dir': <function print_dir at 0x73b79e2340>,
1348
+ 'random_bool': <function random_bool at 0x73b79e23e0>,
1349
+ 'restart': <function restart at 0x73b79e2480>,
1350
+ 'set_timeout': <function set_timeout at 0x73b79e2520>,
1351
+ 'sets_ordered': <function sets_ordered at 0x73b79e25c0>,
1352
+ 'str_cmp': <function str_cmp at 0x73b79e2660>},
1403
1353
  'variable': {'LINUX': True,
1404
- 'PintUreg': <pint.registry.UnitRegistry object at 0x73939fbf50>,
1354
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x73bc34ff90>,
1405
1355
  'WINDOWS': False},
1406
1356
  'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
1407
1357
  'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
@@ -1475,7 +1425,7 @@ print(password_generator())
1475
1425
 
1476
1426
  Output:
1477
1427
  ```py
1478
- br3+8mbt
1428
+ DHOV[xra
1479
1429
  ```
1480
1430
 
1481
1431
  ## pip_freeze_without_version
@@ -1533,7 +1483,7 @@ Output:
1533
1483
  __enter__ : https:/www.google.com
1534
1484
  __fspath__ : https:/www.google.com
1535
1485
  __getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
1536
- __hash__ : 9538007634898831
1486
+ __hash__ : 6851376060723217171
1537
1487
  __init__ : None
1538
1488
  __init_subclass__ : None
1539
1489
  __module__ : pathlib
@@ -1546,8 +1496,8 @@ Output:
1546
1496
  _cached_cparts : ['https:', 'www.google.com']
1547
1497
  _cparts : ['https:', 'www.google.com']
1548
1498
  _drv :
1549
- _flavour : <pathlib._PosixFlavour object at 0x73966307d0>
1550
- _hash : 9538007634898831
1499
+ _flavour : <pathlib._PosixFlavour object at 0x73c1f20710>
1500
+ _hash : 6851376060723217171
1551
1501
  _parts : ['https:', 'www.google.com']
1552
1502
  _root :
1553
1503
  _str : https:/www.google.com
@@ -1569,7 +1519,7 @@ Output:
1569
1519
  is_reserved : False
1570
1520
  is_socket : False
1571
1521
  is_symlink : False
1572
- iterdir : <generator object Path.iterdir at 0x7384b51fc0>
1522
+ iterdir : <generator object Path.iterdir at 0x73aef0a0a0>
1573
1523
  joinpath : https:/www.google.com
1574
1524
  name : www.google.com
1575
1525
  parent : https:
@@ -1597,7 +1547,7 @@ print(random_bool())
1597
1547
 
1598
1548
  Output:
1599
1549
  ```py
1600
- False
1550
+ True
1601
1551
  ```
1602
1552
 
1603
1553
  ## restart
@@ -1623,7 +1573,7 @@ x.cancel()
1623
1573
 
1624
1574
  Output:
1625
1575
  ```py
1626
- <Timer(Thread-2, started 496119037168)>
1576
+ <Timer(Thread-2, started 496827874544)>
1627
1577
  menghentikan timeout 7
1628
1578
  ```
1629
1579
 
@@ -1641,7 +1591,7 @@ print(list(sets_ordered(array)))
1641
1591
 
1642
1592
  Output:
1643
1593
  ```py
1644
- <generator object sets_ordered at 0x7384b70a00>
1594
+ <generator object sets_ordered at 0x73aef28a00>
1645
1595
  [2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
1646
1596
  ```
1647
1597
 
@@ -1716,7 +1666,7 @@ print(ExampleComparePerformance().compare_performance())
1716
1666
 
1717
1667
  Output:
1718
1668
  ```py
1719
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7384b70450>,
1669
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x73aef28450>,
1720
1670
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
1721
1671
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
1722
1672
  'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
@@ -16,6 +16,13 @@ def auto_reload(filename):
16
16
  ```py
17
17
  if __name__ == "__main__":
18
18
  auto_reload("file_name.py")
19
+
20
+ ```
21
+
22
+ or run in terminal
23
+
24
+ ```
25
+ pypipr auto_reload
19
26
  ```
20
27
  """
21
28
  mtime = get_filemtime(filename)
@@ -27,7 +34,6 @@ def auto_reload(filename):
27
34
  while True:
28
35
  last_mtime = mtime
29
36
  console_run(cmd, print_info=False)
30
- # subprocess.run(cmd, shell=True)
31
37
  while mtime == last_mtime:
32
38
  time.sleep(1)
33
39
  mtime = get_filemtime(filename)