@artbysabertoofs · Post #604 · 07.04.2026 г., 10:18
First of the few adopts I'll be doing this week! A handsome, colorful werewolf! 👀🐺 He'll be up for sale soon for $65! ❤️ #adoptable
Hashtags
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
Пребарај: #adoptable
@artbysabertoofs · Post #604 · 07.04.2026 г., 10:18
First of the few adopts I'll be doing this week! A handsome, colorful werewolf! 👀🐺 He'll be up for sale soon for $65! ❤️ #adoptable
Hashtags
@artbysabertoofs · Post #567 · 05.03.2026 г., 22:01
BIG YEEN COMIN THRU! 😤 I've got this handsome fella for sale! He's sporting a hyper t-dick (trans bits)! 👀 Something a little indulgent. 🤭 Asking price is $75! He can come with a SFW alt as well as the t-dick version seen here. ^^ DM or reply to claim! #adoptable
Hashtags
@artbysabertoofs · Post #558 · 01.03.2026 г., 19:08
Lil horse adopt ready for a new home! ❤️ Kind of a Valentine's okapi mood here... 🥹 I hope he looks nice! Asking $40 for him! You'll get character rights, high-res/small-res files, and a NSFW (sheath) alt if you desire! Base provided by @/Twistedhound - please check them out! DM or reply to claim if you're interested! #adoptable
Hashtags
@artbysabertoofs · Post #400 · 18.10.2025 г., 01:09
Offering this fella up for $75! ^^ I went for a "blood moon" themed wolf this time around! 🔴🐺 Feel free to DM to claim if you would like him. He comes with high-res and small res files and character rights upon purchase. Payment through PayPal invoices! #adoptable#werewolf#sheath Can't purchase but want to help? I have a post you can share if you'd like. ^^ Thank you all so much! https://bsky.app/profile/sabertoofs.bsky.social/post/3m3glvbc2fc2r
Hashtags
@artbysabertoofs · Post #399 · 16.10.2025 г., 18:48
Offering this fella up for $80! ^^ He's a spooky werewolf ready to romp around on Halloween! :D Feel free to DM to claim if you would like him. He comes with high-res and small res files and character rights upon purchase. Payment through PayPal invoices! #adoptable#werewolf#sheath Can't purchase but want to help? I have a post you can share if you'd like. ^^ Thank you all so much! https://bsky.app/profile/sabertoofs.bsky.social/post/3m36lkpy52s2y
Hashtags