[Qgis-user] custo module in python console

Luca Lanteri lklanteri at gmail.com
Wed Oct 7 02:47:12 PDT 2015


Hi,

I try to load a custom module in qgis python console but without success.
I don't understand what I miss.

I put my python module into project folder (file is named test.py)

the module contain a function like this;
def pr():
    print("hello")

when from Python console I've imported the module with "import test" I
didn' have any error and qgis find the module but I can't access to my
custom functions.

any hints ?
Thank in advance

Luca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20151007/2102db1a/attachment.html>


More information about the Qgis-user mailing list