Web Analytics

Python file.tell() Method

File Method โ€ข Tell

The tell() method returns the current file position in a file stream.

Syntax

file.tell()

Parameters

No parameters.

Return Value

The current file position.

Example

Using the tell() method:

Output
Click Run to execute your code

Related Functions