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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #183 · 23 ное.

Python + bash Если вам часто требуется запускать shell команды из Python-кода, какой способ вы используете? Самый низкоуровневый это функция os.system(), либо os.popen(). Рекомендованный способ это subprocess.call(). Но это всё еще достаточно неудобно. Советую обратить своё внимание на очень крутую библиотеку sh. Что она умеет? 🔸 удобный синтаксис вызова команд как функций # os import os os.system("tar cvf demo.tar ~/") # subprocess import subprocess subprocess.call(['tar', 'cvf', 'demo.tar', '~/']) # sh import sh sh.tar('cvf', 'demo.tar', "~/") 🔸 простое создание функции-алиаса для длинной команды fn = sh.lsof.bake('-i', '-P', '-n') output = sh.grep(fn(), 'LISTEN') в этом примере также задействован пайпинг 🔸 удобный вызов команд от sudo with sh.contrib.sudo: print(ls("/root")) Такой запрос спросит пароль. Чтобы это работало нужно соответствующим способом настроить юзера. А вот вариант с вводом пароля через код. password = "secret" sudo = sh.sudo.bake("-S", _in=password+"\n") print(sudo.ls("/root")) Это не все фишки. Больше интересных примеров смотрите в документации. Специально для Windows💀 юзеров #libs#linux

Hashtags

Резултати

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

Пребарај: #cryptowallet

当前筛选 #cryptowallet清除筛选
TokenPocket

@tokenpocket_channel · Post #1566 · 06.03.2025 г., 03:44

🔖 TokenPocket Monthly Report — February 2025 🔗 Read Full Report: https://tokenpocket-gm.medium.com/tokenpocket-monthly-report-february-2025-89f2dfa00949 February has been an exciting month filled with innovations and feature upgrades! 🚀 Let’s take a look at the key highlights: Key Updates & Features 🎯 four_meme_ Pre-Launch Market Supported 🎯 MultiSig Wallet Now Supports base Chain 🎯 Expanded Meme Mode to BNB CHAIN & Base 🎯 Gas-Free Transfers on TRON & BNB Chain ✍️ We Value Your Feedback! Participate in our survey and get a chance to win exclusive rewards! 👉 Take the Survey: https://docs.google.com/forms/d/e/1FAIpQLScOoLg_AZIRQtX4lBo7aFwrvVmriXC5Kg_SqRvz0Hwl_ner5A/viewform All-in-one, all in TokenPocket! 👇 👉https://tokenpocket.pro #TokenPocket#CryptoWallet#Web3#DeFi#Blockchain

Quasark.io - Announcement

@quasark_channel · Post #6 · 30.06.2023 г., 12:53

🚀 Last Call for the QuasarK Closed Beta Whitelist Are you ready to experience the future of cryptocurrency wallets? The countdown is on ⏰, and we don't want you to miss out on this exciting opportunity! Here's why you want to be part of our closed beta: 1️⃣ Unrivaled Security: Quasark ensures the safety of your funds like never before. Rest easy, knowing your assets are protected. 2️⃣ User-Friendly Interface: Effortlessly navigate through features, send and receive funds, and stay in control of your financial future. 3️⃣ Cutting-Edge Features: From instant swaps to customizable interface, we've got you covered with a suite of powerful tools. 4️⃣ Prices&Market trends: Access insightful charts and information to make informed investment decisions. 👉 Don't wait any longer! Secure your spot before SUNDAY: https://zealy.io/c/quazark/invite/yJwJUITfB-ehsbeVWcaOP #Quasark#CryptoWallet#ClosedBeta#DigitalAssets#DeFi

MyTonWallet v4.0 — July Update Overview ⚡️Instant Transfer Display Incoming transfers now appear on the recipient’s side immediately after the sender confirms the transaction. While this doesn’t speed up the blockchain itself, it sets a new UX standard — you see the transfer right away, even before it hits the block. #MyTonWallet is the first wallet to achieve this level of speed in displaying transactions. 💡 Combined with recent TON Core updates — where transactions confirm in ~5 seconds under average network load — using TON is now smoother than ever. 👍Refreshed Interface The wallet UI got a fresh polish: updated main card, tabs, balance display, and token color scheme — all now cleaner and more modern. The design comes from the new native app, MyTonWallet Air, which is currently in testing. 💱Send and Stake in Fiat You can now enter amounts in familiar fiat currencies like USD, EUR, RUB, and more — great for beginners or anyone dealing with fiat. 👨‍💻Better dApp Support + TON Connect Improved experience when working with decentralized apps via TON Connect. Plus, new features for devs and power users: 🔵 Import wallets of any version 🔵 Create wallets that work exclusively on TON #MyTonWallet#CryptoWallet#TON#UX#Web3#TONConnect#CryptoNews

DigitalGenie Trading News

@digitalgentop · Post #241 · 06.06.2024 г., 08:02

⚡️Main news: 🔗Wallet on Telegram enforces new KYC rules, switches provider 🟢 PEPE whale up nearly $5M on investment within a month 💵Next $1 trillion company will be DePIN 📌 Alex Labs rolls out post-exploit recovery plan 💰Bitcoin in 42-day ‘boredom zone’ — traders debate next move #Cryptoanalysis #Cryptoenthusiast #Cryptocurrencies #Cryptowallet

DigitalGenie Trading News

@digitalgentop · Post #224 · 02.06.2024 г., 16:01

☄️ZKasino gives investors 72-hour window to get back deposited ETH 💵ZKasino denied it tried to make off with $33 million of investor funds in April and has now opened up a short refund window. #Cryptoanalysis #Cryptoenthusiast #Cryptocurrencies #Cryptowallet

💫 Magic Eden expands the NFT universe with Emmy, a multi-chain crypto wallet. Embrace the magic with compatibility for Solana, Bitcoin, Polygon, and Ethereum! What's your blockchain pick? #MagicEden#CryptoWallet#NFTs#Solana#Bitcoin#Polygon#Ethereum 📈BTC price at the time of this post: $43024 👉Continue reading

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