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

Answers


the interpreter first searches for a built-in module

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


Need Your Help

return back the double value with 2 decimals place in Java program

java

How can i return back the double value with 2 decimals place in Java program?

pygtk: What class should my custom widgets inherit from?

python inheritance gtk pygtk

When making a custom widget in pygtk, what class should it inherit from? I want to be able to put the widget inside other widgets, but I don't want other people to put stuff in mine. Usually I make...