@Aetatesolis · Post #4039 · 21.03.2025 г., 13:37
The Lord of the Rings 🎨 Darrell K. Sweet (🇺🇸, 1934-2011) #tolkien #lotr AETATESOLIS
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
Пребарај: #tolkien
@Aetatesolis · Post #4039 · 21.03.2025 г., 13:37
The Lord of the Rings 🎨 Darrell K. Sweet (🇺🇸, 1934-2011) #tolkien #lotr AETATESOLIS
@Aetatesolis · Post #4033 · 21.03.2025 г., 12:36
The Lord of the Rings 🎨 Darrell K. Sweet (🇺🇸, 1934-2011) Sweet was best known for providing cover art for science fiction and fantasy novels, in which capacity he was nominated for a Hugo Award in 1983. #tolkien #lotr AETATESOLIS
@Aetatesolis · Post #3779 · 13.01.2025 г., 12:46
The Lord of the Rings 🎨 Tim Kirk (🇺🇸, 1947 - ...) Art for the 1975 Tolkien Calendar. #lotr#tolkien AETATESOLIS
@filosofarsogood · Post #11933 · 07.10.2024 г., 10:02
Enrico Gamba, in arte 151eg, cogita sulla Favola moderna, tra #DISNEY, #MIYAZAKI e #TOLKIEN: simbolismo, significato ed educazione, in una Cogitata stupenda! https://youtu.be/RmrW2ueDqCI
@sarconsulurals · Post #2976 · 03.01.2026 г., 04:16
🗓January 3 marks the birth of J.R.R. Tolkien (1892-1973), the legendary author of The Lord of the Rings and The Hobbit. 📍 He was born in Bloemfontein, now the capital of South Africa’s Free State province and the country’s judicial capital 🇿🇦📚 👨💼 Tolkien’s father, Arthur Tolkien, worked as a banker and was transferred from the United Kingdom to Bloemfontein for career advancement. The family’s African servants considered baby John exceptionally handsome and admired him greatly. 👶 On one occasion, a servant named Isaak took the infant Tolkien to his kraal for the night to introduce him to his family. Years later, he named his first son Isaak Mister Tolkien Victor in the child’s honor. ✈️ When Tolkien was three, he traveled to England with his mother Mabel and younger brother Hilary. During their stay, Arthur Tolkien died in Bloemfontein from acute rheumatic fever. The family never returned to South Africa after his death. 🧠 Tolkien later said he remembered very little of his early years in South Africa. Biographers note that he retained a few words of Afrikaans, though he was not fluent. 🏨 Today, Bloemfontein proudly highlights its link to Tolkien. The four-star Hobbit Boutique Hotel promotes itself as his birthplace, features a commemorative plaque, and names all its rooms after characters from The Lord of the Rings and The Hobbit. #Literature#Books#History#Tolkien#SouthAfrica#Africa
@Aetatesolis · Post #3798 · 21.01.2025 г., 17:32
Der Berggeist 🎨 Josef Madlener (🇩🇪, 1881-1967) Der Berggeist is "The Mountain Spirit". According to Carpenter, Tolkien bought the postcard during his trip to Europe. The envelope containing it was later found with the inscription: "Origin of Gandalf". However, the picture was painted about 1925-1930 and if I remember correctly the postcard was published 1935 in a folder with three or four other pictures. So the postcard must come by another way into Tolkien's hands. #tolkien#gandalf #lotr Source AETATESOLIS
@dreamsgallerys · Post #2282 · 23.04.2024 г., 09:36
by Rene Gross #арт#art#some#gross#lotr#baraddur#fantasy#tolkien#landscape Dreams Gallery
@dreamsgallerys · Post #2227 · 20.03.2024 г., 14:30
Ещё один любимый персонаж By Voodoont #voodoont #ai#арт#art#girl#elf#city#arwen#liv_tyler#tolkien#Middle_earth#old_work#lotr Dreams Gallery