• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/24

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

24 Cards in this Set

  • Front
  • Back

print

prints to the console

%r %s %d

formatters

% (a,b)

format sequence

\n

new line

\t

tabbed line

\

escape sequence

"""




"""

multi-line string

raw_input()

asks user input




a.k.a. prompting

from sys

from the system

import argv

importing 'argv' module that accepts additional arguments

python ex1.py

argument for executing

script, x, y, z = argv

unpacking arguments

open(x)

opens file in read

open(x,w)

opens file in write mode

.read()

reads file

.write()

write to the file

.close()

closes file

len()

length of string or variable

exists()

checks existence

def

defines function

function(x,y):

function

.seek(x)

seeks x bit of doc

.readline()

reads line

return

stores value in function