@WorldNews · Post #74496 · 01.05.2026 г., 21:49
The National Science Board fired by Trump was finalizing a report on China’s growing scientific edge over the United States [Read FullArticle] @WorldNews#USChinaTech#SciencePolicy#GlobalInnovation
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #198 · 6 јан.
Первая директория в sys.path 🔸 Когда вы запускаете Python-интерпретатор в интерактивном режиме, в системные пути (sys.path) в самое начало добавляется текущая рабочая директория >>> for path in sys.path: ... print(f'"{path}"') "" "/usr/lib/python37.zip" "/usr/lib/python3.7" ... Первая строка пустая, что и означает текущую рабочую директорию. 🔸 Если вы запускаете интерпретатор передавая скрипт как аргумент, то история получается иная. На первом месте будет директория в которой располагается скрипт. А текущая рабочая директория игнорируется. Пишем скрипт с таким содержанием: # script.py import sys for path in sys.path: print(f'"{path}"') Запускаем python3 /home/user/dev/script.py Получаем "/home/user/dev" "/usr/lib/python37.zip" "/usr/lib/python3.7" ... 🔸 Если вы запускаете скрипт по имени модуля то на первом месте будет домашняя директория текущего юзера python3 -m script "/home/user" "/usr/lib/python37.zip" "/usr/lib/python3.7" ... Скрипт должен быть доступен для импорта На что это влияет? На видимость модулей для импорта. Если вы ждёте, что, запустив скрипт по пути, сможете импортировать модули из текущей рабочей директории, то вы ошибаетесь. Придётся добавлять путь os.getcwd() в sys.path самостоятельно или заранее объявлять переменную PYTHONPATH. #basic
Hashtags
Пребарај: #sciencepolicy
@WorldNews · Post #74496 · 01.05.2026 г., 21:49
The National Science Board fired by Trump was finalizing a report on China’s growing scientific edge over the United States [Read FullArticle] @WorldNews#USChinaTech#SciencePolicy#GlobalInnovation
@emagzinewspars · Post #9684 · 07.12.2025 г., 01:05
#The_Science🇺🇸📕[PDF]⬇️ 4 #December2025 #Weekly_Magazines For learning, for free(dom). @backupofmagazines This issue explores a century of quantum mechanics, where breakthroughs in quantum simulators, chemistry modeling, and information hardware illustrate how #QuantumTech and #AI innovation are reshaping modern science. As researchers revisit the Schrödinger equation’s legacy, new discoveries in DNA repair, materials design, and synthetic biology highlight cross-disciplinary shifts fueled by #FutureScience trends. With debates on #SciencePolicy and global collaboration, the issue captures a moment when #ResearchInnovation accelerates faster than ever, redefining both technology and our understanding of reality.
@emagzinewspars · Post #9358 · 16.10.2025 г., 14:54
#Beijing_Review🇨🇳📕[PDF]⬇️ 16 #October2025 #Weekly_Magazines For learning, for free(dom). @backupofmagazines China’s lifestyle economy surges with “The Fitness Flow,” Beijing Review’s latest cover story. From Arctic logistics breakthroughs to Golden Week spending booms, this issue explores #WTO shifts, #SpaceDebris, #FoodHeritage, and #UrbanGreening. Learn how delivery workers become emergency responders and why Jiangsu’s micro-industries matter. With a lens on #SciencePolicy and #CivilizationalDialogue, the magazine maps a dynamic vision of modern China in motion. #ChinaNews#Geopolitics#Sustainability#PublicHealth#SmartCities#GlobalTrade