Where are store Domoticz and DomoticzEvents librairies

Python and python framework

Moderator: leecollings

Post Reply
YellowSky
Posts: 65
Joined: Tuesday 12 May 2015 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version: Last
Location: Belgium
Contact:

Where are store Domoticz and DomoticzEvents librairies

Post by YellowSky »

Hi,
i would like to know where are the DomoticzEvents and Domoticz librairies which are used when some python script or plugin are launched.
The objective is to understand the code besides.
Thank you
User avatar
Dnpwwo
Posts: 820
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Where are store Domoticz and DomoticzEvents librairies

Post by Dnpwwo »

@YellowSky,

The libraries are implemented within Domoticz itself so you would need to read the C++ on github.

cheers,

Dnpwwo
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
YellowSky
Posts: 65
Joined: Tuesday 12 May 2015 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version: Last
Location: Belgium
Contact:

Re: Where are store Domoticz and DomoticzEvents librairies

Post by YellowSky »

Thank you for the answer.
But i don't understand why in a python script we use

Code: Select all

import Domoticz
Normally it doesn't fit a regular librairy (a file .py)?

Thank you
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest