Level 86 Level 88
Level 87

Files


18 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
print("string")
Printing to the Screen
input()
reads data from keyboard as string
open(file, 'r')
Opens a file for Reading only
open(file, 'rb')
Opens a file for Reading only in Binary format
open(file, 'r+')
Opens a file for both Reading and writing
open(file, 'rb+')
Opens a file for both Reading and writing in Binary format
open(file, 'w')
Opens a file for Writing only
open(file, 'wb')
Opens a file for Writing only in Binary format
open(file, 'w+')
Opens a file for both Writing and Reading
open(file, 'wb+')
Opens a file for both Writing and Reading in Binary format
open(file, 'a')
Opens a file for Appending
open(file, 'ab')
Opens a file for Appending in Binary format
open(file, 'a+')
Opens a file for both Appending and Reading
open(file, 'ab+')
Opens a file for both Appending and reading in Binary format
file_object.closed
Returns true if file is closed, false otherwise.
file_object.mode
Returns access mode with which file was opened.
file_object.name
Returns name of the file.
file_object ...
... is returned by open(filename, mode)