-
What is the name of the program that we use to run Python scripts?
python3
-
What permissions does an account need on a Python script to be
able to run it without typing the name of the Python interpreter
on the command line? I want the names of the permissions.
read and execute permission
-
What is the name of the special line we use to run a Python program
without directly calling the interpreter?
the hashbang line
-
Where must this special line appear?
the very first line of the script
-
What are the first two characters of this special line?
#!
-
What must follow these two characters? I don't want the actual value, I want you
to tell to describe what it is.
the absolute pathname of the Python interpreter
-
What is a record?
the complete set of data about some event or thing
-
What are the individual pieces of data in a record called?
fields
-
What type of loop do we use to read records?
a for
loop
-
What is the string method that can be used to remove the newline character at the
end of a line?
rstrip