[Tutor] Creating class instances through iteration

2010-04-15 Thread Tim Goddard
I came across a situation where what I thought I wanted to do was to create a class that was spawned from data in a .csv file. Where column 1 was the name I wanted to use for each instance. I had it all figured out and working except for how to write a statement where the left hand side could be

Re: [Tutor] Hooray! I finished the 'Learning Python for > absolutebeginners'

2010-01-10 Thread Tim Goddard
"Alan Gauld" wrote: > I assume you have already installed the PyDev plugin? > > I'm currently reading a book on Eclipse (Eclipse Distilled) which has > turned up many settings and tricks that I was unaware of. It is a > powerful tool but like all such it takes a lot of learing to get the most >

[Tutor] Hooray! I finished the 'Learning Python for absolute beginners'

2010-01-09 Thread Tim Goddard
Ok, it's not a big deal, but once I learned enough I went off on a few tangents to create programs of my own design. Since I had to return the book to the public library, I finally got back to finishing the last chapter. Since the book is not current, I took the time to decipher the differences a

[Tutor] Sound problems

2009-12-09 Thread Tim Goddard
I'm still learning, and this may be better served on a pygame mailing list but I thought I'd try here first. I'm following the python programming for absolute beginners which uses livewires and pygame to do some simple games. My difficulty comes from not using the module versions used in the book

Re: [Tutor] What books do you recommend?

2009-12-09 Thread Tim Goddard
I just finished Michael Dawson's Python Programming for the absolute beginner. I thought it was pretty good, with only a few minor nit picks. My programming background was limited to MATLAB and some Visual Basic scripting for excel, access etc making me the target audience. I liked the examples,

Re: [Tutor] Question : Creating cribbage game

2009-12-07 Thread Tim Goddard
> Message: 2 > Date: Mon, 7 Dec 2009 02:30:30 -0400 > From: Christopher schueler > To: > Subject: [Tutor] Question : Creating cribbage game > Message-ID: > Content-Type: text/plain; charset="iso-8859-1" > > > My name is Chris Schueler and i am having some troubles with my Python > programming >

Re: [Tutor] Python equivalent to Matlab keyboard function

2009-12-04 Thread Tim Goddard
> > Message: 6 > Date: Fri, 4 Dec 2009 11:57:45 -0500 > From: Kent Johnson > To: Tim Goddard > Cc: tutor@python.org > Subject: Re: [Tutor] Python equivalent to Matlab keyboard function > Message-ID: >        <1c2a2c590912040857nacae64jcd9feab87af58...@mail.gmail.c

[Tutor] Python equivalent to Matlab keyboard function

2009-12-04 Thread Tim Goddard
This is probably an easy one. When I was writing Matlab m-files, I really enjoyed the ability to stop the code to check how values were being stored or to 'step' into a function with the keyboard function. I have numerous 'environments'? as part of Python (x,y) including IDLE, Eclipse, and Spyder

Re: [Tutor] Difficulty with csv files - line breaks

2009-11-25 Thread Tim Goddard
> Date: Tue, 24 Nov 2009 15:01:38 -0800 > From: Albert Sweigart > To: tutor@python.org > Subject: Re: [Tutor] Difficulty with csv files - line breaks > Message-ID: >        <716dd5b60911241501y57db5c62r358b1a9859a3a...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Tim, > > I'v

[Tutor] Difficulty with csv files - line breaks

2009-11-24 Thread Tim Goddard
What I'm trying to do is store a bunch of information into a .csv file. Each row will contain a date, webpage, etc of a job application. My difficulty is that it seems something I am doing is not recording the line breaks. I've read that \r\n are default in the csv module but so far I can not se