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

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #76 · 27 апр.

Ранее я делал серию постов про битовые операторы. Вот вам ещё один наглядный пример как это используется в Python в модуле re. Чтобы указать флаг для компилятора нам надо указать его после передаваемой строки. Например, добавляем флаг для игнорирования переноса строки. pattern = re.compile(r"(\w+)+") words = pattern.search(text, re.DOTALL) А как указать несколько флагов? Ведь явно будут ситуации когда нам потребуется больше одного. Кто читал посты по битовые операторы уже понял как. pattern.search(text, re.DOTALL | re.VERBOSE) А теперь смотрим исходники, что находится в этих атрибутах? Не удивительно, степени двойки. Почему? Потому что каждое следующее значение это сдвиг единицы влево. >>> for n in [1, 2, 4, 8, 16, 32, 64, 128, 256]: >>> print(bin(n)) 0b1 0b10 0b100 0b1000 0b10000 0b100000 0b1000000 0b10000000 0b100000000 Чтобы было понятней, давайте напишем тоже самое но иначе, добавим ведущие нули: 000000001 000000010 000000100 000001000 000010000 000100000 001000000 010000000 100000000 Не понятно что тут происходит? Читай три поста про битовые операторы начиная с этого ➡️https://t.me/pythonotes/45 В общем, это пример применения побитовых операций в самом Python. Теперь вы знаете Python еще немного лучше) #tricks#regex#libs

Резултати

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

Пребарај: #intermediate

当前筛选 #intermediate清除筛选
English Speakers

@English_Speakers · Post #4542 · 06.05.2021 г., 00:42

#intermediate 📌 made my day Meaning 👉 To cause one to feel very happy; to be a very positive highlight of one's day. Example When my neighbors surprised me with homemade chocolate chip cookies, it is really made my day. @English_Speakers

English Speakers

@English_Speakers · Post #4479 · 17.03.2021 г., 17:59

#Intermediate @English_Speakers 📌 When the cat a way the mice will play غاب القط فالعب يا فار people being supervised often do things they are not supposed to do when the supervising person is not around (expression often used in a humorous way about employer and employees, parents and children, etc.) 👉Example: "“His parents are away for the weekend.” “I see—while the cat's away.” @English_Speakers

New Psychedelics compounds search. Why? Deal with First gen psychedelic issues: - they were not created specifically to threat a particular disorder even if can do it with a certain efficacy - they have cardiotoxicity related to 5ht2b mechanism - long action duration length for therapy New hopes and ideas: - decouple halucenogetic from therapeutic effect - potentially reaching even newer states of mind - targetly engineered experience without so complex set and setting What? - Kanna alcaloids for premature ejaculation 😅 - BPL-003 for Treatment Resistant Depression (TRD). - IHCH-7113 Non halucenogetic psychedelic for depression - Ele-101 for depression and Alcohol Use Disorder (AUD). How? 1. AI assisted search - Predictive AI. Train on structure to properties (need big dataset of both) - Generative AI. Evolutionary machines 2. Natural compounds search and enchantment - Research existing less popular natural compounds rom indigenous communities - Enchance properties (Increase a half life, change blood barrier penetration, etc.. 3. Future approaches - computational chemistry (compounds VS receptors ) - test on brain organoids Skill level: #intermediate https://youtu.be/BQoIozpBU5Y

https://podcasts.google.com/feed/aHR0cHM6Ly9mZWVkcy5saWJzeW4uY29tLzgxODk1L3Jzcw/episode/NjgxMmNkZTUtYThmZi00OWIxLThkMmMtZGU5NGM4MDQ2YjRl?ep=14 Why MDMA analogs? 1. Safer options for mory risky categories of people: People with Cardiac deseas history People over the age of 65 2. Other medical application apart form PTD Social anxiety for Autism Parkinson's desease 3. Other impoovements Shorter therapy duration More cheaper production Skill level: #intermediate

Researchers Are Mapping DMT Dimensions Through DMTx Tech Seems like DMTX is finally started and we will see more exciting news from various labs all over the world. Any friends anesthesiologists?😁 "But that doesn’t mean we can’t have some kind of mapping. One can think about Level mapping for example, so do different levels of intensity experience reliably take you to different types of spaces? Is there a progression? I mean people talk already, about you know, moving to the waiting room and then the dome. There has already been developed in a very informal sense, a certain kind of mapping of the space.” Skill level #intermediate https://psychedelicspotlight.com/researchers-are-mapping-out-new-dimensions-through-dmtx-technology/

English With Natives*

@sirjimmy · Post #31213 · 10.10.2024 г., 05:11

1️⃣How often does he work? Everyday All day Rarely 2️⃣What is he starting to think about? Playing basketball Watching TV His health Work 3️⃣What decision is made to get more exercise? Running or Jogging Doing more outdoor activities Going to the local gym 4️⃣What type of lessons are they considering? Dance Tennis Basketball 5️⃣For $120, How often will they meet? Everyday for a month Once a week for two months Every afternoon Twice a week for one month 6️⃣Please fill the blank and tell me what does whole sentence mean? Playing tennis twice a week will be a good start. ..... me .... . #Listening #Intermediate #Teamjimmy @Sirjimmy

English With Natives*

@sirjimmy · Post #30337 · 19.05.2023 г., 07:30

1️⃣How often does he work? Everyday All day Rarely 2️⃣What is he starting to think about? Playing basketball Watching TV His health Work 3️⃣What decision is made to get more exercise? Running or Jogging Doing more outdoor activities Going to the local gym 4️⃣What type of lessons are they considering? Dance Tennis Basketball 5️⃣For $120, How often will they meet? Everyday for a month Once a week for two months Every afternoon Twice a week for one month 6️⃣Please fill the blank and tell me what does whole sentence mean? Playing tennis twice a week will be a good start. ..... me .... . #Listening #Intermediate #Teamjimmy @Sirjimmy

English With Natives*

@sirJimmy · Post #30259 · 28.04.2023 г., 06:37

1️⃣How often does he work? Everyday All day Rarely 2️⃣What is he starting to think about? Playing basketball Watching TV His health Work 3️⃣What decision is made to get more exercise? Running or Jogging Doing more outdoor activities Going to the local gym 4️⃣What type of lessons are they considering? Dance Tennis Basketball 5️⃣For $120, How often will they meet? Everyday for a month Once a week for two months Every afternoon Twice a week for one month 6️⃣Please fill the blank and tell me what does whole sentence mean? Playing tennis twice a week will be a good start. ..... me .... . #Listening #Intermediate #Teamjimmy @Sirjimmy

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