Web
Opt
tools
File Read Operations
File Source
Enter File URL
Or Upload Local File
Read Mode
Text Mode ('r')
Binary Mode ('rb')
Path Type
Relative Path
Absolute Path
Run VisualiZation
Console Output
>
File Read Operation
No file selected
Read Operation:
Reading File
Mode: '' (binary)
File Content:
No content available
File Properties:
Size:
Unknown
Path Type:
Not specified
Source:
Not specified
Path Information:
Path Type:
Not specified
File Source:
Not specified
File Name:
No file selected
Method Explanation:
The read() method is used to read the content of a file.
The mode parameter specifies the mode in which the file is opened.
The path parameter specifies the path of the file to be read.