Python Vocabulary - Reverse Flashcards
1
Q
closes and saves the file
A
close()
2
Q
a library built into python
A
os.path
3
Q
greater than or equal
A
>=
3
Q
indicates a multi-line quote
A
”””
3
Q
imports certain commands from python libraries
A
from [library] import [argument]
4
Q
a command within os.path that determines whether a file exists or not
A
exists
5
Q
a library built into python
A
sys
6
Q
tab character
A
\t
6
Q
Character with 16 bit hex value xxxx (unicode only)
A
\uxxxx
6
Q
Character with octal value ooo
A
\ooo
7
Q
formatter that indicates a decimal number
A
%d
8
Q
plus
A
+
9
Q
ASCII Backspace (BS)
A
\b
10
Q
single quote
A
'
11
Q
slash
A
/
12
Q
add what’s to the right, then set equal to what’s on the left
A
+=
13
Q
double quote
A
"
13
Q
writes text to an open file
A
write()
15
Q
surrounds a string or line of text
A
” or ‘