Python - Modules and Code Organization
Which of the following is the correct way to add a new directory to Python's module search path at runtime?
sys.path is a list, so to add an item, we use append().append() is a valid list method; others like add_path or insert_path do not exist.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions