pypipr 1.0.146__tar.gz → 1.0.147__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.
- {pypipr-1.0.146 → pypipr-1.0.147}/PKG-INFO +170 -162
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/TextCase.py +26 -7
- {pypipr-1.0.146 → pypipr-1.0.147}/pyproject.toml +1 -1
- {pypipr-1.0.146 → pypipr-1.0.147}/readme.md +169 -161
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/TextCase.py.bak +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/__init__.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/avg.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/basename.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/bin_to_int.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/calculate.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/choices.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/console_run.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/dirname.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/github_init.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/github_push.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/github_user.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/hex_to_int.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/iargv.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/idir.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/idumps.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/ienv.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/iexec.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/iloads.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/input_char.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/iopen.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/iprint.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/irange.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/isplit.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/ivars.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/log.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/oct_to_int.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/print_log.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/restart.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/sqlite_delete_table.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/sqlite_get_all_tables.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/sqlite_get_data_table.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/to_str.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/traceback_filename.py +0 -0
- {pypipr-1.0.146 → pypipr-1.0.147}/pypipr/traceback_framename.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.147
|
4
4
|
Summary: The Python Package Index Project
|
5
5
|
Author: ufiapjj
|
6
6
|
Author-email: ufiapjj@gmail.com
|
@@ -248,8 +248,8 @@ iprint(irange("z", "a", 4))
|
|
248
248
|
|
249
249
|
Output:
|
250
250
|
```py
|
251
|
-
<generator object int_range at
|
252
|
-
<generator object int_range at
|
251
|
+
<generator object int_range at 0x72b42e6a40>
|
252
|
+
<generator object int_range at 0x72b42e6a40>
|
253
253
|
[13, 12, 11, 10, 9, 8, 7, 6]
|
254
254
|
[2, 5, 8]
|
255
255
|
[2, 5, 8]
|
@@ -281,7 +281,7 @@ print(list(batchmaker(s)))
|
|
281
281
|
|
282
282
|
Output:
|
283
283
|
```py
|
284
|
-
<generator object batchmaker at
|
284
|
+
<generator object batchmaker at 0x72b424ec20>
|
285
285
|
['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.']
|
286
286
|
```
|
287
287
|
|
@@ -335,7 +335,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
335
335
|
|
336
336
|
Output:
|
337
337
|
```py
|
338
|
-
<generator object batch_calculate at
|
338
|
+
<generator object batch_calculate at 0x72ac8107c0>
|
339
339
|
[('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')>)]
|
340
340
|
```
|
341
341
|
|
@@ -441,7 +441,7 @@ print(list(chunk_array(arr, 5)))
|
|
441
441
|
|
442
442
|
Output:
|
443
443
|
```py
|
444
|
-
<generator object chunk_array at
|
444
|
+
<generator object chunk_array at 0x72b42e6b40>
|
445
445
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
446
446
|
```
|
447
447
|
|
@@ -492,9 +492,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
492
492
|
|
493
493
|
Output:
|
494
494
|
```py
|
495
|
-
2024-08-05
|
496
|
-
2024-08-05
|
497
|
-
2024-08-
|
495
|
+
2024-08-05 21:08:37.587451+07:00
|
496
|
+
2024-08-05 14:08:37.589071+00:00
|
497
|
+
2024-08-05 07:08:37.593620-07:00
|
498
498
|
```
|
499
499
|
|
500
500
|
## dict_first
|
@@ -600,7 +600,7 @@ iprint(filter_empty(var))
|
|
600
600
|
|
601
601
|
Output:
|
602
602
|
```py
|
603
|
-
<generator object filter_empty at
|
603
|
+
<generator object filter_empty at 0x72ac8104f0>
|
604
604
|
[1, '0', True, {}, ['eee']]
|
605
605
|
```
|
606
606
|
|
@@ -647,8 +647,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
647
647
|
|
648
648
|
Output:
|
649
649
|
```py
|
650
|
-
<generator object get_class_method at
|
651
|
-
[<function ExampleGetClassMethod.a at
|
650
|
+
<generator object get_class_method at 0x72ac810a90>
|
651
|
+
[<function ExampleGetClassMethod.a at 0x72ac82e020>, <function ExampleGetClassMethod.b at 0x72ac82df80>, <function ExampleGetClassMethod.c at 0x72ac82e160>, <function ExampleGetClassMethod.d at 0x72ac82e200>]
|
652
652
|
```
|
653
653
|
|
654
654
|
## get_filesize
|
@@ -1065,7 +1065,7 @@ Output:
|
|
1065
1065
|
|
1066
1066
|
## ienumerate
|
1067
1067
|
|
1068
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1068
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x72b8ed65c0>)`
|
1069
1069
|
|
1070
1070
|
meningkatkan fungsi enumerate() pada python
|
1071
1071
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1078,7 +1078,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1078
1078
|
|
1079
1079
|
Output:
|
1080
1080
|
```py
|
1081
|
-
<generator object ienumerate at
|
1081
|
+
<generator object ienumerate at 0x72ac810b80>
|
1082
1082
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1083
1083
|
```
|
1084
1084
|
|
@@ -1145,7 +1145,7 @@ print(ijoin(10, ' '))
|
|
1145
1145
|
|
1146
1146
|
Output:
|
1147
1147
|
```py
|
1148
|
-
qweqw,
|
1148
|
+
qweqw, dfs, asd, weq
|
1149
1149
|
,ini,path,seperti,url,
|
1150
1150
|
ini,path,seperti,url
|
1151
1151
|
<li>satu</li>
|
@@ -1191,9 +1191,9 @@ Output:
|
|
1191
1191
|
```py
|
1192
1192
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1193
1193
|
[['Harga Emas Hari Ini - Senin, 05 Agustus 2024'],
|
1194
|
-
['Spot Emas USD
|
1194
|
+
['Spot Emas USD↓2.393,50 (-48,45) / oz',
|
1195
1195
|
'Kurs IDR↓16.234,00 (-9,00) / USD',
|
1196
|
-
'Emas IDR
|
1196
|
+
'Emas IDR↓1.249.252 (-25.994) / gr'],
|
1197
1197
|
['LM Antam (Jual)↓1.420.000 (-8.000) / gr',
|
1198
1198
|
'LM Antam (Beli)↓1.273.000 (-8.000) / gr']],
|
1199
1199
|
[['Harga Emas Hari Ini'],
|
@@ -1264,37 +1264,45 @@ Output:
|
|
1264
1264
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1265
1265
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1266
1266
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1267
|
-
['Ounce\xa0(oz)', '2.
|
1268
|
-
['Gram\xa0(gr)', '
|
1269
|
-
['Kilogram\xa0(kg)', '
|
1270
|
-
['Update harga emas :05 Agustus 2024, pukul
|
1271
|
-
'2024, pukul
|
1267
|
+
['Ounce\xa0(oz)', '2.393,50 (-48,45)', '16.234,00 (-9,00)', '38.856.079'],
|
1268
|
+
['Gram\xa0(gr)', '76,95', '16.234,00', '1.249.252 (-25.994)'],
|
1269
|
+
['Kilogram\xa0(kg)', '76.952,81', '16.234,00', '1.249.251.950'],
|
1270
|
+
['Update harga emas :05 Agustus 2024, pukul 21:08Update kurs :05 Agustus '
|
1271
|
+
'2024, pukul 13:10']],
|
1272
1272
|
[['Gram', 'UBS Gold 99.99%'],
|
1273
1273
|
['Jual', 'Beli'],
|
1274
1274
|
['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
|
1275
1275
|
['100',
|
1276
|
-
'136.
|
1277
|
-
'1.
|
1278
|
-
'130.
|
1279
|
-
'1.
|
1276
|
+
'136.000.000 (-900.000)',
|
1277
|
+
'1.360.000 (-9.000)',
|
1278
|
+
'130.798.000 (-200.000)',
|
1279
|
+
'1.307.980 (-2.000)'],
|
1280
1280
|
['50',
|
1281
|
-
'68.
|
1282
|
-
'1.
|
1283
|
-
'65.
|
1284
|
-
'1.
|
1281
|
+
'68.400.000 (-450.000)',
|
1282
|
+
'1.368.000 (-9.000)',
|
1283
|
+
'65.449.000 (-100.000)',
|
1284
|
+
'1.308.980 (-2.000)'],
|
1285
1285
|
['25',
|
1286
|
-
'34.
|
1287
|
-
'1.
|
1288
|
-
'32.
|
1289
|
-
'1.
|
1286
|
+
'34.250.000 (-225.000)',
|
1287
|
+
'1.370.000 (-9.000)',
|
1288
|
+
'32.823.500 (-50.000)',
|
1289
|
+
'1.312.940 (-2.000)'],
|
1290
1290
|
['10',
|
1291
|
-
'13.
|
1292
|
-
'1.
|
1293
|
-
'13.
|
1294
|
-
'1.
|
1295
|
-
['5',
|
1296
|
-
|
1297
|
-
|
1291
|
+
'13.750.000 (-70.000)',
|
1292
|
+
'1.375.000 (-7.000)',
|
1293
|
+
'13.188.000 (-20.000)',
|
1294
|
+
'1.318.800 (-2.000)'],
|
1295
|
+
['5',
|
1296
|
+
'6.900.000 (-35.000)',
|
1297
|
+
'1.380.000 (-7.000)',
|
1298
|
+
'6.649.000 (-10.000)',
|
1299
|
+
'1.329.800 (-2.000)'],
|
1300
|
+
['1',
|
1301
|
+
'1.420.000 (-7.000)',
|
1302
|
+
'1.420.000 (-7.000)',
|
1303
|
+
'1.361.000 (-2.000)',
|
1304
|
+
'1.361.000 (-2.000)'],
|
1305
|
+
['', 'Update :05 Agustus 2024, pukul 11:52']],
|
1298
1306
|
[['Konversi Satuan'],
|
1299
1307
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
1300
1308
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -1305,36 +1313,36 @@ Output:
|
|
1305
1313
|
['Unit', 'USD', 'IDR'],
|
1306
1314
|
['Angka', '+/-', 'Angka', '+/-'],
|
1307
1315
|
['Hari Ini', 'Kurs', '', '', '16.243', '-9-0,06%'],
|
1308
|
-
['oz', '2.441,95', '
|
1309
|
-
['gr', '78,51', '
|
1316
|
+
['oz', '2.441,95', '-48,45-1,98%', '39.664.594', '-808.515-2,04%'],
|
1317
|
+
['gr', '78,51', '-1,56-1,98%', '1.275.246', '-25.994-2,04%'],
|
1310
1318
|
['30 Hari', 'Kurs', '', '', '16.341', '-107-0,65%'],
|
1311
|
-
['oz', '2.391,59', '+
|
1312
|
-
['gr', '76,89', '+
|
1319
|
+
['oz', '2.391,59', '+1,91+0,08%', '39.080.996', '-224.917-0,58%'],
|
1320
|
+
['gr', '76,89', '+0,06+0,08%', '1.256.483', '-7.231-0,58%'],
|
1313
1321
|
['2 Bulan', 'Kurs', '', '', '16.282', '-48-0,29%'],
|
1314
|
-
['oz', '2.373,59', '+
|
1315
|
-
['gr', '76,31', '+
|
1322
|
+
['oz', '2.373,59', '+19,91+0,84%', '38.646.792', '+209.287+0,54%'],
|
1323
|
+
['gr', '76,31', '+0,64+0,84', '1.242.523', '+6.729+0,54%'],
|
1316
1324
|
['6 Bulan', 'Kurs', '', '', '15.734', '+500+3,18%'],
|
1317
|
-
['oz', '2.039,14', '+
|
1318
|
-
['gr', '65,56', '+
|
1325
|
+
['oz', '2.039,14', '+354,36+17,38%', '32.083.829', '+6.772.250+21,11%'],
|
1326
|
+
['gr', '65,56', '+11,39+17,38%', '1.031.519', '+217.733+21,11%'],
|
1319
1327
|
['1 Tahun', 'Kurs', '', '', '15.731', '+503+3,20%'],
|
1320
|
-
['oz', '1.823,86', '+
|
1321
|
-
['gr', '58,64', '+
|
1328
|
+
['oz', '1.823,86', '+569,64+31,23%', '28.691.142', '+10.164.937+35,43%'],
|
1329
|
+
['gr', '58,64', '+18,31+31,23%', '922.442', '+326.810+35,43%'],
|
1322
1330
|
['2 Tahun', 'Kurs', '', '', '14.929', '+1.305+8,74%'],
|
1323
|
-
['oz', '1.787,68', '+
|
1324
|
-
['gr', '57,48', '+
|
1331
|
+
['oz', '1.787,68', '+605,82+33,89%', '26.688.275', '+12.167.804+45,59%'],
|
1332
|
+
['gr', '57,48', '+19,48+33,89%', '858.048', '+391.204+45,59%'],
|
1325
1333
|
['3 Tahun', 'Kurs', '', '', '14.342', '+1.892+13,19%'],
|
1326
|
-
['oz', '1.759,29', '+
|
1327
|
-
['gr', '56,56', '+
|
1334
|
+
['oz', '1.759,29', '+634,21+36,05%', '25.231.737', '+13.624.342+54,00%'],
|
1335
|
+
['gr', '56,56', '+20,39+36,05%', '811.219', '+438.033+54,00%'],
|
1328
1336
|
['5 Tahun', 'Kurs', '', '', '14.275', '+1.959+13,72%'],
|
1329
|
-
['oz', '1.505,73', '+
|
1330
|
-
['gr', '48,41', '+
|
1337
|
+
['oz', '1.505,73', '+887,77+58,96%', '21.494.296', '+17.361.783+80,77%'],
|
1338
|
+
['gr', '48,41', '+28,54+58,96%', '691.058', '+558.194+80,77%']])
|
1331
1339
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1332
1340
|
[[''],
|
1333
1341
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1334
|
-
['USD', '
|
1335
|
-
['KURS', '16.
|
1336
|
-
['IDR', '1.
|
1337
|
-
['Senin, 05 Agustus 2024
|
1342
|
+
['USD', '76,95↓', '-1,56-1,99%'],
|
1343
|
+
['KURS', '16.189,80↑', '+13,85+0,09%'],
|
1344
|
+
['IDR', '1.245.850,64↓', '-24.131,54-1,90%'],
|
1345
|
+
['Senin, 05 Agustus 2024 21:08']],
|
1338
1346
|
[[''],
|
1339
1347
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1340
1348
|
'Hari Ini',
|
@@ -1345,19 +1353,19 @@ Output:
|
|
1345
1353
|
'']],
|
1346
1354
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1347
1355
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1348
|
-
['USD', '78,51', '
|
1349
|
-
['KURS', '16.175,95', '16.
|
1350
|
-
['IDR', '1.269.982,18', '1.
|
1356
|
+
['USD', '78,51', '76,95 - 78,51', '77,73'],
|
1357
|
+
['KURS', '16.175,95', '16.175,95 - 16.189,80', '16.182,88'],
|
1358
|
+
['IDR', '1.269.982,18', '1.245.850,64 - 1.269.982,18', '1.257.916,41'],
|
1351
1359
|
[''],
|
1352
1360
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1353
|
-
['USD', '66,32', '64,07 - 79,08', '+
|
1354
|
-
['KURS', '15.390,10', '15.390,00 - 16.509,65', '+
|
1355
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.279.266,69', '+
|
1361
|
+
['USD', '66,32', '64,07 - 79,08', '+10,63 (16,03%)'],
|
1362
|
+
['KURS', '15.390,10', '15.390,00 - 16.509,65', '+799,70 (5,20%)'],
|
1363
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.279.266,69', '+225.121,11 (22,05%)'],
|
1356
1364
|
[''],
|
1357
1365
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1358
|
-
['USD', '62,44', '58,43 - 79,08', '+
|
1359
|
-
['KURS', '15.121,75', '15.152,90 - 16.509,65', '+1.
|
1360
|
-
['IDR', '944.250,16', '912.925,68 - 1.279.266,69', '+
|
1366
|
+
['USD', '62,44', '58,43 - 79,08', '+14,51 (23,24%)'],
|
1367
|
+
['KURS', '15.121,75', '15.152,90 - 16.509,65', '+1.068,05 (7,06%)'],
|
1368
|
+
['IDR', '944.250,16', '912.925,68 - 1.279.266,69', '+301.600,48 (31,94%)']])
|
1361
1369
|
```
|
1362
1370
|
|
1363
1371
|
## iloads
|
@@ -1487,7 +1495,7 @@ Output:
|
|
1487
1495
|
```py
|
1488
1496
|
8
|
1489
1497
|
['mana', 'aja']
|
1490
|
-
[<Element a at
|
1498
|
+
[<Element a at 0x72ac8315e0>, <Element a at 0x72ac885450>, <Element a at 0x72ac8854f0>, <Element a at 0x72ac885540>, <Element a at 0x72ac885590>, <Element a at 0x72ac8855e0>, <Element a at 0x72ac885630>, <Element a at 0x72ac885680>, <Element a at 0x72ac8856d0>, <Element a at 0x72ac885720>, <Element a at 0x72ac885770>, <Element a at 0x72ac8857c0>, <Element a at 0x72ac885810>, <Element a at 0x72ac885860>, <Element a at 0x72ac8858b0>, <Element a at 0x72ac885900>, <Element a at 0x72ac885950>, <Element a at 0x72ac8859a0>, <Element a at 0x72ac8859f0>, <Element a at 0x72ac885a40>]
|
1491
1499
|
False
|
1492
1500
|
```
|
1493
1501
|
|
@@ -1549,7 +1557,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1549
1557
|
|
1550
1558
|
Output:
|
1551
1559
|
```py
|
1552
|
-
<generator object iscandir at
|
1560
|
+
<generator object iscandir at 0x72b42e6f40>
|
1553
1561
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1554
1562
|
```
|
1555
1563
|
|
@@ -1582,87 +1590,87 @@ iprint(ivars(__import__('pypipr')))
|
|
1582
1590
|
|
1583
1591
|
Output:
|
1584
1592
|
```py
|
1585
|
-
{'function': {'avg': <function avg at
|
1586
|
-
'get_filemtime': <function get_filemtime at
|
1587
|
-
'print_colorize': <function print_colorize at
|
1588
|
-
'print_log': <function print_log at
|
1589
|
-
'console_run': <function console_run at
|
1590
|
-
'auto_reload': <function auto_reload at
|
1591
|
-
'basename': <function basename at
|
1592
|
-
'chr_to_int': <function chr_to_int at
|
1593
|
-
'int_to_chr': <function int_to_chr at
|
1594
|
-
'irange': <function irange at
|
1595
|
-
'batchmaker': <function batchmaker at
|
1596
|
-
'calculate': <function calculate at
|
1597
|
-
'batch_calculate': <function batch_calculate at
|
1598
|
-
'bin_to_int': <function bin_to_int at
|
1599
|
-
'is_empty': <function is_empty at
|
1600
|
-
'exit_if_empty': <function exit_if_empty at
|
1601
|
-
'input_char': <function input_char at
|
1602
|
-
'choices': <function choices at
|
1603
|
-
'chunk_array': <function chunk_array at
|
1604
|
-
'create_folder': <function create_folder at
|
1605
|
-
'datetime_from_string': <function datetime_from_string at
|
1606
|
-
'datetime_now': <function datetime_now at
|
1607
|
-
'dict_first': <function dict_first at
|
1608
|
-
'dirname': <function dirname at
|
1609
|
-
'is_iterable': <function is_iterable at
|
1610
|
-
'to_str': <function to_str at
|
1611
|
-
'filter_empty': <function filter_empty at
|
1612
|
-
'get_by_index': <function get_by_index at
|
1613
|
-
'get_class_method': <function get_class_method at
|
1614
|
-
'get_filesize': <function get_filesize at
|
1615
|
-
'github_init': <function github_init at
|
1616
|
-
'github_pull': <function github_pull at
|
1617
|
-
'github_push': <function github_push at
|
1618
|
-
'github_user': <function github_user at
|
1619
|
-
'hex_to_int': <function hex_to_int at
|
1620
|
-
'iargv': <function iargv at
|
1621
|
-
'idir': <function idir at
|
1622
|
-
'idumps_html': <function idumps_html at
|
1623
|
-
'idumps': <function idumps at
|
1624
|
-
'int_to_int': <function int_to_int at
|
1625
|
-
'ienumerate': <function ienumerate at
|
1626
|
-
'ienv': <function ienv at
|
1627
|
-
'iexec': <function iexec at
|
1628
|
-
'ijoin': <function ijoin at
|
1629
|
-
'iloads_html': <function iloads_html at
|
1630
|
-
'iloads': <function iloads at
|
1631
|
-
'int_to_bin': <function int_to_bin at
|
1632
|
-
'int_to_hex': <function int_to_hex at
|
1633
|
-
'int_to_oct': <function int_to_oct at
|
1634
|
-
'is_valid_url': <function is_valid_url at
|
1635
|
-
'iopen': <function iopen at
|
1636
|
-
'iprint': <function iprint at
|
1637
|
-
'ireplace': <function ireplace at
|
1638
|
-
'iscandir': <function iscandir at
|
1639
|
-
'isplit': <function isplit at
|
1640
|
-
'ivars': <function ivars at
|
1641
|
-
'log': <function log at
|
1642
|
-
'oct_to_int': <function oct_to_int at
|
1643
|
-
'password_generator': <function password_generator at
|
1644
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1645
|
-
'poetry_publish': <function poetry_publish at
|
1646
|
-
'poetry_update_version': <function poetry_update_version at
|
1647
|
-
'print_dir': <function print_dir at
|
1648
|
-
'print_to_last_line': <function print_to_last_line at
|
1649
|
-
'random_bool': <function random_bool at
|
1650
|
-
'restart': <function restart at
|
1651
|
-
'set_timeout': <function set_timeout at
|
1652
|
-
'sets_ordered': <function sets_ordered at
|
1653
|
-
'sqlite_delete_table': <function sqlite_delete_table at
|
1654
|
-
'sqlite_get_all_tables': <function sqlite_get_all_tables at
|
1655
|
-
'sqlite_get_data_table': <function sqlite_get_data_table at
|
1656
|
-
'str_cmp': <function str_cmp at
|
1657
|
-
'text_colorize': <function text_colorize at
|
1658
|
-
'traceback_filename': <function traceback_filename at
|
1659
|
-
'traceback_framename': <function traceback_framename at
|
1593
|
+
{'function': {'avg': <function avg at 0x72bd1e0040>,
|
1594
|
+
'get_filemtime': <function get_filemtime at 0x72b8e15d00>,
|
1595
|
+
'print_colorize': <function print_colorize at 0x72b8e15ee0>,
|
1596
|
+
'print_log': <function print_log at 0x72b8e15da0>,
|
1597
|
+
'console_run': <function console_run at 0x72b8e15e40>,
|
1598
|
+
'auto_reload': <function auto_reload at 0x72b8e15620>,
|
1599
|
+
'basename': <function basename at 0x72b8e15c60>,
|
1600
|
+
'chr_to_int': <function chr_to_int at 0x72b8e16480>,
|
1601
|
+
'int_to_chr': <function int_to_chr at 0x72b8e16520>,
|
1602
|
+
'irange': <function irange at 0x72b8e167a0>,
|
1603
|
+
'batchmaker': <function batchmaker at 0x72b8e16160>,
|
1604
|
+
'calculate': <function calculate at 0x72b8e162a0>,
|
1605
|
+
'batch_calculate': <function batch_calculate at 0x72b8e16020>,
|
1606
|
+
'bin_to_int': <function bin_to_int at 0x72b8e160c0>,
|
1607
|
+
'is_empty': <function is_empty at 0x72b8e16f20>,
|
1608
|
+
'exit_if_empty': <function exit_if_empty at 0x72b8e16de0>,
|
1609
|
+
'input_char': <function input_char at 0x72b8e163e0>,
|
1610
|
+
'choices': <function choices at 0x72b8e171a0>,
|
1611
|
+
'chunk_array': <function chunk_array at 0x72b8e17240>,
|
1612
|
+
'create_folder': <function create_folder at 0x72b8e172e0>,
|
1613
|
+
'datetime_from_string': <function datetime_from_string at 0x72b8e17380>,
|
1614
|
+
'datetime_now': <function datetime_now at 0x72b8e17420>,
|
1615
|
+
'dict_first': <function dict_first at 0x72b8e3d620>,
|
1616
|
+
'dirname': <function dirname at 0x72b8e3d6c0>,
|
1617
|
+
'is_iterable': <function is_iterable at 0x72b8e3d8a0>,
|
1618
|
+
'to_str': <function to_str at 0x72b8e3d940>,
|
1619
|
+
'filter_empty': <function filter_empty at 0x72b8e17560>,
|
1620
|
+
'get_by_index': <function get_by_index at 0x72b8e3d760>,
|
1621
|
+
'get_class_method': <function get_class_method at 0x72b8e3d9e0>,
|
1622
|
+
'get_filesize': <function get_filesize at 0x72b8e3db20>,
|
1623
|
+
'github_init': <function github_init at 0x72b8e3dbc0>,
|
1624
|
+
'github_pull': <function github_pull at 0x72b8e3dc60>,
|
1625
|
+
'github_push': <function github_push at 0x72b8e3dda0>,
|
1626
|
+
'github_user': <function github_user at 0x72b8e3de40>,
|
1627
|
+
'hex_to_int': <function hex_to_int at 0x72b8e3dee0>,
|
1628
|
+
'iargv': <function iargv at 0x72b8e3df80>,
|
1629
|
+
'idir': <function idir at 0x72b8e3e020>,
|
1630
|
+
'idumps_html': <function idumps_html at 0x72b8e3e700>,
|
1631
|
+
'idumps': <function idumps at 0x72b8e3e160>,
|
1632
|
+
'int_to_int': <function int_to_int at 0x72b8ed65c0>,
|
1633
|
+
'ienumerate': <function ienumerate at 0x72b8e3e660>,
|
1634
|
+
'ienv': <function ienv at 0x72b8ed62a0>,
|
1635
|
+
'iexec': <function iexec at 0x72b8ed6660>,
|
1636
|
+
'ijoin': <function ijoin at 0x72b8ed67a0>,
|
1637
|
+
'iloads_html': <function iloads_html at 0x72b8ed6980>,
|
1638
|
+
'iloads': <function iloads at 0x72bdbae020>,
|
1639
|
+
'int_to_bin': <function int_to_bin at 0x72b8ed6700>,
|
1640
|
+
'int_to_hex': <function int_to_hex at 0x72b8ed68e0>,
|
1641
|
+
'int_to_oct': <function int_to_oct at 0x72b8ed6a20>,
|
1642
|
+
'is_valid_url': <function is_valid_url at 0x72b8c7a7a0>,
|
1643
|
+
'iopen': <function iopen at 0x72b8ed6c00>,
|
1644
|
+
'iprint': <function iprint at 0x72b8cdce00>,
|
1645
|
+
'ireplace': <function ireplace at 0x72b8c7a3e0>,
|
1646
|
+
'iscandir': <function iscandir at 0x72b46ff560>,
|
1647
|
+
'isplit': <function isplit at 0x72b46ff600>,
|
1648
|
+
'ivars': <function ivars at 0x72b46ff6a0>,
|
1649
|
+
'log': <function log at 0x72b46ff740>,
|
1650
|
+
'oct_to_int': <function oct_to_int at 0x72b46ff7e0>,
|
1651
|
+
'password_generator': <function password_generator at 0x72b46ff880>,
|
1652
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x72b46ff9c0>,
|
1653
|
+
'poetry_publish': <function poetry_publish at 0x72b46ffa60>,
|
1654
|
+
'poetry_update_version': <function poetry_update_version at 0x72b46ffba0>,
|
1655
|
+
'print_dir': <function print_dir at 0x72b46ffd80>,
|
1656
|
+
'print_to_last_line': <function print_to_last_line at 0x72b46ffe20>,
|
1657
|
+
'random_bool': <function random_bool at 0x72b46ffec0>,
|
1658
|
+
'restart': <function restart at 0x72b46fff60>,
|
1659
|
+
'set_timeout': <function set_timeout at 0x72b4714040>,
|
1660
|
+
'sets_ordered': <function sets_ordered at 0x72b47140e0>,
|
1661
|
+
'sqlite_delete_table': <function sqlite_delete_table at 0x72b46ffce0>,
|
1662
|
+
'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x72b4714360>,
|
1663
|
+
'sqlite_get_data_table': <function sqlite_get_data_table at 0x72b4714ae0>,
|
1664
|
+
'str_cmp': <function str_cmp at 0x72b4714b80>,
|
1665
|
+
'text_colorize': <function text_colorize at 0x72b4714c20>,
|
1666
|
+
'traceback_filename': <function traceback_filename at 0x72b4714cc0>,
|
1667
|
+
'traceback_framename': <function traceback_framename at 0x72b4714d60>},
|
1660
1668
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1661
1669
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1662
1670
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>,
|
1663
1671
|
'TextCase': <class 'pypipr.TextCase.TextCase'>},
|
1664
1672
|
'variable': {'LINUX': True,
|
1665
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1673
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x72bd1ef690>,
|
1666
1674
|
'WINDOWS': False},
|
1667
1675
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1668
1676
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/colorama/__init__.py'>,
|
@@ -1753,7 +1761,7 @@ print(password_generator())
|
|
1753
1761
|
|
1754
1762
|
Output:
|
1755
1763
|
```py
|
1756
|
-
|
|
1764
|
+
|Zqy|i%@
|
1757
1765
|
```
|
1758
1766
|
|
1759
1767
|
## pip_freeze_without_version
|
@@ -1811,7 +1819,7 @@ Output:
|
|
1811
1819
|
__enter__ : https:/www.google.com
|
1812
1820
|
__fspath__ : https:/www.google.com
|
1813
1821
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1814
|
-
__hash__ : -
|
1822
|
+
__hash__ : -7832658548677181627
|
1815
1823
|
__init__ : None
|
1816
1824
|
__init_subclass__ : None
|
1817
1825
|
__module__ : pathlib
|
@@ -1824,8 +1832,8 @@ Output:
|
|
1824
1832
|
_cached_cparts : ['https:', 'www.google.com']
|
1825
1833
|
_cparts : ['https:', 'www.google.com']
|
1826
1834
|
_drv :
|
1827
|
-
_flavour : <pathlib._PosixFlavour object at
|
1828
|
-
_hash : -
|
1835
|
+
_flavour : <pathlib._PosixFlavour object at 0x72bcf99950>
|
1836
|
+
_hash : -7832658548677181627
|
1829
1837
|
_parts : ['https:', 'www.google.com']
|
1830
1838
|
_root :
|
1831
1839
|
_str : https:/www.google.com
|
@@ -1847,7 +1855,7 @@ Output:
|
|
1847
1855
|
is_reserved : False
|
1848
1856
|
is_socket : False
|
1849
1857
|
is_symlink : False
|
1850
|
-
iterdir : <generator object Path.iterdir at
|
1858
|
+
iterdir : <generator object Path.iterdir at 0x72ac8360a0>
|
1851
1859
|
joinpath : https:/www.google.com
|
1852
1860
|
name : www.google.com
|
1853
1861
|
parent : https:
|
@@ -1898,7 +1906,7 @@ print(random_bool())
|
|
1898
1906
|
|
1899
1907
|
Output:
|
1900
1908
|
```py
|
1901
|
-
|
1909
|
+
False
|
1902
1910
|
```
|
1903
1911
|
|
1904
1912
|
## restart
|
@@ -1932,7 +1940,7 @@ x.cancel()
|
|
1932
1940
|
|
1933
1941
|
Output:
|
1934
1942
|
```py
|
1935
|
-
<Timer(Thread-2, started
|
1943
|
+
<Timer(Thread-2, started 492493061360)>
|
1936
1944
|
menghentikan timeout 7
|
1937
1945
|
```
|
1938
1946
|
|
@@ -1950,7 +1958,7 @@ print(list(sets_ordered(array)))
|
|
1950
1958
|
|
1951
1959
|
Output:
|
1952
1960
|
```py
|
1953
|
-
<generator object sets_ordered at
|
1961
|
+
<generator object sets_ordered at 0x72ac850c70>
|
1954
1962
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1955
1963
|
```
|
1956
1964
|
|
@@ -2064,15 +2072,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2064
2072
|
|
2065
2073
|
Output:
|
2066
2074
|
```py
|
2067
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2075
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x72ac8501e0>,
|
2068
2076
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2069
2077
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2070
2078
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2071
|
-
{'a':
|
2072
|
-
{'a':
|
2073
|
-
{'a':
|
2074
|
-
{'a':
|
2075
|
-
{'a':
|
2079
|
+
{'a': 106, 'b': 100, 'c': 438, 'd': 102}
|
2080
|
+
{'a': 144, 'b': 120, 'c': 100, 'd': 110}
|
2081
|
+
{'a': 139, 'b': 119, 'c': 100, 'd': 120}
|
2082
|
+
{'a': 123, 'b': 120, 'c': 100, 'd': 137}
|
2083
|
+
{'a': 126, 'b': 122, 'c': 100, 'd': 126}
|
2076
2084
|
```
|
2077
2085
|
|
2078
2086
|
## PintUregQuantity
|
@@ -30,13 +30,14 @@ class TextCase:
|
|
30
30
|
|
31
31
|
return r
|
32
32
|
|
33
|
-
def
|
33
|
+
def to_title_case(self):
|
34
34
|
r = ""
|
35
35
|
z = True
|
36
36
|
for i in self.text:
|
37
37
|
if i in self.simbol:
|
38
|
+
if not z or self.double_symbol:
|
39
|
+
r += ""
|
38
40
|
z = True
|
39
|
-
r += ""
|
40
41
|
else:
|
41
42
|
if not z:
|
42
43
|
r += ""
|
@@ -59,16 +60,17 @@ class TextCase:
|
|
59
60
|
z = False
|
60
61
|
return r
|
61
62
|
|
62
|
-
def
|
63
|
+
def to_camel_case(self):
|
63
64
|
r = ""
|
64
65
|
z = True
|
65
66
|
for i in self.text:
|
66
67
|
if i in self.simbol:
|
68
|
+
if not z or self.double_symbol:
|
69
|
+
r += ""
|
67
70
|
z = True
|
68
|
-
r += "/"
|
69
71
|
else:
|
70
72
|
if not z:
|
71
|
-
r += "
|
73
|
+
r += ""
|
72
74
|
r += i.title()
|
73
75
|
z = False
|
74
76
|
return r
|
@@ -78,8 +80,9 @@ class TextCase:
|
|
78
80
|
z = True
|
79
81
|
for i in self.text:
|
80
82
|
if i in self.simbol:
|
83
|
+
if not z or self.double_symbol:
|
84
|
+
r += "/"
|
81
85
|
z = True
|
82
|
-
r += "/"
|
83
86
|
else:
|
84
87
|
if not z:
|
85
88
|
r += "/"
|
@@ -92,11 +95,27 @@ class TextCase:
|
|
92
95
|
z = True
|
93
96
|
for i in self.text:
|
94
97
|
if i in self.simbol:
|
98
|
+
if not z or self.double_symbol:
|
99
|
+
r += "."
|
95
100
|
z = True
|
96
|
-
r += "."
|
97
101
|
else:
|
98
102
|
if not z:
|
99
103
|
r += "."
|
100
104
|
r += i
|
101
105
|
z = False
|
102
106
|
return r
|
107
|
+
|
108
|
+
def to_space_case(self):
|
109
|
+
r = ""
|
110
|
+
z = True
|
111
|
+
for i in self.text:
|
112
|
+
if i in self.simbol:
|
113
|
+
if not z or self.double_symbol:
|
114
|
+
r += " "
|
115
|
+
z = True
|
116
|
+
else:
|
117
|
+
if not z:
|
118
|
+
r += " "
|
119
|
+
r += i
|
120
|
+
z = False
|
121
|
+
return r
|