Questions
Answer the following questions to test your knowledge of this chapter:
- How are Python modules brought in to be used in your code?
- How does the use of
socketrisk affect the portability of your script? - It’s impossible to run a Python script without
#!/usr/bin/python3as the first line of code. (True | False) - What are two ways you could stop a
while Trueloop? - PyInstaller can be run on any platform to generate Windows EXEs. (True | False)
- In Python 3,
threadbecame _________. - An ARP attack will fail completely without defining the
restore()function. (True | False)