Once again down that hole

Posted on
Fri Jun 28, 2019 8:39 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Once again down that hole

The first is correct. You don't put quotes around the name of a variable.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Jun 28, 2019 8:43 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Once again down that hole

Different Computers wrote:
And it seems faster than using wget. I was able to reduce the wait states, and even went ahead and changed all the other cameras over to use this new code.


It's almost always faster to do things using Python directly than spawning separate processes (using popen or whatever). Starting up and shutting down a process is time intensive, and there's rarely a reason to do it when using Python as you can do almost anything directly from Python.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Who is online

Users browsing this forum: No registered users and 2 guests