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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #208 · 29 јан.

Ранее мы уже говорили о том, как выполнить какой-либо код перед открытием интерактивной консоли. Расскажу еще один способ! На самом деле, даже запустив интерпретатор в обычном режиме с выполнением скрипта из файла вы можете в любом месте активировать интерактивный режим. Или даже несколько по очереди. За это отвечает модуль code. Как это может пригодиться? 🔸 Вам не хватает pdb и хочется больше "власти" 🔸 Нужно запросить у юзера данные в достаточно сложном виде. В этом случае можно попросить его создать что ему надо и сохранить в определённую переменную, с которой потом и работать. 🔸 Нужна изолированная среда для выполнения каких-либо действий. 🔸 Просто забавы ради😁 Запускается консоль очень просто import code ic = code.InteractiveConsole() try: ic.interact() except SystemExit: pass Выход обратно на предыдущий уровень происходит как обычно, вызов функции exit() или клавиши Ctrl+D(Ctrl+Z для Windows). Я набросал простой пример с некоторым функционалом 🔹 Меняются символы приглашения 🔹 В неймспейсы добавляются дополнительные объекты 🔹 Считается время, проведённое в интерактивном режиме 🔹 Скрипт просит юзера заполнить переменную и по выходу распечатывает её значение Код здесь ↗️ Для запуска сохраните код в файл и запускайте как обычный скрипт. python my_console.py Для быстрого запуска можно сделать отдельный алиас alias py="python3 /home/username/my_console.py" #tricks#source

Резултати

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

Пребарај: #scr

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

@CoinSonar · Post #244254 · 18.04.2026 г., 15:38

#SCR | Volume spike (USDT PAIR) 33 times the average volume 128.36K USDT traded in 15 min └Buying vol: 83.55K USDT 🟢 Boost score: 5/10 24h Vol: 367.84K USDT (Binance) Price: 0.052 (-3.2% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243721 · 17.04.2026 г., 14:55

#SCR | Volume spike (USDT PAIR) 372 times the average volume 95.08K USDT traded in 1 min └Buying vol: 66.86K USDT 🟢 Boost score: 7/10 24h Vol: 367.84K USDT (Binance) Price: 0.049 (-3.2% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243619 · 17.04.2026 г., 11:35

#SCR | Volume spike (USDT PAIR) 84 times the average volume 108.48K USDT traded in 5 min └Buying vol: 80.84K USDT 🟢 Boost score: 7/10 24h Vol: 367.84K USDT (Binance) Price: 0.051 (-3.2% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243507 · 17.04.2026 г., 07:39

#SCR | Volume spike (USDT PAIR) 371 times the average volume 95.01K USDT traded in 1 min └Buying vol: 73.75K USDT 🟢 Boost score: 7/10 24h Vol: 367.84K USDT (Binance) Price: 0.048 (-3.2% in 24h)

Hashtags

American Crypto©

@americancryptotrading · Post #27526 · 06.02.2026 г., 10:16

🇺🇸#SCR/USDT has found support at the lowerborder of the descendingchannel formation on the 3D chart👀 Accumulate here🐃 American Crypto©

Hashtags

Сигналы РЦБ Крипто

@usa100cks · Post #25436 · 10.04.2026 г., 08:25

#SCR Scroll торгуется с капитализацией около $8,16 млн Scroll (SCR), первый проект, который торговался на Binance Premarket, сейчас оценивается всего примерно в $8,16 млн. За последний год токен упал примерно на 83%. Контраст особенно заметный на фоне прошлого раунда. В 2023 году Scroll привлекли $50 млн при оценке $1,8 млрд. При этом сам проект долго считался одним из самых сильных имен в Ethereum-экосистеме. Vitalik и Ethereum Foundation не раз позитивно отзывались о Scroll, а сам проект часто называли одним из ориентиров для zkEVM в Ethereum.

Hashtags

Crypto M - Crypto News

@CryptoM · Post #65345 · 13.04.2026 г., 01:44

🚀 Ethereum Layer 2 Network Scroll Faces Overcharging Issue Ethereum Layer 2 network Scroll has reportedly overcharged users by more than $50,000 in transaction fees over approximately four days. According to ChainCatcher, this occurred after the Scroll team manually increased two rate multipliers in their gas price oracle six times within six days, each time raising them by 2 to 10 times. This adjustment cumulatively increased the L1 data cost parameter to 1,280 times its original benchmark. Approximately 139,000 transactions were affected, with the total cost originally estimated at around $280, but users were charged over $50,000. The majority of these transactions were automated by bots. L2BEAT clarified that the overcharging was not due to a sequencer issue but resulted from multiplier adjustments executed through a multi-signature wallet by the team. This incident has raised questions about whether Scroll previously subsidized users with below-cost rates to maintain activity. Data from DeFiLlama indicates that Scroll's total value locked (TVL) currently stands at $24 million, a significant decline of 96% from its peak of $585 million in October 2024. As of the time of reporting, Scroll has not publicly responded to the issue. #Ethereum#Layer2#Scroll#Overcharging#GasFees#Blockchain#DeFi#TVL#CryptoNews#TransactionFees#ETH#SCR

Crypto M - Crypto News

@CryptoM · Post #65082 · 10.04.2026 г., 20:38

🚀 Scroll Users Face Excessive Transaction Fees Due to Multiplier Increases Scroll users incurred over $50,000 in additional transaction fees following six manual multiplier increases that elevated Layer 1 data charges to 1,280 times the original baseline. According to NS3.AI, L2BEAT reported that approximately 139,000 transactions were impacted over a span of roughly four days, with the baseline cost estimated at around $280. On April 9, the team reduced both multipliers by 160 times. Etherfi Cash bots contributed approximately $35,000 of the excess fees during etherfi's migration to Optimism. #Scroll#TransactionFees#MultiplierIncrease#Layer1#L2BEAT#NS3AI#Etherfi#Optimism#Crypto#Blockchain#SCR

Crypto Headlines

@market_headlines · Post #28452 · 15.04.2026 г., 21:30

#ончейн#рейтинг 📊 Santiment:ТОП-10 Layer 2 блокчейнов по активности разработчиков за последние 30 дней: 1. Starknet #STRK 2. Aztec #AZTEC 3. Arbitrum #ARB 4. Optimism #OP 5. zkSync #ZK 6. Cartesi #CTSI 7. Fuel Network #FUEL 8. SKALE #SKL 9. Immutable X #IMX 10. Scroll #SCR Ранее: прошлый топ Crypto Headlines