File Tell
# Python2.x Python File tell() Method
[ Python File Methods](#)
* * *
### Overview
The **tell()** method returns the current position of the file, i.e., the current position of the file pointer.
### Syntax
The syntax of the tell() method is as follows:
fileObject.tell()
### Parameters
* **None**
### Return Value
Returns the current position of the file.
### Example
The following example demonstrates the use of the tell() method:
The content of the file .txt is as follows:
1:www..com 2:www..com 3:www..com 4:www..com 5:www..com
Loop to read the contents of the file:
#!/usr/bin/python# -*- coding: UTF-8 -*-# Open file fo = open(".txt",
YouTip