How does one distribute Tkinter or Qt GUI apps Developed in Python

2015-12-16 Thread Bruce Whealton
I watched one training video that discussed Python and Tkinter. Like many similar tutorials from online training sites, I was left scratching my head. What seems to be blatantly missing is how this would be distributed. In the first mentioned tutorial from Lynda.com the Tkinter app was related

Re: Prob. Code Downloaded for Programming the Semantic Web (python code)

2014-07-28 Thread Bruce Whealton
On Monday, July 28, 2014 11:28:40 AM UTC-4, Steven D'Aprano wrote: > On Mon, 28 Jul 2014 03:39:48 -0700, Bruce Whealton wrote: Stephen, I went to my Ubuntu box inside vmware and added a #!/usr/bin/env python2.7 to the top. Then I made the file executable and it ran the code p

Re: Prob. Code Downloaded for Programming the Semantic Web (python code)

2014-07-28 Thread Bruce Whealton
On Friday, July 25, 2014 11:25:15 PM UTC-4, Chris Angelico wrote: > On Sat, Jul 26, 2014 at 10:06 AM, Bruce Whealton > Chris, In response to your comments below, I'm comfortable changing this to use python 3. > As others have said, this is something that changed in Python 3.

Re: Prob. Code Downloaded for Programming the Semantic Web (python code)

2014-07-28 Thread Bruce Whealton
On Friday, July 25, 2014 9:28:32 PM UTC-4, Steven D'Aprano wrote: > On Fri, 25 Jul 2014 17:06:17 -0700, Bruce Whealton wrote: Steven, See below please. The explanation did help. > > > OK, Eclipse with PyDev doesn't like this first line, with the function: > > >

Prob. Code Downloaded for Programming the Semantic Web (python code)

2014-07-25 Thread Bruce Whealton
Hello all, I downloaded some code accompanying the book "Programming the Semantic Web." This question is not Semantic Web related and I doubt that one needs to know anything about the Semantic Web to help me with this. It's the first code sample in the book, I'm embarrassed to say. I

Strange Error with pip install.

2014-07-25 Thread Bruce Whealton
Hello, I am using Windows 8.1 (I do have a linux box setup with virtualbox also) and I've used python previously but now it is giving me problems whenever I try to install anything from PyPI using pip. The error I get from the command line is "Cannot fetch index base URL http://pypi.pyth

Re: Newbie help - Programming the Semantic Web with Python

2011-07-16 Thread Bruce Whealton
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 out, It should

Re: Newbie help - Programming the Semantic Web with Python

2011-07-11 Thread Bruce Whealton
I'll paste a link to where the code exists. Could someone help me figure it out please. The code is here on the site: http://semprog.com/content/the-book/ I wonder if I can also try it out from the IDLE interactive session. Thanks, Bruce On Sun, Jul 10, 2011 at 11:32 AM, Bruce Whealton

Re: Newbie help - Programming the Semantic Web with Python

2011-07-10 Thread Bruce Whealton
ct: Re: Newbie help - Programming the Semantic Web with Python 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 yo

Newbie help - Programming the Semantic Web with Python

2011-07-09 Thread Bruce Whealton
ks, Bruce ++++++ Bruce Whealton, Owner Future Wave Designs FOAF: http://whealton.info/BruceWhealtonJr/foaf.rdf Vcard: http://whealton.info/BruceWhealtonJr/brucewhealtonvcard.html Web Design and Development http://FutureWaveDesigns.com http://futurewavedesigns.com/

Clarification of notation

2010-09-29 Thread Bruce Whealton
Hello all, I recently started learning python. I am a bit thrown by a certain notation that I see. I was watching a training course on lynda.com and this notation was not presented. For lists, when would you use what appears to be nested lists, like: [[], [], []] a list of lists? W