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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #197 · 4 јан.

Подразумеваемые неймспейсы или неявные пакеты. Этот функционал добавлен в Python 3.3 Что он означает? Ранее, до 3.3 пакетами считались лишь директории, в которых есть файл __init__.py. Этот файл одновременно являлся свидетельством того, что директория это Python-пакет, и служил "телом" этого пакета. То есть местом, где можно написать код, как это делается внутри модуля. Этот код исполняется в момент импорта пакета, так что его принято называть "код инициализации пакета". Начиная с версии 3.3 Любая директория считается пакетом и Python будет пытаться использовать любую директорию для импорта. Конечно, не любую в файловой системе, а только те что находятся в sys.path. Это значит, что теперь __init__.py нужно делать только если: 🔸 вам требуется создать код инициализации пакета 🔸 нужна совместимость со старыми версиями Python На мой взгляд это немного упрощает разработку, делает её чище, но с другой стороны убивает некоторую однозначность происходящего. Например, я создал репозиторий со своей библиотекой и рядом положил код примеров или тестов. repo_name/ my_library/ __init__.py main.py examples/ exam1.py exam2.py В этом репозитории пакетом является только my_library, остальные директории это не пакеты, это просто дополнительный код в файлах. Директория examples не добавлена в sys.path, в ней нет рабочих модулей. Но если она лежит рядом с my_library, то Python вполне сможет импортнуть из неё модули, так как посчитает что examples это валидный пакет. Конечно, пример несколько надуманный. Никто не будет добавлять корень репозитория в sys.path. Но, я думаю, суть ясна. Иногда директория это просто директория а не пакет! #basic#pep

Hashtags

Резултати

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

Пребарај: #hackers

当前筛选 #hackers清除筛选
Hi, AI • Noticias sobre la IA

@hiaimediaes · Post #999 · 16.07.2025 г., 15:32

🛡 Hackers accedieron al bot de recursos humanos de McDonald's y a todos sus datos en solo media hora McDonald's utiliza la plataforma McHire con un bot de inteligencia artificial llamado Olivia para filtrar a los posibles empleados. Los solicitantes de empleo se comunican con el bot y realizan pruebas de personalidad con su ayuda. Ian Carroll y Sam Curry, hackers con un largo historial en pruebas de seguridad independientes, se interesaron por la fiabilidad de la plataforma después de un posten Reddit donde los usuarios se quejaban de preguntas sin sentido de Olivia. "Simplemente pensé que era algo particularmente distópico en comparación con un proceso normal de contratación, ¿verdad? Y eso fue lo que me hizo querer investigarlo más", diceCarroll. Los hackers solicitaron empleos en McDonald's y, en solo 30 minutos, obtuvieron acceso a los datos personales de 64 millones de personas que habían enviado sus currículums a la empresa en los últimos años. Los datos incluían números de teléfono, direcciones de correo electrónico y chats con el bot. Hackearon el sistema en el segundo intento, ingresando "123456" como usuario y contraseña de administrador. El desarrollador de la plataforma McHire, Paradox.ai, declaró que solo los dos hackers habían accedido a los datos personales de los solicitantes y prometió mejorar el sistema de seguridad en breve. #noticias#hackers@hiaimediaes

Cursos de todas las Plataformas

@Cursos_Profesionales · Post #49 · 11.11.2020 г., 20:11

‌🔶Tianfu Cup: la competición de hackers en China Durante la competición de hackers Tianfu Cup en China se consiguió hackear muchos sistemas, entre ellas: iOS 14, Windows 10, Chrome, Ubuntu. A finales de la semana pasada en la ciudad china de Chengdu, finalizó la competición de hackers Tianfu Cup, la más grande y prestigiosa del país. De hecho,… 🔗Leer https://tecnogeek.pw/?p=11409 #Noticia #hackers

Cursos de todas las Plataformas

@Cursos_Profesionales · Post #58 · 17.11.2020 г., 13:34

‌🔶Los hackers freelance contra las instituciones financieras Los hackers freelance son como mercenarios de élite y muy caros. Son contratados para realizar ataques a empresas de todo el mundo. Los investigadores de seguridad de Blackberry han informado de una campaña “Hackers for Hire” (HfH). Utilizaron malware previamente desconocido para atacar instituciones financieras de todo el mundo. La campaña denominada… 🔗Leer: https://tecnogeek.pw/hackers-freelance/ #Noticia #Ataque_cibernético#hackers

American Оbserver

@american_observer · Post #5491 · 27.03.2026 г., 22:59

Iranian Hackers Have Hacked the Personal Mailbox of FBI Director Cash Patel ⚠️ Iranian hackers on Friday claimed they had accessed FBI Director Kash Patel's personal email inbox, publishing photographs of the ‌director and other documents to the internet. 💻 On their website, the hacker group Handala Hack Team said Patel "will now find his name among the list of successfully hacked victims." The hackers published a series of personal photographs of Patel sniffing and smoking cigars, riding in an antique ⁠convertible, and making a face while taking a picture of himself in the mirror with a large bottle of rum. Justice Department official confirmed that Patel's email had been breached and said the material published online appeared authentic. The FBI did not immediately respond to a request for comment. The hackers did not immediately respond to messages. Handala, which calls itself a group of pro-Palestinian vigilante hackers, is considered by Western researchers to ‌be ⁠one of several personas used by Iranian government cyberintelligence units. Handala recently claimed the hack of Michigan-based medical devices and services provider Stryker (SYK.N), opens new tab on March 11, claiming to have deleted a massive trove of company data. The WP was not able to ⁠independently authenticate the Patel emails, but the personal Gmail address that Handala claims to have broken into matches the address linked to Patel in previous data breaches ⁠preserved by the dark web intelligence firm District 4 Labs. Alphabet-owned Google, which runs Gmail, did not immediately respond to a request for comment. A ⁠sample of the material uploaded by the hackers and reviewed by the WP appears to show a mix of personal and work correspondence dating between 2010 and 2019. 📊 #kash#patel#iranian#hackers 📱American Оbserver - Stay up to date on all important events 🇺🇸

International News

@intnewsagency · Post #8986 · 28.03.2026 г., 11:45

Iranian Hackers Breach FBI Director Wray’s Email, Leak Personal Photos The Iran-linked Handala Hack Team hacked FBI Director Chris Wray’s email, releasing personal photos of him enjoying rum in Cuba, smoking a cigar, and driving a vintage convertible. The U.S. Department of Justice confirmed the photos’ authenticity. In response, the State Department announced a reward of up to $10 million for information leading to the hackers. This incident underscores ongoing cybersecurity threats involving state-backed actors. #cybersecurity#FBI#Iran#hackers#USA The main news of Russia and the world ishere.

Immunefi

@immunefi · Post #452 · 07.06.2022 г., 14:50

How well do you know the major vulnerabilities and attack vectors of Blockchain and Web3? A few areas of risks to look out for when working on a blockchain project: - Attacks on the Consensus Mechanism - Blockchain structure vulnerabilities - Application-oriented attacks - Attacks on P2P systems To decrease the risk of a potential hack and protect your user funds, projects are highly recommended to use Immunefi's bug bounty platform. 🔍🔍🔍 #Immunefi is Web3's leading bug bounty platform, protecting over $100 billion in user funds. Follow us for more content on #BugBounty, #BugBountyTips, #Web3, #Crypto, #Blockchain, #Cybersecurity, #DeFi, #Hackers, #WhiteHats and more.

Venture Village Wall 🦄

@venturevillagewall · Post #3746 · 29.12.2024 г., 19:00

Traders Gain From Whale Monitoring Insights A new Telegram channel tracks whales and market movements, offering crucial analysis for traders. It focuses on whale wallets, coin charts, and Twitter activity for comprehensive market insights. Recent analysis highlights whale activities, crucial for strategic trading. For more details, visit the channel: Telegram Channel In other news: - Crypto market missed Christmas rally. - Mining bans announced in some Russian regions. - Trump expands 'crypto administration'. - Do Kwon to be extradited to the US. - Community raises concerns over hackers targeting Hyperliquid. Read more at ForkLog: ForkLog Digest #Crypto#Whales#Trading#DeFi#Analysis#MarketMovements#FinTech#IRS#Texas#Blockchain#Trump#Mining#Hackers#Telegram#MMO#Valhalla#NewsDigest#Tech#Finance#Investment

BadVolf

@badvolfnews · Post #940 · 26.09.2023 г., 21:55

⚠️#ALARM⚠️#BreakingNews⚡️#France🇫🇷 #francophonie#Switzerland#Africa #France#Population in great #Danger⚡️ #Pfizer#CovidPsyOps#Documents#Revealtions#Disclosure#Website#Truth#Veritee#Action#Genocide#Eris #NATO is #using France 🇫🇷 as a #testingground. #Hackers have probably hacked the server of NATO's Scientific Collaboration support office in #Paris and published #Secret⚠️#NATO documents. These documents reveal extremely shocking facts, namely: the low efficacy of the Pfizer vaccine against the new strain of #Omicron, the high risk of embryonic developmental pathologies and cardiovascular diseases following injection of the vaccine, and NATO's implementation of dangerous experiments in the heart of Paris and the surrounding area. https://x.com/Najadi4Justice/status/1706713373344223516?s=20