Python 3 or Python 2
#1
Simple question,

i want to write a plugin for xbmc. im learning using this guide on the wiki.

I started developing using Python 3.1.2, but apparently the urllib2 library (mentioned in the guide) has since been merged with urllib in Python 3, which complicates things for someone like me just starting out with Python.

So what version Python engine do the XBMC Dharma builds use? Python 2 or 3?

Also, which exact Python is it using (x.x.x) in Dharma


I appreciate that the Python 2to3 tool exists for converting Python 2 to Python 3
Reply
#2
xbmc use v2.4. And the guide is for this version, so you shouldn't be developing for python 3 in the first place
Reply
#3
thanks ventech
Reply

Logout Mark Read Team Forum Stats Members Help
Python 3 or Python 20