@cryptocurreniesbtc · Post #22119 · 11.11.2023 г., 12:14
#Altcoin season is arround the corner.
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #205 · 22 јан.
Как работает функция reload()? Эта функция нужна для того, чтобы перезагрузить изменившийся код из py-файла без рестарта интерпретатора. Дело в том, что любой импортированный модуль при повторном импорте не будет перечитывать файл. Функция импорта вернёт уже загруженный в память объект модуля. Чтобы обновить код, нужно либо перезапустить всю программу, либо использовать функцию reload() from importlib import reload reload(my_module) 🔸 Функция reload() принимает в качестве аргумента только объект модуля или пакета. Она не может перезагрузить класс или функцию. Только весь файл целиком! 🔸 Перезагрузка пакета перезагрузит только его файл __init__.py, если он есть. Но не вложенные модули. 🔸Она не может перезагрузить ранее не импортированный модуль. 🔸При вызове функция reload() перечитывает и перекомпилирует код в файле, создавая новые объекты. После создания новых объектов перезаписывается ранее созданный неймспейс этого модуля. Это значит, что если где-то этот модуль импортирован через import и обращение к атрибутам происходит через неймспейс (имя) модуля, то такие атрибуты обновятся. Если какие-либо объекты из этого модуля импортированы через from то они будут ссылаться на старые объекты. Напишем простой модуль # mymodule.py x = 1 Теперь импортируем модуль и отдельно переменную х из модуля >>> import mymodule >>> from mymodule import x >>> print(mymodule.x) 1 >>> print(x) 1 Не перезапуская интерпретатор вносим изменения в модуль # mymodule.py x = 2 Делаем перезагрузку модуля и проверяем х ещё раз >>> reload(mymodule) >>> print(mymodule.x) 2 >>> print(x) 1 То же самое будет если присвоить любой объект переменной (даже словарь или список) Повторный импорт обновляет значение >>> from mymodule import x >>> print(x) 2 🔸Созданные инстансы классов не обновятся после перезагрузки модуля. Их придётся пересоздать. #tricks#basic
Пребарај: #altcoin
@cryptocurreniesbtc · Post #22119 · 11.11.2023 г., 12:14
#Altcoin season is arround the corner.
Hashtags
@CryptoAustralia · Post #14735 · 14.12.2023 г., 08:57
I think #Altcoin season is next. By Crypto Australia
Hashtags
@elfcryptovip · Post #11747 · 21.07.2025 г., 07:45
The #Altcoin Season Index is climbing rapidly, but only a handful of coins are seeing strong gains!
Hashtags
@michaelvandepoppeanalyst · Post #4797 · 09.09.2024 г., 18:29
The boring state is the period of accumulation before a new push happens. That’s the current state of the #Altcoin markets.
Hashtags
@michaelvandepoppeanalyst · Post #4780 · 07.09.2024 г., 08:12
The #Altcoin market capitalization valued in Bitcoin is at the highest level since the end of July. Good perspectives, and it's a pretty substantial breakout. Better times are ahead.
Hashtags
@michaelvandepoppeanalyst · Post #4768 · 05.09.2024 г., 16:43
The #Altcoin markets are reversing. I'm positioned into $OMNI (and under-water), but it's showing a: - Daily bullish divergence. - Reclaiming the level of early August. Expect to see a run of 2-3x in the coming 2-3 months against $BTC value --> the most important metric.
Hashtags
@michaelvandepoppeanalyst · Post #4694 · 31.08.2024 г., 15:48
The #Altcoin market capitalization, valued in Bitcoin, is still consolidating. We're in the middle of that bottoming process, but it's taking a long time. Expecting to see a significant run towards new highs once this starts to turn around.
Hashtags
@michaelvandepoppeanalyst · Post #4605 · 24.08.2024 г., 08:01
Valid falling wedge and bullish divergence on the #Altcoin market capitalization divided by Bitcoin. I think we’re in for a great final part of this year. https://x.com/CryptoMichNL/status/1827254521225162944?t=CykS0U09CC0XSGUvztSAHw&s=19
Hashtags
@michaelvandepoppeanalyst · Post #4510 · 17.08.2024 г., 13:41
The Others market capitalization, which is technically the #Altcoin market capitalization, is currently acting at the low of 'Disbelief'.
Hashtags
@michaelvandepoppeanalyst · Post #4451 · 11.08.2024 г., 15:38
The #Altcoin market capitalization is down 60% from the ATH, while Bitcoin is only down 15%. Lots of upside for altcoins still to come.
Hashtags
@michaelvandepoppeanalyst · Post #4379 · 03.08.2024 г., 13:00
The #Altcoin market capitalization is not showing anything massive, yet. Smaller altcoins have been collapsing. The bigger ones still stand, through which this can be seen as a relatively normal consolidation for the entire index. Reversals should come in the coming weeks.
Hashtags
@michaelvandepoppeanalyst · Post #4244 · 20.07.2024 г., 14:05
The total #Altcoin market capitalization has bottomed during the release of the Mt. Gox news. A strong upward bounce, but more importantly, a strong reversal since it tested a higher timeframe support. https://x.com/CryptoMichNL/status/1814661548193034620?t=tmCmHJhGfr0c38lQIfYUfg&s=19
Hashtags