Ajay Chopra
Ajay Chopra

Reputation: 39

Module in Python

Command :Import setuptools .

Where python will going to search the setuptools ?

Like command : Import ryu.hooks

In this case it will search the ryu folder then import the code into the script which is calling it .

-Ajay

Upvotes: 1

Views: 56

Answers (1)

Paul
Paul

Reputation: 863

the interpreter first searches for a built-in module

https://docs.python.org/2/tutorial/modules.html#the-module-search-path

Upvotes: 3

Related Questions