[Tutor] buggy bug in my program

2006-06-11 Thread Kermit Rose
# def insertw(j1,k,w1,w2,jar,limit): #trace = 1 #if k == 0: #jar[k][0] = k #jar[k][1] = w1 #jar[k][2] = w2 #return #if j1 k: #jar[j1][0] = k #jar[j1][1] = w1 #jar[j1][2] = w2 #return # #for j2 in

Re: [Tutor] Expletive Deleted

2006-06-11 Thread Alan Gauld
I think XML is a tool that allows non-programmers to look at structured data and have it a in human readable form that gives us a chance of understanding that structure. Thats not a great reason to choose a file format IMHO. Tools can be written to display data in a readable format. For

Re: [Tutor] problems with python and glade

2006-06-11 Thread Alan Gauld
Can you send the complete error trace. The line you have copied looks like it is from inside GTk somewhere, we need the stack trace to see where it originates in your code. But I'm no GTk expert so I probably can't help anyway! :-) Alan G. - Original Message - From: Alfonso [EMAIL

Re: [Tutor] buggy bug in my program

2006-06-11 Thread Kent Johnson
Kermit Rose wrote: # def insertw(j1,k,w1,w2,jar,limit): #trace = 1 #if k == 0: #jar[k][0] = k #jar[k][1] = w1 #jar[k][2] = w2 #return #if j1 k: #jar[j1][0] = k #jar[j1][1] = w1 #jar[j1][2] = w2 #return #

[Tutor] connect to a remote machine - Linux

2006-06-11 Thread Patricia
Hi All, I need to connect to a remote computer on the same network to store data into its mysql database, and I need to do this using python script. Although I've used mysql and python before, I have no idea how to access a remote computer with Python. Also, I would have to enter a passphrase

Re: [Tutor] connect to a remote machine - Linux

2006-06-11 Thread Michael Sullivan
On Sun, 2006-06-11 at 15:19 +, Patricia wrote: Hi All, I need to connect to a remote computer on the same network to store data into its mysql database, and I need to do this using python script. Although I've used mysql and python before, I have no idea how to access a remote

Re: [Tutor] connect to a remote machine - Linux

2006-06-11 Thread Python
On Sun, 2006-06-11 at 15:19 +, Patricia wrote: Hi All, I need to connect to a remote computer on the same network to store data into its mysql database, and I need to do this using python script. Although I've used mysql and python before, I have no idea how to access a remote

Re: [Tutor] connect to a remote machine - Linux

2006-06-11 Thread Roy Mac
Try looking at PyDO - This provides an interface between Python and your database. This allows you to change your database at a later time and not have to change any Python. The excerpt below is from: http://skunkweb.sourceforge.net/PyDO2/api/html/public/pydo-module.html PyDO (Python Data

Re: [Tutor] connect to a remote machine - Linux

2006-06-11 Thread Patricia G.
I'm sorry. I think I didn't explain myself well. My problem is not with the database.. The part I'm not sure how to do is connect to the remote computer..I read somewhere that os.popen would work, but I'm not sure if that willdo for me because I have to enter a passphrase and password to connect

Re: [Tutor] connect to a remote machine - Linux

2006-06-11 Thread Python
(back on list) On Sun, 2006-06-11 at 18:59 -0400, Patricia G. wrote: I'm sorry. I think I didn't explain myself well. My problem is not with the database.. The part I'm not sure how to do is connect to the remote computer.. MySQL will accept connections from other computers. It listens on

Re: [Tutor] combo box

2006-06-11 Thread kakada
Michael Lange wrote: On Tue, 06 Jun 2006 13:39:21 +0700 kakada [EMAIL PROTECTED] wrote: Dear Friends, I am now working on GUI python (Tkinter). I want to use combobox as my widget, but I cannot find it in any document. Does anybody have experience with that? There is no

[Tutor] icon on windows manager

2006-06-11 Thread kakada
Hi everyone! Does any body know how to put icon on windows manager using Tix module? Thanks, da ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] assignment statements in python

2006-06-11 Thread Kermit Rose
Message: 1 Date: Sun, 11 Jun 2006 06:58:39 -0400 From: Kent Johnson [EMAIL PROTECTED] Subject: Re: [Tutor] buggy bug in my program Cc: tutor@python.org Assignment in Python is not a copy, it is a name binding. Assignment creates a name for an object. If you assign the same object to two

Re: [Tutor] assignment statements in python

2006-06-11 Thread Python
On Sun, 2006-06-11 at 22:14 -0400, Kermit Rose wrote: Message: 1 Date: Sun, 11 Jun 2006 06:58:39 -0400 From: Kent Johnson [EMAIL PROTECTED] Subject: Re: [Tutor] buggy bug in my program Cc: tutor@python.org Assignment in Python is not a copy, it is a name binding. Assignment creates a

Re: [Tutor] connect to a remote machine - Linux

2006-06-11 Thread Danny Yoo
I'm sorry. I think I didn't explain myself well. My problem is not with the database.. The part I'm not sure how to do is connect to the remote computer.. Hi Patricia, There's some confusion here. Let's get that out in the open. It sounds like you have a remote server. That server

[Tutor] please remove this address from list: [EMAIL PROTECTED]

2006-06-11 Thread graphic design
not sure how i got on this list. please remove my email address from it. thank you. [EMAIL PROTECTED] ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor