Веб-версияОткрыть в Telegram

ПостThe tell() function in Python 🐍

27 сентября 2026
P
Python Learning
Фотография
нажмите — покажем
The tell() function in Python 🐍 The tell() function returns the current position of the file pointer within the data stream. It is most often used when working with files. 📂 The function does not accept any arguments and returns an integer - the position in bytes from the beginning of the stream. 🔢 with open("file.txt", "rb") as f: print(f.tell())
3 · 293 ·

Рядом в ленте

PPython Learning⚡️ Python’s 1-Line Speed Booster: @lru_cache 👉 Did you know you can make slow Python functions run up to 100x faster by adding a single line of code? Most tutorPPython Learning25 Github Repositories Every Python Developer Should Know 1. Python The official repository of Python's source code. Dive into it to explore Python's internals
это сообщение
PPython LearningPYTHON SKILL ROADMAP │ ├── 📁 Python Basics │ ├── 📁 Variables & Data Types │ ├── 📁 Input & Output │ ├── 📁 Operators │ ├── 📁 Conditional Statements │ └── 📁 Loops PPython Learning🧠 return vs print() in Python These are not interchangeable. def add(a, b): print(a + b) Calling: result = add(2, 3) prints: 5 But: result is actually: None Now

Открытая публичная лента из поискового индекса ChatCrawler — «Google по публичному Telegram»; обновляется по мере обхода площадки. Время — UTC.

Только публичный контент, официальный API Telegram. О проекте · Вопросы · Чего мы не делаем · Убрать страницу из выдачи · Каталог · Поиск · Как мы считаем