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

TGINSIGHT SIMILAR POSTS

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

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

Бывает начинающие в процессе обучения создают файлы с именем модуля который они изучают. В результате на тестовых запусках ничего не работает😱 Всё потому, что появилась коллизия имён. Например, изучаете вы модуль datetime, и создаёте с таким именем файл (ну логично же😄) прямо в рабочей директории. Потом, при попытке импортировать datetime модуль, из-за приоритета импорта будет импортирован файл из рабочий директории а не оригинальная библиотека. Ведь имя файла это суть имя модуля! А знаете ли вы, что не все стандартные модули можно так перезаписать? Коллизии имён не подвержены builtin модули. Они всегда стоят на первом месте в приоритете импорта, поэтому их нельзя заменить. Полный список таких модулей можно посмотреть в списке sys.builtin_module_names. То есть, вы сломаете весь Python если назовёте свой модуль os или site, но если назовёте time или gc то ничего страшного не случится))) Тем не менее, никогда не называйте модули уже занятыми именами!!!⚠️ Я всегда рекомендую всем своим файлам делать именной префикс из 2-3 символов. Например я называю свои проекты так: pw_project_name pw_ui_tools.py pw_something/main.py Либо под ситуацию tst_scriptname.py (не "test" чтобы не подхватывал pytest) dbg_script.py maya_ui.py hou_menu_tools.py И искать проще, и коллизий нет. #tricks#basic

Резултати

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

Пребарај: #pumpalert

当前筛选 #pumpalert清除筛选

🔥 $INCOG is PUMPING hard! Chart showing strong momentum multiple x gains 🚀 ✅ Contract: DKAN3tyxnvgUrgGHAHsorBGgVGDVt9uEiRUybHrs77P3 : x.com/i/communities/1987814141956874711 incognitosol.com https://alph.ai/es/sol/token/INCOG-DKAN3tyxnvgUrgGHAHsorBGgVGDVt9uEiRUybHrs77P3?ref=JANETH Mcap around ~$450K | Early-stage gem on #Solana 📈 Don’t miss the move — DYOR #INCOG#Solana#Crypto#PumpAlert

Binance Big Pump Signals Future trade

@binancebigpumpsignalsfuture · Post #2676 · 05.05.2025 г., 06:03

It might look a little confusing at first, but pay attention. On this chart we have DXY, GOLD and BTC. DXY, which is a representative chart of the USD, has an inverse relationship with GOLD and BTC. This is because when the dollar is strong, big money moves into high interest bonds that are safe. When the dollar weakens, big money moves into safe havens and riskier assets. What we can firstly see on the chart is that every time DXY drops, GOLD almost instantly moves higher. Secondly, we can see that BTC also moves higher, but it lags behind GOLD. But that’s not the most interesting thing… The most interesting thing here is that every single time DXY has entered a down trend, BTC has began its move between 133 days and 140 days later. This time, that gives us an end of May date as to when BTC will begin its next true move higher. It’s just facts, right there for you to see. #CryptoSignal#Binance#PumpAlert#FuturesTrade

Binance Big Pump Signals Future trade

@binancebigpumpsignalsfuture · Post #2720 · 07.05.2025 г., 12:32

30 day PNL screenshot14 New tarde profit ✈️✈️If you're want this Type profit in 7 days .. ✅ Don’t miss the next big move — join our VIP Premium Channel now! 📩 Contact: @Future3366 🚀 Real-time signals | Pump alerts | Future trades #CryptoSignals#VIPAccess#BinanceFutures#PumpAlert#CryptoProfits