those included modules would have to get compiled with the rest of the
code for it to work, right?
Bruce
-Original Message-
From: Chris Angelico
Sent: Saturday, July 09, 2011 10:10 PM
To: python-list@python.org
Subject: Re: Newbie help - Programming the Semantic Web with Python
On Sun, Jul
This didn't seem to work either. I was getting errors the number of
arguments expected being two, when I changed to
def add (self, args):
I seem to remember that if I removed the parentheses around sub, pred, obj,
it worked. I thought that was how it worked. What is strange is that this
is n
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.10 02:28 PM, Bruce Whealton wrote:
> If you know of any good resources for finding python applications on
> the web, this might be a good way to learn. I don't know if I
> should look for Python applications, or if I'll have more luck
n the
web, this might be a good way to learn. I don't know if I should look for
Python applications, or if I'll have more luck looking for Python Libraries.
Thanks,
Bruce
-Original Message-
From: Andrew Berg
Sent: Saturday, July 09, 2011 10:44 PM
To: comp.lang.python
Subje
On 2011.07.09 08:32 PM, Bruce Whealton wrote:
> Hello,
> So, I got this book on Programming the Semantic Web about
> the same time I started learning Python. The code seems to be
> developed for python 2.7 and not 3, I believe.
If you're going to learn Python 3, I suggest learning from
On Sun, Jul 10, 2011 at 11:32 AM, Bruce Whealton wrote:
problem with is this line:
> def add(self, (sub, pred, obj)):
> I think the problem is with the parentheses before the sub. I removed those
> and that seemed to fix that error or make it go away. I don’t remember how I
> figured that
Hello,
So, I got this book on Programming the Semantic Web about the same
time I started learning Python. The code seems to be developed for python 2.7
and not 3, I believe. The code is here:
http://semprog.com/content/the-book/
I tried to run simpletriple.py from inside eclipse wit