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

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

Резултати

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

Пребарај: #audiobook

当前筛选 #audiobook清除筛选
MILLIONER KUTUBXONASI

@Biglibrary_uz · Post #9172 · 16.08.2025 г., 08:44

🛜🔠🔠🔠🔠🔠 🔠🔠🔠🔠 💛 Alkimyogar Bu kitobni qancha kop maqtasam arziydi! Qayta qayta tinglang Va o'qing! Va albatta barcha ORZU maqsadlaringiz Amalga oshganda bizni ham albatta tabassum bilan eslab qo'ying 🤍 🤍 SİZ SO'RAGAN AUDİO KİTOB! #audiobook 💛@Biglibrary_uz

Hashtags

MILLIONER KUTUBXONASI

@Biglibrary_uz · Post #8849 · 26.03.2025 г., 06:55

🔠🔠🔠🔠🔠🔠🔠🔠 🎙 Ichindagi ichindadur 💡 Hayrlı kun kitobsevar qadrdonlarim!! Sizga Juda zo'r #audiobook🎧 bilan keldim. Albatta tinglang! Juda ham zo'r kitob! Qancha tariflasam , shuncha so'zlar ojizlik qiladi! Ming marta maqtagandan ko'ra bir marta o'zingiz mazasini tatib koring 🫂 Bu kitobni o'qiganlar Yoki tinglaganlar bormi , 🔥 reaksiyalarni bosib qoying @Milliarderlarim

Hashtags

PT资讯频道

@PrivateTrackerNews · Post #799 · 12.08.2019 г., 14:30

2019/08/12 #开放注册 #OpenSignupTracker #国外PT 电报 @PT资讯频道 Telegram @privatetrackernews 电子书/有声书/在线学习 Tracker's Name: #Audiobook (ABT) Genre: ELearning Sign-up Link: https://abtorrents.me/signup.php Closing Date: 12/8/2019 till 18/8/2019. Additional information: Audiobook Torrents is a Private Torrent Tracker for ELearning releases.

Velvet Pages | eLibrary 🥂

@bookslibraryofficial · Post #1534 · 09.03.2026 г., 16:01

📖Title : The Frozen River ✍️Author : Ariel Lawhon ⭐️Rating : 4.38/5 (Goodreads) 📆Published : Dec 05, 2023 ———————————————— Summary:The Frozen River by Ariel Lawhon is a historical mystery set in 1789 Maine. Midwife and healer Martha Ballard is called to examine the body of a man found trapped in the frozen Kennebec River. While authorities quickly declare the death an accident, Martha suspects something far darker. As she records events in her diary and follows the clues, she uncovers a web of violence, secrets, and injustice involving powerful members of the community. Determined to seek the truth despite threats and social pressures, Martha risks her reputation and safety while fighting for justice in a society where women’s voices are often ignored. ———————————————— #fiction#mystery#audiobook#historical#thriller#ariellawhon#thefrozenriver@Bookslibraryofficial

Velvet Pages | eLibrary 🥂

@bookslibraryofficial · Post #1514 · 07.01.2026 г., 15:34

📖Title : More Days at the Morisaki Bookshop ✍️Author : Satoshi Yagisawa ⭐️Rating : 3.85/5 (Goodreads) 📆Published : Dec 06, 2011 ———————————————— Summary:More Days at the Morisaki Bookshop follows Takako as she continues healing while living above her uncle’s secondhand bookshop in Tokyo’s Jimbocho district. Surrounded by books and familiar faces, she confronts lingering grief, evolving relationships, and quiet uncertainties about the future. The novel focuses on small, meaningful moments, showing how literature, routine, and human connection gently restore a sense of belonging. Through everyday interactions, it portrays healing as gradual, imperfect, and deeply tied to community, memory, and the comforting presence of books. ———————————————— #fiction#japan#cozy#audiobook#romance#moredaysatthemorisakibookshop#satoshiyagisawa@Bookslibraryofficial@free_novellas@eternalmantra

Velvet Pages | eLibrary 🥂

@bookslibraryofficial · Post #1499 · 30.12.2025 г., 15:06

📖Title : Bemused ✍️Author : Farrah Rochon ⭐️Rating : 3.92/5 (Goodreads) 📆Published : Jan 07, 2025 ———————————————— Summary:Five sheltered sisters living in a quiet seaside village learn that they are the legendary Muses, daughters of Mnemosyne, Goddess of Memory. After their mother is kidnapped by Hades, the sisters are forced to leave their protected lives behind. Guided by Calliope’s leadership, they journey through dangerous lands, face mythical trials, and uncover their divine powers. Along the way, they confront fear, doubt, and destiny itself. Through music, storytelling, courage, and unity, the sisters strengthen their bond and transform from overlooked performers into heroic figures, embracing their true identities and shaping their own legendary “gospel truth.” ———————————————— #fantasy#mythology#retellings#fiction#historicalfiction#audiobook#bemused#farrahrochen@Bookslibraryofficial@free_novellas@eternalmantra

12
ПретходнаСтраница 1 од 2Следна