Explain PYTHONPATH

Answer Posted / nashiinformaticssolutions

When you import a module, you use this environment variable. PYTHONPATH is examined when a module is imported to see whether the imported modules are located in different folders. It helps the interpreter decide which module to load.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to compare two lists in python?

522


List down some of the pdb commands for debugging python programs?

504


What are the 3 types of loops?

506


What is a numpy in python?

504


Explain the synbtax to split a string in python?

521






What is meant by instantiating a class?

498


What was your contribution to the above project?

530


What is PEP8?

606


When would you use a list vs. A tuple vs. A set in python?

560


What is repr() function in python?

541


Is python good for windows?

538


What is *args and **kwargs?

538


What is python __ repr __?

524


What are some common uses of Pickling in Python?

536


What is __ name __ in python?

510