879 views

1 Answer

0 0 votes
lt is an environment variable which is used when a module is imported. Whenever a module is imported, PYTHONPATH is also looked up to check for the presence of the imported modules in various directories. The interpreter uses it to determine which module to load.

Related questions

1 1 vote
1 1 answer
983
983 views
askpython asked Jul 9, 2019
983 views
1 1 vote
1 1 answer
981
981 views
1 1 vote
1 1 answer
891
891 views
askpython asked Jul 9, 2019
891 views
0 0 votes
1 1 answer
966
966 views
1 1 vote
1 1 answer
1.0k
1.0k views