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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #61 · 2 апр.

Ранее я уже упоминал о другой фишке из ˍˍfutureˍˍ , это оператор деления. from __future__ import division Суть проста. Раньше сложность типа данных результата поределялась типом самого сложного операнда. Например: int/int => int int/float => float В первом случае оба операнда int, значит и результат будет int. Во втором float более сложный тип, поэтому результат будет float. Если нам требуется получить дробное значение при делении двух int то приходилось форсированно один из операндов конверировать в float. 12/float(5) => float Но с новой "философией" это не требуется. В Python3 "floor division" заменили на "true division" а старый способ теперь работает через оператор "//". >>> 3/2 1.5 >>> 3//2 1 То есть теперь деление int на int даёт float если результат не целое число. В классах теперь доступны методы __floordiv__() и __truediv__() для определения поведения с этими операторами. Данный переход описан в PEP238. #pep#2to3#basic

Резултати

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

Пребарај: #convert

当前筛选 #convert清除筛选
Sliverkissの废弃文化研究所

@sliverkiss_blog · Post #213 · 23.11.2023 г., 10:57

▎Curlconverter Convert cURL commands into code Transpile curl commands into C#, ColdFusion, Clojure, Dart, Elixir, Go, HTTPie, Java, JavaScript, Kotlin, MATLAB, Objective-C, OCaml, PHP, PowerShell, Python, R, Ruby, Rust, Swift, Wget, Ansible, HAR, HTTP or JSON. 在线转换: 点击链接 项目地址: 点击链接 #convert#curl

BotsGram®

@botsgram_cu · Post #3552 · 26.02.2021 г., 16:56

@JPG2PDFBot Qué puede hacer este bot? Envíame fotos JPG o BMP como medios de Telegram. Cuando hayas terminado, use /done e intentaré generar un archivo PDF usando las imágenes enviadas en ese orden. Idioma: Inglés (visto en @BotsGram_cu) #pdf, #convert, #photo

BotsGram®

@botsgram_cu · Post #3434 · 26.01.2021 г., 01:10

@textUtilsBot Qué puede hacer este bot? Bot en línea para transformaciones de texto. Puede ayudarlo a traducir texto del lenguaje humano a código binario o hexadecimal, cadena base64 y viceversa. Idioma: Inglés (visto en @BotsGram_cu) #inline, #utility, #base64, #binary, #hexadecimal, #convert

BotsGram®

@botsgram_cu · Post #3269 · 09.12.2020 г., 13:12

@NewStickerOptimizerBot Qué puede hacer este bot? Simplemente envíeme una imagen o pegatina, y la convertiré en un archivo png y la optimizaré para que su tamaño sea más pequeño o igual a 350Kb, para que pueda agregarlo a un paquete de pegatinas usando el bot @stickers. Idioma: Inglés (visto en @BotsGram_cu) #sticker, #png, #image, #picture, #optimize, #pack, #create, #tool, #convert

GitHub Trends

@githubtrending · Post #14981 · 21.07.2025 г., 11:30

#typescript#bun#conversion#convert#converter#document_conversion#elysia#file_conversion#file_converter#hacktoberfest#pdf_converter#self_hosted#tailwindcss#typescript ConvertX is a self-hosted online file converter that supports over a thousand file formats, including images, videos, documents, e-books, and 3D assets. It lets you convert multiple files at once, offers password protection, and supports multiple user accounts for privacy. You can run it easily using Docker, making it simple to set up on your own server. This means your files stay private since conversions happen locally without sending data to external servers. It uses powerful open-source tools like FFmpeg and ImageMagick, giving you a versatile and secure way to handle all your file conversion needs in one place[1][2]. https://github.com/C4illin/ConvertX

BotsGram®

@botsgram_cu · Post #3161 · 25.11.2020 г., 07:33

@TelescopyBot Qué puede hacer este bot? Con este bot puedes convertir videos cuadrados a videos redondos Idioma: Inglés, Ruso (visto en @BotsGram.cu) #telescope, #video_\message, #convert, #mp4, #gif, #media, #questions, #command, #round, #message, #video