Re: [Tutor] Tutor Digest, Vol 49, Issue 78

2008-03-26 Thread Tony Cappellini
>>Draft notes for the next Kent's Korner presentation are available at >>http://personalpages.tds.net/~kent37/kk/00010.html >>Comments welcome. I vote Kent move out of the korner and into the front of the classroom! Nice color scheme, easy to look at, good layout, font, size, and small chunks (pa

[Tutor] SOAPpy and ZSI

2008-03-26 Thread Dan Thomas-Paquin
Hi, I've been tasked with setting up a basic SOAP client and I'm its been the most frustrating python experience. Here's the code: from LoginService_services import * import sys from SOAPpy import SOAPProxy # get a port proxy instance loc = LoginServiceLocator() port = loc.getLogin(in0='pbs_uen',

Re: [Tutor] Problem with logic while extracting data from binary file

2008-03-26 Thread bob gailer
Please always reply to the list not just me. Bryan Fodness wrote: > > Thanks Bob, > > I was having trouble with that loop from the start. Could you tell me > what a=3 is doing, I cannot seem to figure it out. I accidentally left that in. It was a place for me to set a breakpoint in the debugg

Re: [Tutor] Library for Disk Usage (UNIX)

2008-03-26 Thread Chris Fuller
On Wednesday 26 March 2008 09:11, Tom Tucker wrote: > Hello all. I'm looking for a builtin Python library capable of providing > similar output to what the unix df command provides. Obviously, I'm trying > to avoid a system call if possible. I'm looking for the following fields > at a mimimum, to

[Tutor] Library for Disk Usage (UNIX)

2008-03-26 Thread Tom Tucker
Hello all. I'm looking for a builtin Python library capable of providing similar output to what the unix df command provides. Obviously, I'm trying to avoid a system call if possible. I'm looking for the following fields at a mimimum, total size, used, and /path. Suggestions? I was looking at os

Re: [Tutor] Table like array in Python

2008-03-26 Thread Roel Schroeven
Gloom Demon schreef: > Hello :-) > > I am reading Ivan van Leiningem "Learn Python in 24 hours" and I am > having problems understanding the way arrays work in Python. I used to > know Pascal and arrays there were tablelike. > > Example (cost of something in different countries by different yea

Re: [Tutor] Table like array in Python

2008-03-26 Thread Kent Johnson
Gloom Demon wrote: > Example (cost of something in different countries by different years) > > Record1 US 2006 22.10 > Record2 US 2007 23.45 > Record3 UK 2007 22.90 > .. > RecordN > > So I could read the record, see if the name of the country

Re: [Tutor] Table like array in Python

2008-03-26 Thread Michael Connors
On 26/03/2008, Gloom Demon <[EMAIL PROTECTED]> wrote: > > Hello :-) > > Example (cost of something in different countries by different years) > > Record1 US 2006 22.10 > Record2 US 2007 23.45 > Record3 UK 2007 22.90 > .. >

[Tutor] Table like array in Python

2008-03-26 Thread Gloom Demon
Hello :-) I am reading Ivan van Leiningem "Learn Python in 24 hours" and I am having problems understanding the way arrays work in Python. I used to know Pascal and arrays there were tablelike. Example (cost of something in different countries by different years) Record1 US 2006 22.10 Record2 US