Posts: 6
Joined: Mar 2016
Reputation:
0
So I've been learning python for a couple months now. And I'd like to learn how to write addons. There's lots of good tutorials out there, so that's not my issue.
My issue is importing the modules. ie: import xbmc. Usually I'd just install it with pip, but that of course doesn't work.
What am I missing here?
Posts: 445
Joined: Sep 2015
Reputation:
1
2016-03-15, 12:44
(This post was last modified: 2016-03-15, 12:47 by Torben.)
Hi. I too recently started with this. I just copied an existing addon and hack away in notepad.. Whatis important is the matching addon.xml file that tells kodi how to use your scriot.
Have a look in the addon folder for lots of scripts and examples. And in the wiki.
Posts: 6
Joined: Mar 2016
Reputation:
0
Ok, so writing scripts thru an IDE (I use PyCharm), you just have to deal with it showing errors then?
Also, what about debugging then? How do you step thru code to help find any errors?
And thanks for the answers, very helpful.