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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #281 · 18 авг.

Что-то вы гоните насчет "привычного вида формата 755 и 644". Я вот вообще не понял что это!😳 Действительно, что означают цифры которые мы получили в прошлом посте? Это кодировка, заключающая в себе режимы доступа к файлу. Подробней можно почитать в статье про chmod. Там можно увидеть альтернативное обозначение того же самого с помощью символов r w x, что значит чтение, запись, исполнение. Чтобы преобразовать восьмеричное число в такое обозначение в Python есть готовая функция >>> stat.filemode(0o755) '?rwxr-xr-x' Мы видим 3 группы по 3 символа, дающие 3 типа доступа для 3 типов юзеров. А что за знак вопроса в начале? Давайте передадим в эту функцию необрезанное значение от os.stat >>> stat.filemode(os.stat(path).st_mode) 'drwxr-xr-x' Это данные, которые мы безжалостно обрезали в прошлый раз😼 Первый символ обозначает тип объекта. Это может быть файл (-), директория (d) или симлинк (l). Вот простая схема данной кодировки [1][3][3][3] │ │ │ │ │ │ │ └──> Others Permissions │ │ └─────> Group Permissions │ └────────> Owner Permissions └───────────> File Type (разверните экран если вы с телефона) Если вы попробуете получить пермишены для симлинка то получите пермишены для файла >>> path = '.venv/bin/python3' >>> stat.filemode(os.stat(path).st_mode) '-rwxr-xr-x' Чтобы получить свойства именно симлинка, нужно это явно указать >>> stat.filemode(os.stat(path, follow_symlinks=False).st_mode) 'lrwxrwxrwx' #tricks#basic

Резултати

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

Пребарај: #tonkeeper

当前筛选 #tonkeeper清除筛选
TONlines – News

@tonlines · Post #7572 · 21.11.2025 г., 17:07

Tonkeeper News: New Staking Contest Launched #TON#Tonkeeper Tonkeeper News announces a new contest launched by its partners Tonstakers and ChainSIM. Participants can join the contest by staking a minimum of 10 TON through Tonkeeper from November 21 to 28. Source: link @tonlines

TONlines – News

@tonlines · Post #7528 · 19.11.2025 г., 13:05

Tonkeeper News: Insights on Tonkeeper Pro #TON#Tonkeeper Tonkeeper News shared an interview with Tonkeeper CEO Oleg Andreev, revealing how Tonkeeper Pro serves as a launchpad for advanced TON features. It offers tools for multiwallet and multisig operations and ensures seamless transitions between devices. Source: link @tonlines

TONlines – News

@tonlines · Post #7499 · 17.11.2025 г., 15:07

Tonkeeper News: Effortless Token Swapping #TON#Tonkeeper Tonkeeper News explains how users can easily swap TON, USDT, and more directly through the Tonkeeper app utilizing Ston.fi. This method requires no extra apps or connections, making token exchanges convenient and seamless. Source: link @tonlines

TONlines – News

@tonlines · Post #7660 · 01.12.2025 г., 11:05

Tonkeeper News: Unwrap Prizes at Gift Fest! #Telegram#Tonkeeper Tonkeeper News announces the start of Gift Fest, featuring a $400,000 prize pool with over 100,000 gifts including tech gadgets and unique Telegram items. Participants can join weekly raffles and enjoy various partners in the festival, such as Wallet in Telegram and Catizen. Source: link @tonlines

TONlines – News

@tonlines · Post #7526 · 19.11.2025 г., 12:40

The Daily TON: Insights into Tonkeeper Pro by Oleg Andreev #Tonkeeper#crypto The Daily TON shares insights from an interview with Tonkeeper Pro creator Oleg Andreev. Tonkeeper Pro is designed to offer advanced features for developers and tech enthusiasts, distinguishing it from the mass-user-friendly Tonkeeper. The interview explores the reasons for creating two wallets and the unique functionalities each provides. Source: link @tonlines

TONlines – News

@tonlines · Post #7198 · 13.05.2025 г., 15:18

Tonkeeper News: Discover Tonkeeper Pro for iPhone #Tonkeeper#crypto Tonkeeper News highlights the launch of Tonkeeper Pro, a wallet designed for crypto professionals using iPhones. It offers features such as Multisig Wallets, Multi-Accounts, USDT-TRC20 support, and On-Chain 2FA, all for free download with a three-month trial. Source: link @tonlines

🏆 Premium, NFT, Tokens

@Giiveaways · Post #2170 · 18.06.2024 г., 14:25

MMpro #Bump is a new game from MMpro Trust and 🤑#Tonkeeper. The project has just launched! Be one of the first to join! 👉https://t.me/MMproBump_bot MMpro Points = RWA NFT = Real Money. Collect points and exchange them for pre-IPO assets or sell them for cash. Our prize pool includes Ledger assets worth $10,000 before the IPO, which are expected to reach $300,000 after the IPO. What's already in the game? 🔷 Clicker. 🔷 Tasks. 🔷Referral system. 🔷There is a tab with vouchers, but it's empty for now. https://t.me/MMproBump👈 °°°°°°°

Mirracoin Новости

@MirraChannel · Post #253 · 25.12.2024 г., 10:01

#TON#Tonkeeper#wallet 🥉Как подключить кошелек TON: быстрое руководство Хотите начать работать с TON? Мы подготовили полное пошаговое руководство по подключению кошелька TON: от выбора приложения до настройки безопасности. ❗️Узнайте, как это сделать просто и безопасно: 👉читать статью в Дзене-канале👈 👍 Подписывайтесь на наш канал, чтобы быть в курсе всех новостей и инструкций по работе с блокчейном TON! ___________ @MirraChannel😎

TONlines – News

@tonlines · Post #7451 · 30.05.2025 г., 12:11

⚡️Tonkeeper News: Ethena USDe Now on Tonkeeper #Ethena#Tonkeeper Tonkeeper News announces the integration of Ethena’s cryptocurrencies, USDe and its staked version tsUSDe, into the Tonkeeper app, expanding the TON ecosystem. Users can now send, receive, and swap these assets, enhancing their access to on-chain resources. Source: link @tonlines

🛡 Beware of scam Scammers are very active in the blockchain now, so we remind you of the elementary security measures that will help you save your funds. 👎🚫 Never click on links or bots listed in spam transactions or in received NFTs, do not connect your wallet there. Often scammers specially create sites and bots with names similar to the official ones, so many people mistakenly believe that this is a reliable resource. 👎🚫 Do not share your seed-phrase anywhere or with anyone. Once an attacker receives your seed-phrase, they will have full access to your wallet. If you do send your seed-phrase somewhere, urgently transfer all funds to a new wallet. ℹ️ If you use #Tonkeeper, you can see all the applications connected to your wallet and disconnect them. To do this, go to the "Browser" tab, click "Connected" at the top and click on the site/bot you want to disconnect your wallet from. 🔔 Remember: 👍 Support never writes first 👍 xRocket and other bot wallets don't do distribution via cheques or transfers 👍 If you receive an NFT or transaction offering you a reward, you should ignore them. Generally, wallets have functionality to hide such transactions and NFTs 👍 If you are not sure about the authenticity of the information, you should ask in the project chat or our chat Use these simple tips and there will be less #SCAM on #TON! ⚡️Boost | 🌐Twitter

TONlines – News

@tonlines · Post #7707 · 04.12.2025 г., 14:00

Tonkeeper News: Update for iOS Released #Tonkeeper#iOS Tonkeeper News announced a new update for the Tonkeeper app on iOS, featuring a cleaner interface, an improved Swap flow, and better fee transparency in fiat. The update introduces advanced security measures to prevent transfers to unsafe addresses. Source: link @tonlines

TONlines – News

@tonlines · Post #7201 · 13.05.2025 г., 15:54

⚡️The Daily TON: Tonkeeper Pro for iOS Released #Tonkeeper#iOS The Daily TON reports the release of Tonkeeper Pro for iOS, available on the App Store. This version introduces new UI features and multi-wallet management with a three-month free trial, requiring user confirmation to extend. Source: link @tonlines

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