The benefit of Program Planing
Give this one a try later!
Minimizes Risk pertaining to Budget, Technical, and Schedule
What is the type of code that takes in programming language and creates a new
document in machine language?
Give this one a try later!
Compiled
text_file.close()
,Give this one a try later!
closes the text file using the file object
examples of functions
Give this one a try later!
print, input, len, range
File Objects
Give this one a try later!
Variable that deals with a file or a "handle" to he file
bob = ["cow", "pig", "turtle"]
steve = bob
What does this mean and what is the problem when you want to only change steve or
bob?
Give this one a try later!
The list steve contains the same sequence as bob. If you want to change
only bob or steve, you cant because they reference the same location.
,What File I/O do
Give this one a try later!
Read and writes data to files in a program
Integer
Give this one a try later!
A whole number
How can you read and write objects from a file?
Give this one a try later!
One character at a time
One line at a time
The entire thing
What number does indexing start at
Give this one a try later!
0
, x += x
Give this one a try later!
Sentry Variable - it changes
text_file.write("Write \n")
Give this one a try later!
writes write to a file and a newline
Text file advantage
Give this one a try later!
Can be read and manipulated by an text editor and can store complex
information such as a list or dictionary
How do you share lists without having a shared reference?
Give this one a try later!
slice notation [:] example
steve = bob [:]
Give this one a try later!
Minimizes Risk pertaining to Budget, Technical, and Schedule
What is the type of code that takes in programming language and creates a new
document in machine language?
Give this one a try later!
Compiled
text_file.close()
,Give this one a try later!
closes the text file using the file object
examples of functions
Give this one a try later!
print, input, len, range
File Objects
Give this one a try later!
Variable that deals with a file or a "handle" to he file
bob = ["cow", "pig", "turtle"]
steve = bob
What does this mean and what is the problem when you want to only change steve or
bob?
Give this one a try later!
The list steve contains the same sequence as bob. If you want to change
only bob or steve, you cant because they reference the same location.
,What File I/O do
Give this one a try later!
Read and writes data to files in a program
Integer
Give this one a try later!
A whole number
How can you read and write objects from a file?
Give this one a try later!
One character at a time
One line at a time
The entire thing
What number does indexing start at
Give this one a try later!
0
, x += x
Give this one a try later!
Sentry Variable - it changes
text_file.write("Write \n")
Give this one a try later!
writes write to a file and a newline
Text file advantage
Give this one a try later!
Can be read and manipulated by an text editor and can store complex
information such as a list or dictionary
How do you share lists without having a shared reference?
Give this one a try later!
slice notation [:] example
steve = bob [:]