Python Commands Flashcards
\f
ASCII Formfeed (FF)
+=
add what’s to the right, then set equal to what’s on the left
\b
ASCII Backspace (BS)
raw_input()
accepts input from the user
open()
opens a particular file, making the data it contains accessible to work with (must be assigned to a variable)
%r
formatter used for debugging
seek()
allows you to jump to a certain area within a file
>=
greater than or equal
%d
formatter that indicates a decimal number
\Uxxxxxxxx
Character with 32 bit hex value xxxxxxxx (unicode only)
\
slash character
*
asterisk
read()
can take an opened file and interpret the text it contains, which can then be printed
sys
a library built into python
\uxxxx
Character with 16 bit hex value xxxx (unicode only)
\a
ASCII Bell (BEL)
\N
character named in the unicode database (unicode only)
<
less than
+
plus