TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #303 · 27 дек.

Наверняка вы замечали, что в Python есть удобная функция для получения переменной окружения os.getenv(NAME) И её "сестра" для создания или изменения переменных окружения os.putenv(NAME, VALUE) Но почему-то putenv() не работает как должно. Энвайромент не обновляется! os.putenv('MYVAR', '1') print(os.getenv('MYVAR')) ... и ничего 😴 Почему так? На самом деле энвайромент обновляется, но это значение не добавляется в словарь os.environ. Откройте исходник функции os.getenv(). Это просто шорткат для os.environ.get() В то время как putenv() это built-in С-функция. Словарь os.environ (или точней класс из MutableMapping) создаётся из энвайромента в момент инициализации. Функция putenv() самостоятельно его не изменяет. В тоже время, когда вы создаёте или изменяете ключ в os.environ, автоматически вызывается putenv() в методе __setitem__(). То есть, технически putenv() всё делает верно, но в os.environ это не отражается. Можно проверить так: >>> os.putenv('MYVAR', '123') >>> os.system('python -c "import os;print(os.getenv(\'MYVAR\'))"') 123 Я объявил переменную в текущем процессе и вызвал дочерний процесс, который её унаследовал и получил в составе os.environ. Аналогично при удалении переменной вызывается еще одна built-in функция unsetenv(), удаляющая переменную из системы. Итого ▫️ Удобней всего явно обновлять переменные через os.environ ▫️ Есть способ неявно создать/удалить переменную через putenv/unsetenv, что не повлияет на os.environ но изменит энвайромент и передаст изменения сабпроцессам. Но так лучше не делать! ▫️os.environ это просто обертка для built-in функций putenv() и unsetenv(). #basic

Hashtags

Резултати

Пронајдени 14 слични објави

Пребарај: #bifi

当前筛选 #bifi清除筛选
Coin Sonar

@CoinSonar · Post #243926 · 18.04.2026 г., 02:20

#BIFI | Volume spike (USDT PAIR) 96 times the average volume 128.57K USDT traded in 15 min └Buying vol: 67.81K USDT 🟢 Boost score: 3/10 24h Vol: 128.34K USDT (Binance) Price: 52.9 (-1.7% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243799 · 17.04.2026 г., 17:57

#BIFI | Volume spike (USDT PAIR) 242 times the average volume 107.97K USDT traded in 5 min └Buying vol: 64.62K USDT 🟢 Boost score: 4/10 24h Vol: 128.34K USDT (Binance) Price: 65.4 (-1.7% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28543 · 14.03.2025 г., 14:03

#BIFI/USDT analysis : #BIFI is currently experiencing a bearish trend, trading below the 200 Exponential Moving Average (EMA). The price is approaching the resistance zone, coinciding with the 200 EMA, and is anticipated to test this level. It is expected to reverse from this point, resuming the bearish momentum and targeting the swing low level. TF : 2H Entry : $192 Target : $161 SL : $208

Hashtags

Pro Analysis

@proanalysistrader · Post #28494 · 23.02.2025 г., 05:30

#BIFI/USDT analysis : #BIFI is in a downtrend, creating new lower lows and lower highs below the 200 EMA. Currently testing a resistance zone, a rejection is anticipated, which will lead to a decline towards the swing low level. TF : 4h Entry : $254 Target : $216.7 SL : $274

Hashtags

Pro Analysis

@proanalysistrader · Post #27915 · 08.09.2024 г., 14:53

#BIFI/USDT analysis : #BIFI has broken and retested the resistance zone, which was formerly a support level. The next expected move is to test the resistance zone and subsequently resume its bearish momentum to revisit previous lows. TF : 1h Entry : $281.6 Target : $262.9 SL : $293.3

Hashtags

Pro Analysis

@proanalysistrader · Post #27880 · 27.08.2024 г., 16:49

#BIFI/USDT analysis : #BIFI has breached previous support zone and is currently trading below it. The price is anticipated to persist in its bearish structure and test prior lows. TF : 2h Entry : $307.4 Target : $282.6 SL : $324

Hashtags

Coinlegs Cryptocurrency Signals

@coinlegs · Post #9494 · 06.12.2023 г., 08:25

Our algorithm detected ascending triangle at #BIFI (4h) chart 👀 Normally, an upside breakout is expected in this triangle type, but indicators give us mixed signals 🤔 Therefore, it would be logical to wait for a directional breakout and then open a position. Targets are on the chart.

Hashtags

Maximus Trade 🌕

@maximustrade1 · Post #7754 · 11.11.2023 г., 15:40

#ZIL LONG ▪Вход ZIL : 0.0225$ ▪Тейк: буду обновлять. #BIFI LONG ▪Вход BIFI : 380$ ▪Тейк: буду обновлять. пс: учитываем, что это альткоины... торгуем соблюдая риски. LINK - Maximus Trade|TWITTER

Hashtags

12
ПретходнаСтраница 1 од 2Следна