Q. What does import sys print(sys.path) output?

A
System name
B
List of paths
C
Module version
D
Error
Solution:

sys.path returns a list of directories where Python searches for modules.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!

    [honeypot honeypot-100]