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

TGINSIGHT SIMILAR POSTS

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

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

Вопросы про переменную PYTHONPATH 🔸 Как она определяет пути поиска модулей при импорте? Пути поиска модулей находятся в списке sys.path. Как формируется этот список? Исходя из документации мы может выделить 3 основных этапа. ▫️Путь к запускаемому скрипту или рабочая директория ▫️ Переменная PYTHONPATH ▫️ Стандартные пути к библиотекам Это значит, что все три этапа выполняются в момент инициализации интерпретатора. Результат заполняет список sys.path. В том числе и пути, указанные в переменной PYTHONPATH. 🔸 Можно ли добавлять новые пути в эту переменную в Python-коде? Можно, но учитывая, что используется она только во время старта интерпретатора, никакого эффекта это иметь не будет. Для изменения путей поиска модулей в коде нужно изменять непосредственно список sys.path. 🔸 Можно ли указать много путей для поиска? Да, с помощью переменной PYTHONPATH можно указать несколько директорий, разделённых символом разделения пути. Для Linux это символ ":", для Windows это ";". Например: export PYTHONPATH=/mnt/libs:~/mylibs #basic#tricks

Резултати

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

Пребарај: #c4ca

当前筛选 #c4ca清除筛选
EU in Kazakhstan 🇪🇺🇰🇿

@euinkazakhstan · Post #1766 · 26.03.2026 г., 06:26

Operations Steering Committee of the EU Global Gateway’s Connectivity for Central Asia #C4CA project brought together consortium partners from Lithuania (CPVA), Latvia (CFCA), Estonia (EGA), Finland (HAUS), and France (Expertise France) in Bishkek, alongside the EU Delegations of Kazakhstan and Kyrgyzstan. As part of the Soft Pillar of the Team Europe Initiative on Digital Connectivity, the meeting reviewed first-year results and outlined priorities for the next phase, focusing on digital connectivity, digital economy development, and reducing connectivity gaps in Central Asia. The project delivered key outputs, including country assessments, digital ecosystem mapping, regional events during ICT Week in Uzbekistan and Digital Bridge, and study visits to Europe, Lithuania, and Finland on cybersecurity and the aerospace sector, in coordination with Central Asian stakeholders.

Hashtags

EU in Kazakhstan 🇪🇺🇰🇿

@euinkazakhstan · Post #1632 · 21.11.2025 г., 08:55

SpaceLab at Space Tech Forum, Germany 🚀 From 18–20 November 2025, SpaceLab represented Central Asia at the Space Tech Forum in Bremen, Germany, with support from the EU’s Global Gateway Connectivity for Central Asia – Soft Pillar program. At one of Europe’s largest space tech and aerospace events, SpaceLab established new contacts in the European space market, raised awareness of Central Asian innovative services among European industry players, and helped spark interest in the region on the international stage. The participation also contributed to strengthening cooperation between the #EuropeanUnion and #CentralAsia in the space sector and helped position SpaceLab and the broader Central Asian space community as a credible emerging player in the 🌍global space ecosystem. #SpaceTechForum#GlobalGateway#C4CA#EU4CA