Page 1 of 1

Adding additional python modules to Eventghost?

Posted: Wed Mar 19, 2014 11:38 pm
by Navi
hey everybody -

I'm completely new to Python but I've managed to get really far with just general Googling and poking around Stackoverflow, I've looked up my question and haven't found a proper answer so I thought I'd register and ask it here...

Okay, how do you add a Python module to Eventghost?

See, I want to write some scripts that use this guy's Hulu library:
which in turn requires ANOTHER Python library called Requests:
and i have NO IDEA how to intergrate Requests into Eventghost's python!

How DO you do that?

Thanks!

Re: Adding additional python modules to Eventghost?

Posted: Thu Mar 20, 2014 4:46 am
by krambriw
and i have NO IDEA how to intergrate Requests into Eventghost's python!

How DO you do that?
Funny enough, this is described here, just very close in the same section in a neighbor thread

viewtopic.php?f=10&t=6073#p30258


Best regards, Walter

Re: Adding additional python modules to Eventghost?

Posted: Thu Apr 03, 2014 12:20 am
by Navi
Okay so to add additional python modules to Eventghost, you just put the scripts in
/lib26/site-packages
it seems they CAN'T be in a subdirectory, and the name used as import must be the name of the file (???)

i've gotten several modules (is that even the right term?) to work this way, but this screwy Hulu one isn't too happy.

I'm still looking into it, hopefully I'll figure it out

Re: Adding additional python modules to Eventghost?

Posted: Thu Feb 26, 2015 10:23 am
by Pakistan
Spam -> deleted.