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

TGINSIGHT SIMILAR POSTS

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

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

Многие из тех кто активно работал с Python2 несколько удивлены, почему в Python3 удобная функция reload() переехала из builtin в imp а потом и в importlib? Ну было же удобно! А теперь лишний импорт😖 Дело в том, что начиная с Python3.3 функция reload() переписана на Python вместо Cи. Что это нам даёт? 🔸 Такой код проще поддерживать и развивать 🔸 Python код легче читать, изучать и понимать. Сравните это ➡️ и это ➡️. 🔸 Как результат пункта 2, проще писать свои расширения импорта. Например, пользовательский импортёр с какой-либо хитрой логикой по аналогии с импортом из zip архивов. А есть ли у этого решения недостатки? Да, они всегда есть. 🔹 Так как это не builtin функция, её следует импортнуть перед использованием 🔹 Скорость замедлилась примерно на 5%. Очевидно, что это совершенно не критично. К тому же от версии к версии логика импорта будет оптимизироваться и ускоряться. В самом начале файла importlib/__init__.py мы видим такой импорт: import _imp # Just the builtin component, NOT the full Python module То есть часть функционала по прежнему написана на Си, но достаточно низкоуровневая. #basic

Hashtags

Резултати

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

Пребарај: #part3

当前筛选 #part3清除筛选
Toward Discovering English

@TowardDiscoveringEnglish · Post #351 · 25.05.2021 г., 09:24

​⚜️ CORONA VOCAB 2019-20 ⚜️ 🧪 English grammar & Vocab 🌡 #Part3 🦠Containment area ✔️ a geographical zone with limited access in or out in an effort to contain an outbreak. 🦠Coronavirus ✔️ a family of viruses that include SARS (severe acute respiratory syndrome) and MERS (Middle East respiratory syndrome) as well as other respiratory illnesses. A coronaviruses, also known as a CoV, is typically spread between animals and humans—an event known as zoonotic transfer—and they are named for the term “corona”—Latin for crown—which refers to the shape of the virus when observed microscopically. 🦠COVID-19 ✔️COVID-19 stands for novel coronavirus disease 2019, which refers to the year of its initial detection. COVID-19 is the illness related to the current pandemic; the illness is caused by the virus SARS-CoV-2 (severe acute respiratory syndrome coronavirus 2). 🦠Epidemic ✔️a widespread occurrence of an infectious disease in a community or geographic area. 🦋@TowardDiscoveringEnglish🦋

Hashtags

Journey to Fluency

@fluencyinenglish · Post #7900 · 03.10.2025 г., 13:15

در IELTS Speaking، خصوصاً Part 3، نمره شما بر اساس مهارت زبانی (Fluency & Coherence, Lexical Resource, Grammatical Range & Accuracy, Pronunciation) داده می‌شود، نه میزان اطلاعات عمومی یا صحت factual. ✅ راهکارهای عملی 1. از تردید کردن نترسید و صادق باشید جملاتی مثل: “I’m not an expert in this field, but I think…” “I don’t know much about this, although it seems that…” به شما اجازه می‌دهد بدون توقف ادامه دهید. 2. استفاده از speculation یا حدس منطقی وقتی نمی‌دانید، می‌توانید با حدس منطقی نظر بدهید: “It might be because…” “Perhaps this will lead to…” 3. مثال شخصی یا تجربه روزمره بیاورید “From my own experience…” یا “In my city/school…” حتی اگر اطلاعات عمومی کم باشد، مثال شخصی به طولانی‌تر شدن پاسخ و انسجام کمک می‌کند. 4. تمرکز روی انسجام و روانی صحبت از ضمیرها و ربط‌دهنده‌ها (this, that, these, however, on the other hand) استفاده کنید تا جمله‌ها به هم وصل شوند. 5. استفاده از واژگان پیشرفته و ساختارهای گرامری متنوع به جای تکیه روی اطلاعات، از واژگان دقیق و اصطلاحات متداول آیلتس استفاده کنید: “plays a pivotal role” “poses a significant challenge” “from my perspective” 🔹 نمونه پاسخ با speculation Q: Do you think governments should invest more in renewable energy? > “I’m not fully aware of all the policies, but I think governments should invest more in renewable energy. It might help reduce pollution and create new jobs. For example, building more solar farms could provide electricity for many households. Although I don’t know all the details, it seems like a positive step for the future.” #IELTS#IELTSSpeaking#SpeakingTips#Hedging#Speculation#Fluency#Coherence#LexicalResource#Band8#آیلتس#Part3#EnglishSpeaking#LanguageTips#AdvancedEnglish#Pronunciation