View unanswered posts | View active topics It is currently Sat May 18, 2013 6:23 pm



Reply to topic  [ 32 posts ]  Go to page: Previous  1, 2, 3
 Using variables in Python with DirectTV Plugin 
Author Message
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6642
Location: Austin, Texas
Post Re: Using variables in Python with DirectTV Plugin
Oh, and:

Thanks on the c.value; I'll try that, but I'm curious as to why it worked initially....


it was probably because at one point "c" was a string (therefore when you did c.value you got an error) but then it changed into an indigo.Variable object. Another thing that would probably be more obvious if you were more comfortable with Python.

_________________
Jay (Indigo Support)
Image


Mon Dec 19, 2011 12:10 pm
Profile WWW

Joined: Dec 13, 2009
Posts: 192
Location: Baltimore
Post Re: Using variables in Python with DirectTV Plugin
thanks. I did spend a lot of time working through the python docs over the weekend. The real problem with them is examples are very scarce and even though i have done a reasonable amount of programming (including Modula 3 upon which python is partially based) I found the docs very difficult to understand.

BTW, I had constructed my calls and script pretty much the way you suggested and only ended up with what you saw because it didn't work that way. I'll try this and work through and hopefully I'll learn python's eccentricities....


Mon Dec 19, 2011 12:34 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 32 posts ]  Go to page: Previous  1, 2, 3

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.