@fedrussianinsiders_real · Post #9783 · 29.10.2025 г., 11:43
BingX Futures, Bitget Futures #MELANIA/USDT Take-Profit target 1 ✅ Profit: 150.3759% 📈 Period: 27 Minutes ⏰
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #22 · 19 јан.
Заметка начинающим, которые часто сталкиваются с подобной непоняткой. Ситуация следующая, есть список файлов: names = [ 'image.bmp', 'second.txt.bkp', 'data.db', '.config.cfg', 'file.ext.bkp' ] И мы хотим убрать у них окончание ".bkp". Не знаю зачем, пример довольно надуманный) Но суть он показывает, а это главное. Те, кто еще не очень знаком с библиотекой os.path или pathlib, вероятно решат обработать имена как строки. И тут вполне подойдет метод строки strip(). Что делает этот метод? Он отрезает указанные символы по обеим сторонам строки. Если ничего не указать, то убирает невидимые символы (пробелы, табуляции и переносы строк). В нашем случае будет выглядеть вот так: >>> name.strip('.bkp') То есть просим удалить строку '.bkp' по краям имени файла, если таковая есть. Можно применить аналогичный метод rstrip(), чтобы отрезать только справа, но для этого примера используем обычный. >>> for name in names: >>> print(name.strip('.bkp')) image.bm second.txt data.d config.cfg file.ext Хм, что-то не то с нашими именами! Что случилось??? Видим нежелательное переименование в именах, где и близко не было указанной строки '.bkp' А дело всё в том, что данный метод ищет не указанную строку, а указанные символы, и не важно в каком порядке. Для метода strip() строка '.bkp' это не паттерн для поискаа список символов. Потому он отрезал симовол 'p' от '.bmp' и удалил точку из файла '.config.cfg'. Как тогда правильно заменить именно паттерн? Для начинающего можно посоветовать метод строки replace(), который как раз использует для замены указанную строку целиком. В нашем примере заменим её на пустую строку. >>> for name in names: >>> print(name.replace('.bkp', '')) image.bmp second.txt data.db .config.cfg file.ext Уже лучше, но помните, это лишь пример про strip(). Для работы с именами файлов есть способы и более "правильные", дающие однозначно верный результат. Я взял файлы только в качестве примера. Даже replase() тут может сделать не то что ожидаем. Просто впредь будьте внимательны с этим strip(). #basic
Hashtags
Пребарај: #melania
@fedrussianinsiders_real · Post #9783 · 29.10.2025 г., 11:43
BingX Futures, Bitget Futures #MELANIA/USDT Take-Profit target 1 ✅ Profit: 150.3759% 📈 Period: 27 Minutes ⏰
Hashtags
@eveningtrader_real · Post #7987 · 29.10.2025 г., 11:43
BingX Futures, Bitget Futures #MELANIA/USDT Take-Profit target 1 ✅ Profit: 150.3759% 📈 Period: 27 Minutes ⏰
Hashtags
@cryptoninjastradingofficial1 · Post #7011 · 29.10.2025 г., 11:43
BingX Futures, Bitget Futures #MELANIA/USDT Take-Profit target 1 ✅ Profit: 150.3759% 📈 Period: 27 Minutes ⏰
Hashtags
@crypto_trish · Post #1258 · 23.01.2025 г., 14:10
Решил я докупить #MELANIA по текущим. Когда все уже не верят и плюются, обычно случается памп. Контракт: FUAfBo2jgks6gB4Z4LfZkqSZgzNucisEHqnNebaRxM1P
Hashtags
@crypto_trish · Post #1253 · 23.01.2025 г., 12:07
На #MELANIA отключили маркетмейкера. Объемы не крутят. Вот он реальный спрос и предложение. Интересно, это так хотят вытрясти из нас жетоны или такой тупой скам?
Hashtags
@crypto_trish · Post #1240 · 20.01.2025 г., 18:04
На Миланке походу тоже лицо Трампа хотели нарисовать. Если продолжение будет женское, то будет еще как минимум две горки. #MELANIA
Hashtags
@crypto_trish · Post #1237 · 20.01.2025 г., 07:30
Ладно, уговорили. Взял Миланку на 1 SOL, хотя не люблю заходить на росте. Это просто рулетка, выиграешь, не выиграешь. Тейк поставил 30$. Кто захочет полудить, рекомендую Alpha DEX. Там и стоп и тейк можно поставить. Очень удобный терминал. #MELANIA
Hashtags
@cryptosamuraicat · Post #548 · 20.01.2025 г., 08:27
☄️Melania Trump launches her memcoin #MELANIA Official tweet: link Donald Trump reposted her post on Twitter. 🔖There was no information about a possible hack. 🔖 If you are not familiar with DEX, then wait for the listing on the Bybit exchange. 🐱🐱🐱🐱🐱🐱🐱🐱 👉🏻SUBSCRIBE!
Hashtags
@trumpsear_tg · Post #1950 · 24.12.2025 г., 20:50
Trump sent out Christmas greetings with his gloomy face The White House is sending out Christmas greetings with a photo of US President Donald Trump and his wife Melania. However, their appearance is not festive at all — both are staring at the camera with serious expressions on their faces. No smile, no Christmas mood! The photo was taken on December 7 in the White House Cross Hall. Both are dressed in black. Melania is wearing a long black sleeveless dress. She wore pearl earrings and a diamond bracelet with it. President Trump poses in a black tuxedo with a black bow tie and patent leather shoes. Stylish and elegant — no questions asked! But it didn't work out to be a warm Christmas photo. The congratulations with which the White House addresses citizens also sound cold and formal: In addition, there is an emoji of the American flag. Many people used the phrase "Make Christmas Great Again" to comment on the photo and laugh at the sight of the presidential couple. "They look like they're going to a funeral," wrote one user. Trump and Melania can pose for Christmas greetings much more joyfully. They have already proved it. For example, in the official Christmas portrait from the White House in 2017, both were smiling broadly and generally looked more relaxed and happy. #Trump#Melania 👂More on Trump's Ear
@trumpsear_tg · Post #2096 · 03.02.2026 г., 18:00
The film about Melania Trump set a record at the box office The documentary called "Melania" earned $8 million in its first weekend. This is the best start for documentary films in the last ten years, they claim in the White House. #Melania#Media 👂More on Trump's Ear ⚠️
@trumpsear_tg · Post #2036 · 21.01.2026 г., 17:29
Melania Trump's long-anticipated documentary debut is facing early headwinds, with advance ticket sales reportedly falling well short of expectations just weeks before its scheduled premiere. The film, titled "MELANIA" and directed by Brett Ratner, is said to have carried a production budget of roughly $40 million and promises an unusually intimate look at Trump's time as first lady, as well as her marriage to President Donald Trump. #Melania#Media 👂More on Trump's Ear ⚠️
@trumpsear_tg · Post #1679 · 23.10.2025 г., 13:59
📚A whistleblower journalist has sued Melania Trump for defamation and disrupting the publication of his book.💼 Now he's demanding millions of dollars from her. 💰 American writer and investigative journalist Michael Wolff is making serious allegations against the First Lady of the United States. 🇺🇸 He claims that she deliberately organized a campaign to silence him. 🤐 The reason was Wolff's upcoming book The Art of Her Deal: The Untold Story of Melania Trump. According to the journalist, the First Lady “intentionally” interfered with his publishing contract and publicly slandered him. Michael Wolff is a world-renowned author of incisive political revelations, primarily thanks to his bestseller Fire and Fury: Inside the Trump White House published in 2018. 🔥 On 480 pages, he provided detailed descriptions of the backstage life of the Trump administration, which provoked a strong reaction from the president himself. Melania’s team, according to the journalist, spread rumors that he was inventing interviews, intimidating sources, and writing “lies for profit”, according to the TMZ portal. 📰 As a result, Wolff argues, international partners in promoting the book refused to cooperate, and the book deal fell through. In addition, in his complaint, Wolff states that Melania personally instructed the PR agency to threaten lawsuitsagainst those publications that intended to write about his book. The journalist also provided a letter from Melania Trump’s lawyers demanding that he withdraw allegedly defamatory allegations about the First Lady’s possible ties to convicted sex offender Jeffrey Epstein. ⚖️ Melania Trump’s lawyers strongly deny all charges. Wolff has now filed a lawsuit against the First Lady for millions of dollars in damages and is demanding that the court officially confirm that the contents of his new book are not defamation. 📖 #Melania#Media 👂More on Trump's Ear ⚠️