@StickersChannel · Post #767 · 07.02.2016 г., 14:08
❎ Niki Ice Age ❎ https://telegram.me/addstickers/Niiikage #Niki#IceAge#Movies ↘️more Stickers at S4T.tv
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #201 · 13 јан.
Мы уже знаем, что на текущую сессию интерпретатора изменение PYTHONPATH никак не повлияет. Но если вы запустите дочерний процесс, то он унаследует окружение текущего процесса, а значит и изменения в любых переменных будут на него влиять. Вот небольшой пример: Объявляем переменную user@host:~$ export PYTHONPATH=/path1 Запускаем интерпретатор user@host:~$ python3 Проверим что в sys.path >>> import sys >>> print(sys.path) ['', '/path1', '/usr/lib/...', ...] Добавляем что-то в переменную >>> import os >>> os.emviron['PYTHONPATH'] = '/path1:/path2' >>> print(sys.path) ['', '/path1', '/usr/lib/...', ...] Изменений нет. Но давайте запустим дочерний процесс и посмотрим там >>> os.system('python3') # теперь мы находимся в другом процессе >>> import sys >>> print(sys.path) ['', '/path1', '/path2', '/usr/lib/...', ...] Тоже самое будет и с subprocess, так как по умолчанию текущее окружение тоже наследуется. >>> import subprocess >>> subprocess.call(['python3', '-c', 'import sys;print(sys.path)']) ['', '/path1', '/path2', '/usr/lib/...', ...] ______________________ Лучшей практикой является передача энвайронмента явно через аргумент env! import subprocess subprocess.call(cmd, env={'PYTHONPATH': '...'}) Это поможет точно понимать какое окружение будет у запускаемого процесса и при этом не изменять окружение текущего процесса. #basic
Hashtags
Пребарај: #iceage
@StickersChannel · Post #767 · 07.02.2016 г., 14:08
❎ Niki Ice Age ❎ https://telegram.me/addstickers/Niiikage #Niki#IceAge#Movies ↘️more Stickers at S4T.tv
@interesting_planet_facts · Post #1090 · 01.12.2025 г., 18:11
🌎 The mysterious extinction of the “Siberian unicorn,” or Elasmotherium sibiricum, puzzles paleontologists. This massive Ice Age mammal, related to modern rhinos, had a large forehead horn and grazed Eurasian steppes. DNA studies show it survived until about 39,000 years ago—much later than once thought. ✨ #extinctanimals⚡#paleontology⚡#iceage 👉subscribe Interesting Planet 👉more Channels
@interesting_planet_facts · Post #877 · 08.10.2025 г., 15:11
🌎 The woolly rhinoceros, Coelodonta antiquitatis, roamed Ice Age Eurasia with a thick fur coat and massive horn. Fossils found in Siberian permafrost show it survived extreme cold; its extinction about 14,000 years ago is linked to climate warming and human hunting. ✨ #extinctanimals⚡#paleontology⚡#iceage 👉subscribe Interesting Planet 👉more Channels
@interesting_planet_facts · Post #812 · 25.09.2025 г., 15:11
🌎 The giant short-faced bear, Arctodus simus, roamed North America during the last Ice Age. Standing up to 1.5 meters at the shoulder, it was one of the largest terrestrial mammalian carnivores ever, yet paleontologists debate if it was mainly a predator or a scavenger. Fossils suggest it vanished around 11,000 years ago, along with much other megafauna. ✨ #extinctanimals⚡#paleontology⚡#iceage 👉subscribe Interesting Planet 👉more Channels
@interesting_planet_facts · Post #715 · 09.09.2025 г., 03:22
🌎 The Siberian unicorn, or Elasmotherium, was a massive prehistoric rhinoceros with a single huge horn on its forehead. Fossils show it roamed Eurasia until about 39,000 years ago, much later than once believed. ✨ #extinctanimals⚡#paleontology⚡#iceage 👉subscribe Interesting Planet
@googlefactss · Post #40694 · 23.02.2026 г., 07:01
The Little Ice Age (1300–1850) was a cooler period in Europe and North America. ❄️ It was caused by lower solar activity (Maunder Minimum 1645–1715), volcanic eruptions, and natural climate changes. 🌋🌍 Earth is still in an ice age (Quaternary Ice Age) but currently in a warm interglacial period (Holocene, estimated 11,700 years ago). 🌡️ [Read more] #LittleIceAge#ClimateHistory#IceAge#Science#EarthFacts@googlefactss