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

Резултати

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

Пребарај: #transgenders

当前筛选 #transgenders清除筛选
Trump's Ear

@trumpsear_tg · Post #1520 · 17.09.2025 г., 16:01

In the wake of the Minneapolis Catholic church shooting, senior Justice Department officials are weighing proposals to limit transgender people’s right to possess firearms, according to two officials familiar with the internal discussions. The talks, described as preliminary in nature, appear to build on an idea that has gained some currency in conservative media since the Minneapolis shooting that killed two children and injured 21, most of them children, at Annunciation Catholic Church, an attack that police say was carried out by a 23-year-old transgender woman. Such a move would represent a dramatic escalation of the Trump administration’s fight against the rights of transgender Americans. President Donald Trump has issued a series of executive orders on the topic, including one barring transgender people from serving in the military and another ordering federal prisons to move transgender inmates to facilities corresponding to their gender assigned at birth. In addition, the idea of restricting gun rights has long been a red line for conservatives, with many Republican lawmakers and gun rights groups opposing red flag laws and or other policies aimed at keeping guns away from people suffering from mental health issues. But Justice Department leadership is seriously considering whether it can use its rulemaking authority to follow on to Trump’s determination to bar military service by transgender people and declare that people who are transgender are mentally ill and can lose their Second Amendment rights to possess firearms, according to one Justice official. Another senior Justice Department official cautioned that any such proposal, should it gain steam, would likely run into legal complications. Millions of Americans have mental health issues and many take medications, but are not a danger to society and therefore cannot have their rights infringed upon. #DOJ#transgenders#firearms 👂More on Trump's Ear ⚠️