Please enable JavaScript to use CodeHS

CodeHS Glossary


read() Python

A method used to read the contents of a file. It reads the entire file or a specified number of characters and returns them as a string.